cvs: php4 /ext/mbstring php_mbregex.c
| From: | Moriyoshi Koizumi | Date: | Thu, 23 Jan 2003 20:38:44 +0000 |
| Subject: | cvs: php4 /ext/mbstring php_mbregex.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-18117@lists.php.net to get a copy of this message | ||
moriyoshi Thu Jan 23 15:38:44 2003 EDT
Modified files:
/php4/ext/mbstring php_mbregex.c
Log:
Really fixed the mb issue of mb_ereg_replace()
# my previous patch is somewhat wrong
Index: php4/ext/mbstring/php_mbregex.c
diff -u php4/ext/mbstring/php_mbregex.c:1.31 php4/ext/mbstring/php_mbregex.c:1.32
--- php4/ext/mbstring/php_mbregex.c:1.31 Thu Jan 23 15:07:39 2003
+++ php4/ext/mbstring/php_mbregex.c Thu Jan 23 15:38:44 2003
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_mbregex.c,v 1.31 2003/01/23 20:07:39 moriyoshi Exp $ */
+/* $Id: php_mbregex.c,v 1.32 2003/01/23 20:38:44 moriyoshi Exp $ */
#ifdef HAVE_CONFIG_H
@@ -619,7 +619,7 @@
p += 2;
i += 2;
} else {
- _php_mb_regex_strbuf_ncat(pdevice, (const unsigned char *)p, 1);
+ _php_mb_regex_strbuf_ncat(pdevice, (const unsigned char *)p, fwd);
p += fwd;
i += fwd;
}