aboutsummaryrefslogtreecommitdiff
path: root/auto/lib/pcre/patch.pcre.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2005-03-22 16:02:46 +0000
committerIgor Sysoev <igor@sysoev.ru>2005-03-22 16:02:46 +0000
commit4d656dcd0bd6309b0ec76fc444198ed6c2948a8e (patch)
tree67ce201b7d515273fa2a6a617542cece4fa16898 /auto/lib/pcre/patch.pcre.c
parent3599a1b885533d929315494258fb407765243a95 (diff)
downloadnginx-4d656dcd0bd6309b0ec76fc444198ed6c2948a8e.tar.gz
nginx-4d656dcd0bd6309b0ec76fc444198ed6c2948a8e.zip
nginx-0.1.26-RELEASE importrelease-0.1.26
*) Change: the invalid client header lines are now ignored and logged at the info level. *) Change: the server name is also logged in error log. *) Feature: the ngx_http_auth_basic_module module and the auth_basic and auth_basic_user_file directives.
Diffstat (limited to 'auto/lib/pcre/patch.pcre.c')
-rw-r--r--auto/lib/pcre/patch.pcre.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/auto/lib/pcre/patch.pcre.c b/auto/lib/pcre/patch.pcre.c
new file mode 100644
index 000000000..8e56b9df6
--- /dev/null
+++ b/auto/lib/pcre/patch.pcre.c
@@ -0,0 +1,13 @@
+--- pcre.c Thu Aug 21 14:43:07 2003
++++ pcre.c Tue Mar 22 12:56:59 2005
+@@ -246,8 +246,8 @@
+ extern "C" void (*pcre_free)(void *) = free;
+ extern "C" int (*pcre_callout)(pcre_callout_block *) = NULL;
+ #else
+-void *(*pcre_malloc)(size_t) = malloc;
+-void (*pcre_free)(void *) = free;
++void *(__cdecl *pcre_malloc)(size_t) = malloc;
++void (__cdecl *pcre_free)(void *) = free;
+ int (*pcre_callout)(pcre_callout_block *) = NULL;
+ #endif
+ #endif