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;
                                }



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to