cvs: php4 /ext/pcre php_pcre.c

From: Date: Mon, 27 Nov 2000 13:28:27 +0000
Subject: cvs: php4 /ext/pcre php_pcre.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-2802@lists.php.net to get a copy of this message
sas Mon Nov 27 05:28:27 2000 EDT Modified files: /php4/ext/pcre php_pcre.c Log: Oh man, gcc's logic is really flawed Index: php4/ext/pcre/php_pcre.c diff -u php4/ext/pcre/php_pcre.c:1.74 php4/ext/pcre/php_pcre.c:1.75 --- php4/ext/pcre/php_pcre.c:1.74 Mon Nov 27 05:13:25 2000 +++ php4/ext/pcre/php_pcre.c Mon Nov 27 05:28:26 2000 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_pcre.c,v 1.74 2000/11/27 13:13:25 sas Exp $ */ +/* $Id: php_pcre.c,v 1.75 2000/11/27 13:28:26 sas Exp $ */ /* TODO: @@ -1174,7 +1174,7 @@ *out_str, /* Output string with quoted characters */ *p, /* Iterator for input string */ *q, /* Iterator for output string */ - delim_char, /* Delimiter character to be quoted */ + delim_char=0, /* Delimiter character to be quoted */ c; /* Current character */ zend_bool quote_delim = 0; /* Whether to quote additional delim char */ @@ -1199,8 +1199,6 @@ if (Z_STRLEN_PP(delim) > 0) { delim_char = Z_STRVAL_PP(delim)[0]; quote_delim = 1; - } else { - delim_char = 0; } }

« previous php.cvs (#2802) next »