cvs: php4 /ext/standard url_scanner_ex.c url_scanner_ex.re

From: Date: Tue, 19 Sep 2000 17:53:09 +0000
Subject: cvs: php4 /ext/standard url_scanner_ex.c url_scanner_ex.re
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-1792@lists.php.net to get a copy of this message
zeev Tue Sep 19 10:53:09 2000 EDT Modified files: /php4/ext/standard url_scanner_ex.c url_scanner_ex.re Log: Fix a few build bugs, still no go Index: php4/ext/standard/url_scanner_ex.c diff -u php4/ext/standard/url_scanner_ex.c:1.1 php4/ext/standard/url_scanner_ex.c:1.2 --- php4/ext/standard/url_scanner_ex.c:1.1 Tue Sep 19 10:32:27 2000 +++ php4/ext/standard/url_scanner_ex.c Tue Sep 19 10:53:09 2000 @@ -22,7 +22,10 @@ #ifdef TRANS_SID +#ifdef HAVE_UNISTD_H #include <unistd.h> +#endif + #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -107,7 +110,7 @@ NULL }; -static inline void tag_arg(url_adapt_state_t *ctx PLS_CC) +static inline void tag_arg(url_adapt_state_t *ctx PLS_DC) { char f = 0; int i; @@ -585,7 +588,7 @@ #ifdef DEBUG printf("PARA(%s)\n", ctx->para.c); #endif - tag_arg(ctx PLS_DC); + tag_arg(ctx PLS_CC); arg_start = YYCURSOR; GO(STATE_NEXT_ARG); NEXT; @@ -626,7 +629,7 @@ #ifdef DEBUG printf("PARA(%s)\n", ctx->para.c); #endif - tag_arg(ctx PLS_DC); + tag_arg(ctx PLS_CC); arg_start = YYCURSOR; GO(STATE_NEXT_ARG); NEXT; Index: php4/ext/standard/url_scanner_ex.re diff -u php4/ext/standard/url_scanner_ex.re:1.1 php4/ext/standard/url_scanner_ex.re:1.2 --- php4/ext/standard/url_scanner_ex.re:1.1 Tue Sep 19 10:32:27 2000 +++ php4/ext/standard/url_scanner_ex.re Tue Sep 19 10:53:09 2000 @@ -20,7 +20,10 @@ #ifdef TRANS_SID +#ifdef HAVE_UNISTD_H #include <unistd.h> +#endif + #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -105,7 +108,7 @@ NULL }; -static inline void tag_arg(url_adapt_state_t *ctx PLS_CC) +static inline void tag_arg(url_adapt_state_t *ctx PLS_DC) { char f = 0; int i; @@ -253,7 +256,7 @@ #ifdef DEBUG printf("PARA(%s)\n", ctx->para.c); #endif - tag_arg(ctx PLS_DC); + tag_arg(ctx PLS_CC); arg_start = YYCURSOR; GO(STATE_NEXT_ARG); NEXT; @@ -265,7 +268,7 @@ #ifdef DEBUG printf("PARA(%s)\n", ctx->para.c); #endif - tag_arg(ctx PLS_DC); + tag_arg(ctx PLS_CC); arg_start = YYCURSOR; GO(STATE_NEXT_ARG); NEXT;

« previous php.cvs (#1792) next »