cvs: php4 /ext/mbstring php_mbregex.c

From: Date: Sun, 06 Oct 2002 16:37:33 +0000
Subject: cvs: php4 /ext/mbstring php_mbregex.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-14616@lists.php.net to get a copy of this message
rasmus Sun Oct 6 12:37:33 2002 EDT Modified files: /php4/ext/mbstring php_mbregex.c Log: Fix build Index: php4/ext/mbstring/php_mbregex.c diff -u php4/ext/mbstring/php_mbregex.c:1.8 php4/ext/mbstring/php_mbregex.c:1.9 --- php4/ext/mbstring/php_mbregex.c:1.8 Sun Oct 6 11:31:52 2002 +++ php4/ext/mbstring/php_mbregex.c Sun Oct 6 12:37:33 2002 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_mbregex.c,v 1.8 2002/10/06 15:31:52 moriyoshi Exp $ */ +/* $Id: php_mbregex.c,v 1.9 2002/10/06 16:37:33 rasmus 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; }

« previous php.cvs (#14616) next »