projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a02a28e
)
Relocate ijb_isdigit()'s definition to project.h
author
Fabian Keil
<fk@fabiankeil.de>
Sun, 4 Mar 2012 11:50:32 +0000
(11:50 +0000)
committer
Fabian Keil
<fk@fabiankeil.de>
Sun, 4 Mar 2012 11:50:32 +0000
(11:50 +0000)
filters.c
patch
|
blob
|
history
project.h
patch
|
blob
|
history
diff --git
a/filters.c
b/filters.c
index
817aa92
..
d7861f0
100644
(file)
--- a/
filters.c
+++ b/
filters.c
@@
-1,4
+1,4
@@
-const char filters_rcs[] = "$Id: filters.c,v 1.16
4 2011/12/31 14:47:4
4 fabiankeil Exp $";
+const char filters_rcs[] = "$Id: filters.c,v 1.16
5 2012/02/29 19:34:0
4 fabiankeil Exp $";
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/filters.c,v $
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/filters.c,v $
@@
-76,15
+76,6
@@
const char filters_rcs[] = "$Id: filters.c,v 1.164 2011/12/31 14:47:44 fabiankei
const char filters_h_rcs[] = FILTERS_H_VERSION;
const char filters_h_rcs[] = FILTERS_H_VERSION;
-/* Fix a problem with Solaris. There should be no effect on other
- * platforms.
- * Solaris's isspace() is a macro which uses it's argument directly
- * as an array index. Therefore we need to make sure that high-bit
- * characters generate +ve values, and ideally we also want to make
- * the argument match the declared parameter type of "int".
- */
-#define ijb_isdigit(__X) isdigit((int)(unsigned char)(__X))
-
typedef char *(*filter_function_ptr)();
static filter_function_ptr get_filter_function(const struct client_state *csp);
static jb_err remove_chunked_transfer_coding(char *buffer, size_t *size);
typedef char *(*filter_function_ptr)();
static filter_function_ptr get_filter_function(const struct client_state *csp);
static jb_err remove_chunked_transfer_coding(char *buffer, size_t *size);
diff --git
a/project.h
b/project.h
index
74c7453
..
b52b0b8
100644
(file)
--- a/
project.h
+++ b/
project.h
@@
-1,7
+1,7
@@
#ifndef PROJECT_H_INCLUDED
#define PROJECT_H_INCLUDED
/** Version string. */
#ifndef PROJECT_H_INCLUDED
#define PROJECT_H_INCLUDED
/** Version string. */
-#define PROJECT_H_VERSION "$Id: project.h,v 1.17
2 2012/03/04 11:49:2
4 fabiankeil Exp $"
+#define PROJECT_H_VERSION "$Id: project.h,v 1.17
3 2012/03/04 11:49:4
4 fabiankeil Exp $"
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/project.h,v $
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/project.h,v $
@@
-167,6
+167,7
@@
typedef int jb_err;
* some unspecified Solaris versions.
* Note: Remember to #include <ctype.h> if you use these macros.
*/
* some unspecified Solaris versions.
* Note: Remember to #include <ctype.h> if you use these macros.
*/
+#define ijb_isdigit(__X) isdigit((int)(unsigned char)(__X))
#define ijb_isupper(__X) isupper((int)(unsigned char)(__X))
#define ijb_toupper(__X) toupper((int)(unsigned char)(__X))
#define ijb_tolower(__X) tolower((int)(unsigned char)(__X))
#define ijb_isupper(__X) isupper((int)(unsigned char)(__X))
#define ijb_toupper(__X) toupper((int)(unsigned char)(__X))
#define ijb_tolower(__X) tolower((int)(unsigned char)(__X))