cvs: /php4/ext/pcre/pcrelib pcreposix.c

From: Date: Sun, 15 Aug 1999 23:52:37 +0000
Subject: cvs: /php4/ext/pcre/pcrelib pcreposix.c
Groups: php.version4 
Request: Send a blank email to php-version4+get-3443@lists.php.net to get a copy of this message
verdy_p Sun Aug 15 19:52:37 1999 EDT Modified files: /php4/ext/pcre/pcrelib pcreposix.c Log: make pcre test program compile again with Zeev's additions in the pcre_exec() function parameters Index: php4/ext/pcre/pcrelib/pcreposix.c diff -u php4/ext/pcre/pcrelib/pcreposix.c:1.1 php4/ext/pcre/pcrelib/pcreposix.c:1.2 --- php4/ext/pcre/pcrelib/pcreposix.c:1.1 Wed May 26 17:47:57 1999 +++ php4/ext/pcre/pcrelib/pcreposix.c Sun Aug 15 19:52:37 1999 @@ -223,8 +223,10 @@ preg->re_erroffset = (size_t)(-1); /* Only has meaning after compile */ -rc = pcre_exec(preg->re_pcre, NULL, string, (int)strlen(string), options, - (int *)pmatch, nmatch * 2); +rc = pcre_exec(preg->re_pcre, NULL, string, (int)strlen(string), + string, // const char *strbeg (added for vi-like 'g' replace flag) + options, (int *)pmatch, nmatch * 2, + 0); // int minlen (added for vi-like 'g' replace flag) if (rc == 0) return 0; /* All pmatch were filled in */

« previous php.version4 (#3443) next »