cvs: php4 /ext/mbstring php_mbregex.c
| From: | Moriyoshi Koizumi | Date: | Thu, 10 Oct 2002 17:00:38 +0000 |
| Subject: | cvs: php4 /ext/mbstring php_mbregex.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-14785@lists.php.net to get a copy of this message | ||
moriyoshi Thu Oct 10 13:00:38 2002 EDT
Modified files:
/php4/ext/mbstring php_mbregex.c
Log:
Fixed mb_regex_set_options()
Index: php4/ext/mbstring/php_mbregex.c
diff -u php4/ext/mbstring/php_mbregex.c:1.14 php4/ext/mbstring/php_mbregex.c:1.15
--- php4/ext/mbstring/php_mbregex.c:1.14 Tue Oct 8 01:08:39 2002
+++ php4/ext/mbstring/php_mbregex.c Thu Oct 10 13:00:36 2002
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_mbregex.c,v 1.14 2002/10/08 05:08:39 sebastian Exp $ */
+/* $Id: php_mbregex.c,v 1.15 2002/10/10 17:00:36 moriyoshi Exp $ */
#ifdef HAVE_CONFIG_H
@@ -968,7 +968,7 @@
/* {{{ php_mb_regex_set_options_by_string */
PHPAPI int php_mb_regex_set_options_by_string( const char *opt_str, int len TSRMLS_DC)
{
- int new_opt;
+ int new_opt = 0;
_php_mb_regex_init_options( opt_str, len, &new_opt, NULL);
return php_mb_regex_set_options( new_opt TSRMLS_CC);
}