]> git.kaiwu.me - nginx.git/commitdiff
treat '\' as special character in win32 only
authorIgor Sysoev <igor@sysoev.ru>
Mon, 30 Oct 2006 20:36:54 +0000 (20:36 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Mon, 30 Oct 2006 20:36:54 +0000 (20:36 +0000)
src/http/ngx_http_parse.c

index 9f0e1b47268615087ec99d6f9649a440fe416cc4..9789db3474274ff849bff75bee9a56b8148cb9b9 100644 (file)
@@ -16,7 +16,11 @@ static uint32_t   usual[] = {
     0x7fff37d6, /* 0111 1111 1111 1111  0011 0111 1101 0110 */
 
                 /* _^]\ [ZYX WVUT SRQP  ONML KJIH GFED CBA@ */
+#if (NGX_WIN32)
     0xefffffff, /* 1110 1111 1111 1111  1111 1111 1111 1111 */
+#else
+    0xffffffff, /* 1111 1111 1111 1111  1111 1111 1111 1111 */
+#endif
 
                 /*  ~}| {zyx wvut srqp  onml kjih gfed cba` */
     0xffffffff, /* 1111 1111 1111 1111  1111 1111 1111 1111 */