Mercurial > hg > nginx-vendor-0-8
diff auto/lib/pcre/patch.pcre.c @ 52:0d75d65c642f NGINX_0_1_26
nginx 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.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Tue, 22 Mar 2005 00:00:00 +0300 |
parents | |
children |
line wrap: on
line diff
new file mode 100644 --- /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