You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by tr...@apache.org on 2002/11/18 22:43:13 UTC
cvs commit: httpd-2.0/server util_debug.c
trawick 2002/11/18 13:43:13
Modified: . CHANGES
server util_debug.c
Log:
Use AP_DECLARE in the debug versions of ap_strXXX in case the
default calling convention is not the same as the one used by
AP_DECLARE.
Submitted by: Juan Rivera <Ju...@citrix.com>
Reviewed by: Jeff Trawick
Revision Changes Path
1.986 +4 -0 httpd-2.0/CHANGES
Index: CHANGES
===================================================================
RCS file: /home/cvs/httpd-2.0/CHANGES,v
retrieving revision 1.985
retrieving revision 1.986
diff -u -r1.985 -r1.986
--- CHANGES 17 Nov 2002 01:33:24 -0000 1.985
+++ CHANGES 18 Nov 2002 21:43:13 -0000 1.986
@@ -1,5 +1,9 @@
Changes with Apache 2.0.44
+ *) Use AP_DECLARE in the debug versions of ap_strXXX in case the
+ default calling convention is not the same as the one used by
+ AP_DECLARE. [Juan Rivera <Ju...@citrix.com>]
+
*) mod_cache: Don't cache response header fields designated
as hop-by-hop headers in HTTP/1.1 (RFC 2616 Section 13.5.1).
[Estrade Matthieu <es...@ifrance.com>, Brian Pane]
1.8 +6 -6 httpd-2.0/server/util_debug.c
Index: util_debug.c
===================================================================
RCS file: /home/cvs/httpd-2.0/server/util_debug.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- util_debug.c 13 Mar 2002 20:48:00 -0000 1.7
+++ util_debug.c 18 Nov 2002 21:43:13 -0000 1.8
@@ -69,27 +69,27 @@
#undef strrchr
#undef strstr
-char *ap_strchr(char *s, int c)
+AP_DECLARE(char *) ap_strchr(char *s, int c)
{
return strchr(s,c);
}
-const char *ap_strchr_c(const char *s, int c)
+AP_DECLARE(const char *) ap_strchr_c(const char *s, int c)
{
return strchr(s,c);
}
-char *ap_strrchr(char *s, int c)
+AP_DECLARE(char *) ap_strrchr(char *s, int c)
{
return strrchr(s,c);
}
-const char *ap_strrchr_c(const char *s, int c)
+AP_DECLARE(const char *) ap_strrchr_c(const char *s, int c)
{
return strrchr(s,c);
}
-char *ap_strstr(char *s, const char *c)
+AP_DECLARE(char *) ap_strstr(char *s, const char *c)
{
return strstr(s,c);
}
-const char *ap_strstr_c(const char *s, const char *c)
+AP_DECLARE(const char *) ap_strstr_c(const char *s, const char *c)
{
return strstr(s,c);
}