moriyoshi Sun Oct 6 12:48:52 2002 EDT Modified files: (Branch: PHP_4_3) /php4/ext/mbstring php_mbregex.c Log: Fix build. Thanks to Sebastian, Rasmus. Index: php4/ext/mbstring/php_mbregex.c diff -u php4/ext/mbstring/php_mbregex.c:1.5.2.1 php4/ext/mbstring/php_mbregex.c:1.5.2.2 --- php4/ext/mbstring/php_mbregex.c:1.5.2.1 Sun Oct 6 11:38:33 2002 +++ php4/ext/mbstring/php_mbregex.c Sun Oct 6 12:48:51 2002 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_mbregex.c,v 1.5.2.1 2002/10/06 15:38:33 moriyoshi Exp $ */ +/* $Id: php_mbregex.c,v 1.5.2.2 2002/10/06 16:48:51 moriyoshi Exp $ */ #ifdef HAVE_CONFIG_H @@ -225,7 +225,7 @@ if (ZEND_NUM_ARGS() == 0) { const char *retval = php_mbregex_mbctype2name(MBSTRG(current_mbctype)); if ( retval != NULL ) { - RETVAL_STRING((char *)retval); + RETVAL_STRING((char *)retval, 1); } else { RETVAL_FALSE; }
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php