annotate auto/lib/pcre/patch.pcre.c @ 490:e66f886a8305 NGINX_0_7_57

nginx 0.7.57 *) Bugfix: a segmentation fault occurred in worker process, if the ngx_http_image_filter_module errors were redirected to named location; the bug had appeared in 0.7.56.
author Igor Sysoev <http://sysoev.ru>
date Tue, 12 May 2009 00:00:00 +0400
parents 0d75d65c642f
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
52
0d75d65c642f nginx 0.1.26
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
1 --- pcre.c Thu Aug 21 14:43:07 2003
0d75d65c642f nginx 0.1.26
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
2 +++ pcre.c Tue Mar 22 12:56:59 2005
0d75d65c642f nginx 0.1.26
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
3 @@ -246,8 +246,8 @@
0d75d65c642f nginx 0.1.26
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
4 extern "C" void (*pcre_free)(void *) = free;
0d75d65c642f nginx 0.1.26
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
5 extern "C" int (*pcre_callout)(pcre_callout_block *) = NULL;
0d75d65c642f nginx 0.1.26
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
6 #else
0d75d65c642f nginx 0.1.26
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
7 -void *(*pcre_malloc)(size_t) = malloc;
0d75d65c642f nginx 0.1.26
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
8 -void (*pcre_free)(void *) = free;
0d75d65c642f nginx 0.1.26
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
9 +void *(__cdecl *pcre_malloc)(size_t) = malloc;
0d75d65c642f nginx 0.1.26
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
10 +void (__cdecl *pcre_free)(void *) = free;
0d75d65c642f nginx 0.1.26
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
11 int (*pcre_callout)(pcre_callout_block *) = NULL;
0d75d65c642f nginx 0.1.26
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
12 #endif
0d75d65c642f nginx 0.1.26
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
13 #endif