From 012f9dbd22ecc66d631a469406100ed90ee80f53 Mon Sep 17 00:00:00 2001 From: Sarantis Paskalis Date: Mon, 26 Aug 2002 11:18:24 +0000 Subject: [PATCH] Fix typo. --- privoxy.1 | 2 +- src/miscutil.c | 9 ++++++--- src/pcrs.c | 17 ++++++++++------- 3 files changed, 17 insertions(+), 11 deletions(-) diff --git a/privoxy.1 b/privoxy.1 index 19cc5e26..d324c066 100644 --- a/privoxy.1 +++ b/privoxy.1 @@ -31,7 +31,7 @@ leader, don't detach from controlling tty, and do all logging there. \fB--pidfile \fIpidfile\fB\fR On startup, write the process ID to \fIpidfile\fR. Delete the \fIpidfile\fR on exit. -Failiure to create or delete the \fIpidfile\fR +Failure to create or delete the \fIpidfile\fR is non-fatal. If no \fB--pidfile\fR option is given, no PID file will be used. .TP \fB--user \fIuser[.group]\fB\fR diff --git a/src/miscutil.c b/src/miscutil.c index 483f168a..cdf88350 100644 --- a/src/miscutil.c +++ b/src/miscutil.c @@ -1,4 +1,4 @@ -const char miscutil_rcs[] = "$Id: miscutil.c,v 2.0 2002/06/04 14:34:21 jongfoster Exp $"; +const char miscutil_rcs[] = "$Id: miscutil.c,v 2.1 2002/06/04 17:22:37 jongfoster Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/src/miscutil.c,v $ @@ -36,6 +36,9 @@ const char miscutil_rcs[] = "$Id: miscutil.c,v 2.0 2002/06/04 14:34:21 jongfoste * * Revisions : * $Log: miscutil.c,v $ + * Revision 2.1 2002/06/04 17:22:37 jongfoster + * Adding comments + * * Revision 2.0 2002/06/04 14:34:21 jongfoster * Moving source files to src/ * @@ -820,7 +823,7 @@ int simplematch(char *pattern, char *text) } else { - /* In wildcard mode, just try again after failiure */ + /* In wildcard mode, just try again after failure */ if(wildcard) { pat = fallback; @@ -855,7 +858,7 @@ int simplematch(char *pattern, char *text) * 1 : string = string to be duplicated * 2 : len = number of bytes to duplicate * - * Returns : pointer to copy, or NULL if failiure + * Returns : pointer to copy, or NULL if failure * *********************************************************************/ char *bindup(const char *string, size_t len) diff --git a/src/pcrs.c b/src/pcrs.c index eb3b6771..d61c61de 100644 --- a/src/pcrs.c +++ b/src/pcrs.c @@ -1,8 +1,8 @@ -const char pcrs_rcs[] = "$Id: pcrs.c,v 1.19 2002/03/08 14:47:48 oes Exp $"; +const char pcrs_rcs[] = "$Id: pcrs.c,v 2.0 2002/06/04 14:34:21 jongfoster Exp $"; /********************************************************************* * - * File : $Source: /cvsroot/ijbswa/current/pcrs.c,v $ + * File : $Source: /cvsroot/ijbswa/current/src/pcrs.c,v $ * * Purpose : pcrs is a supplement to the pcre library by Philip Hazel * and adds Perl-style substitution. That @@ -33,6 +33,9 @@ const char pcrs_rcs[] = "$Id: pcrs.c,v 1.19 2002/03/08 14:47:48 oes Exp $"; * * Revisions : * $Log: pcrs.c,v $ + * Revision 2.0 2002/06/04 14:34:21 jongfoster + * Moving source files to src/ + * * Revision 1.19 2002/03/08 14:47:48 oes * Cosmetics * @@ -716,8 +719,8 @@ pcrs_job *pcrs_compile(const char *pattern, const char *substitute, const char * * * Returns : On success, the number of substitutions that were made. * May be > 1 if job->flags contained PCRS_GLOBAL - * On failiure, the (negative) pcre error code describing the - * failiure, which may be translated to text using pcrs_strerror(). + * On failure, the (negative) pcre error code describing the + * failure, which may be translated to text using pcrs_strerror(). * *********************************************************************/ int pcrs_execute_list(pcrs_job *joblist, char *subject, size_t subject_length, char **result, size_t *result_length) @@ -773,8 +776,8 @@ int pcrs_execute_list(pcrs_job *joblist, char *subject, size_t subject_length, c * * Returns : On success, the number of substitutions that were made. * May be > 1 if job->flags contained PCRS_GLOBAL - * On failiure, the (negative) pcre error code describing the - * failiure, which may be translated to text using pcrs_strerror(). + * On failure, the (negative) pcre error code describing the + * failure, which may be translated to text using pcrs_strerror(). * *********************************************************************/ int pcrs_execute(pcrs_job *job, char *subject, size_t subject_length, char **result, size_t *result_length) @@ -868,7 +871,7 @@ int pcrs_execute(pcrs_job *job, char *subject, size_t subject_length, char **res else offset = offsets[1]; } - /* Pass pcre error through if (bad) failiure */ + /* Pass pcre error through if (bad) failure */ if (submatches < PCRE_ERROR_NOMATCH) { free(matches); -- 2.39.2