comparison src/core/ngx_regex.c @ 562:697030d79811 NGINX_0_8_27

nginx 0.8.27 *) Bugfix: regular expressions did work in nginx/Windows; the bug had appeared in 0.8.25.
author Igor Sysoev <http://sysoev.ru>
date Tue, 17 Nov 2009 00:00:00 +0300
parents e19e5f542878
children
comparison
equal deleted inserted replaced
561:04cfef16b736 562:697030d79811
33 tls = ngx_thread_get_tls(ngx_core_tls_key); 33 tls = ngx_thread_get_tls(ngx_core_tls_key);
34 tls->pool = pool; 34 tls->pool = pool;
35 return; 35 return;
36 } 36 }
37 37
38 #else 38 #endif
39 39
40 ngx_pcre_pool = pool; 40 ngx_pcre_pool = pool;
41
42 #endif
43 } 41 }
44 42
45 43
46 static ngx_inline void 44 static ngx_inline void
47 ngx_regex_malloc_done(void) 45 ngx_regex_malloc_done(void)
53 tls = ngx_thread_get_tls(ngx_core_tls_key); 51 tls = ngx_thread_get_tls(ngx_core_tls_key);
54 tls->pool = NULL; 52 tls->pool = NULL;
55 return; 53 return;
56 } 54 }
57 55
58 #else 56 #endif
59 57
60 ngx_pcre_pool = NULL; 58 ngx_pcre_pool = NULL;
61
62 #endif
63 } 59 }
64 60
65 61
66 ngx_int_t 62 ngx_int_t
67 ngx_regex_compile(ngx_regex_compile_t *rc) 63 ngx_regex_compile(ngx_regex_compile_t *rc)