projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
aefee06
)
#1763173 from Stefan Huehner: s@const static@static const@.
author
Fabian Keil
<fk@fabiankeil.de>
Sun, 5 Aug 2007 13:47:04 +0000
(13:47 +0000)
committer
Fabian Keil
<fk@fabiankeil.de>
Sun, 5 Aug 2007 13:47:04 +0000
(13:47 +0000)
cgiedit.c
patch
|
blob
|
history
pcrs.c
patch
|
blob
|
history
diff --git
a/cgiedit.c
b/cgiedit.c
index
bbc646e
..
54d2b3f
100644
(file)
--- a/
cgiedit.c
+++ b/
cgiedit.c
@@
-1,4
+1,4
@@
-const char cgiedit_rcs[] = "$Id: cgiedit.c,v 1.5
4 2007/05/14 10:33:51
fabiankeil Exp $";
+const char cgiedit_rcs[] = "$Id: cgiedit.c,v 1.5
5 2007/05/31 11:50:20
fabiankeil Exp $";
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/cgiedit.c,v $
/*********************************************************************
*
* 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 $
*
* 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().
*
* 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. */
};
/* 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,
{
{
ACTION_MULTI_FILTER,
diff --git
a/pcrs.c
b/pcrs.c
index
301c7c2
..
197b33c
100644
(file)
--- a/
pcrs.c
+++ b/
pcrs.c
@@
-1,4
+1,4
@@
-const char pcrs_rcs[] = "$Id: pcrs.c,v 1.2
5 2007/04/30 15:02:18
fabiankeil Exp $";
+const char pcrs_rcs[] = "$Id: pcrs.c,v 1.2
6 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 $
*
* 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.
*
* 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
/*********************************************************************
*
* Function : pcrs_compile_dynamic_command