cvs: php-src /ext/pcre php_pcre.c

From: Date: Fri, 10 Dec 2004 00:36:51 +0000
Subject: cvs: php-src /ext/pcre php_pcre.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-29509@lists.php.net to get a copy of this message
iliaa Thu Dec 9 19:36:51 2004 EDT Modified files: /php-src/ext/pcre php_pcre.c Log: Avoid causing a crash. http://cvs.php.net/diff.php/php-src/ext/pcre/php_pcre.c?r1=1.162&r2=1.163&ty=u Index: php-src/ext/pcre/php_pcre.c diff -u php-src/ext/pcre/php_pcre.c:1.162 php-src/ext/pcre/php_pcre.c:1.163 --- php-src/ext/pcre/php_pcre.c:1.162 Thu Dec 9 10:07:56 2004 +++ php-src/ext/pcre/php_pcre.c Thu Dec 9 19:36:51 2004 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_pcre.c,v 1.162 2004/12/09 15:07:56 tony2001 Exp $ */ +/* $Id: php_pcre.c,v 1.163 2004/12/10 00:36:51 iliaa Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -1416,7 +1416,7 @@ /* Nothing to do if we got an empty string */ if (in_str == in_str_end) { - RETVAL_STRINGL("", 0, 0); + RETVAL_EMPTY_STRING(); } if (ZEND_NUM_ARGS() == 2) {

« previous php.cvs (#29509) next »