cvs: php4 /ext/mbstring php_mbregex.c

From: Date: Tue, 01 Apr 2003 18:56:59 +0000
Subject: cvs: php4 /ext/mbstring php_mbregex.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-19944@lists.php.net to get a copy of this message
moriyoshi Tue Apr 1 13:56:59 2003 EDT Modified files: /php4/ext/mbstring php_mbregex.c Log: oops Index: php4/ext/mbstring/php_mbregex.c diff -u php4/ext/mbstring/php_mbregex.c:1.35 php4/ext/mbstring/php_mbregex.c:1.36 --- php4/ext/mbstring/php_mbregex.c:1.35 Tue Apr 1 13:56:26 2003 +++ php4/ext/mbstring/php_mbregex.c Tue Apr 1 13:56:59 2003 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_mbregex.c,v 1.35 2003/04/01 18:56:26 moriyoshi Exp $ */ +/* $Id: php_mbregex.c,v 1.36 2003/04/01 18:56:59 moriyoshi Exp $ */ #ifdef HAVE_CONFIG_H @@ -234,7 +234,7 @@ const char *err_str = NULL; mb_regex_t *rc = NULL; - if(1 || zend_hash_find(&MBSTRG(ht_rc), (char *)pattern, patlen+1, (void **) &rc) == FAILURE || + if(zend_hash_find(&MBSTRG(ht_rc), (char *)pattern, patlen+1, (void **) &rc) == FAILURE || rc->options != options || rc->mbctype != mbctype) { memset(pre, 0, sizeof(*pre)); pre->fastmap = (char*)emalloc((1 << MBRE_BYTEWIDTH)*sizeof(char));

« previous php.cvs (#19944) next »