From: Fabian Keil Date: Sun, 5 Aug 2007 13:47:04 +0000 (+0000) Subject: #1763173 from Stefan Huehner: s@const static@static const@. X-Git-Tag: v_3_0_7~185 X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=commitdiff_plain;h=6730d8417795814a993e134a530ffddf3e83c099 #1763173 from Stefan Huehner: s@const static@static const@. --- diff --git a/cgiedit.c b/cgiedit.c index bbc646e5..54d2b3fc 100644 --- a/cgiedit.c +++ b/cgiedit.c @@ -1,4 +1,4 @@ -const char cgiedit_rcs[] = "$Id: cgiedit.c,v 1.54 2007/05/14 10:33:51 fabiankeil Exp $"; +const char cgiedit_rcs[] = "$Id: cgiedit.c,v 1.55 2007/05/31 11:50:20 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/cgiedit.c,v $ @@ -42,6 +42,15 @@ const char cgiedit_rcs[] = "$Id: cgiedit.c,v 1.54 2007/05/14 10:33:51 fabiankeil * * Revisions : * $Log: cgiedit.c,v $ + * Revision 1.55 2007/05/31 11:50:20 fabiankeil + * Re-enable support for old-school URLs like + * http://config.privoxy.org/edit-actions-list?f=default + * in the action editor. + * + * They are no longer used by the CGI pages, but make it easier + * to reach the editor directly, without knowing the requested + * file's index in csp->config->actions_file[]. + * * Revision 1.54 2007/05/14 10:33:51 fabiankeil * - Use strlcpy() and strlcat() instead of strcpy() and strcat(). * @@ -524,7 +533,7 @@ struct filter_type_info }; /* Accessed by index, keep the order in the way the FT_ macros are defined. */ -const static struct filter_type_info filter_type_info[] = +static const struct filter_type_info filter_type_info[] = { { ACTION_MULTI_FILTER, diff --git a/pcrs.c b/pcrs.c index 301c7c22..197b33c9 100644 --- a/pcrs.c +++ b/pcrs.c @@ -1,4 +1,4 @@ -const char pcrs_rcs[] = "$Id: pcrs.c,v 1.25 2007/04/30 15:02:18 fabiankeil Exp $"; +const char pcrs_rcs[] = "$Id: pcrs.c,v 1.26 2007/07/01 13:29:54 fabiankeil Exp $"; /********************************************************************* * @@ -38,6 +38,10 @@ const char pcrs_rcs[] = "$Id: pcrs.c,v 1.25 2007/04/30 15:02:18 fabiankeil Exp $ * * Revisions : * $Log: pcrs.c,v $ + * Revision 1.26 2007/07/01 13:29:54 fabiankeil + * Add limited hex notation support for the PCRS + * substitution text ('\x7e' = '~'). Closes #1627140. + * * Revision 1.25 2007/04/30 15:02:18 fabiankeil * Introduce dynamic pcrs jobs that can resolve variables. * @@ -1232,7 +1236,7 @@ char *pcrs_execute_single_command(const char *subject, const char *pcrs_command, } -const static char warning[] = "... [too long, truncated]"; +static const char warning[] = "... [too long, truncated]"; /********************************************************************* * * Function : pcrs_compile_dynamic_command