cvs: /php4/ext/pcre php_pcre.c

From: Date: Thu, 28 Oct 1999 16:41:47 +0000
Subject: cvs: /php4/ext/pcre php_pcre.c
Groups: php.version4 
Request: Send a blank email to php-version4+get-5758@lists.php.net to get a copy of this message
andrei Thu Oct 28 12:41:47 1999 EDT Modified files: /php4/ext/pcre php_pcre.c Log: Fix bug #2623. Index: php4/ext/pcre/php_pcre.c diff -u php4/ext/pcre/php_pcre.c:1.25 php4/ext/pcre/php_pcre.c:1.26 --- php4/ext/pcre/php_pcre.c:1.25 Fri Oct 15 16:36:10 1999 +++ php4/ext/pcre/php_pcre.c Thu Oct 28 12:41:17 1999 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_pcre.c,v 1.25 1999/10/15 20:36:10 andrei Exp $ */ +/* $Id: php_pcre.c,v 1.26 1999/10/28 16:41:17 andrei Exp $ */ /* TODO: @@ -199,7 +199,8 @@ found, display a warning. */ pp = p; while (*pp != 0) { - if (*pp == delimiter && pp[-1] != '\\') + if (*pp == '\\' && pp[1] != 0) pp++; + else if (*pp == delimiter) break; pp++; }

« previous php.version4 (#5758) next »