cvs: php4 /ext/pcre php_pcre.c
| From: | Jani Taskinen | Date: | Thu, 13 Jun 2002 01:04:41 +0000 |
| Subject: | cvs: php4 /ext/pcre php_pcre.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-12339@lists.php.net to get a copy of this message | ||
sniper Wed Jun 12 21:04:41 2002 EDT
Modified files:
/php4/ext/pcre php_pcre.c
Log:
Fix build in ZTS mode
Index: php4/ext/pcre/php_pcre.c
diff -u php4/ext/pcre/php_pcre.c:1.125 php4/ext/pcre/php_pcre.c:1.126
--- php4/ext/pcre/php_pcre.c:1.125 Wed Jun 12 16:04:20 2002
+++ php4/ext/pcre/php_pcre.c Wed Jun 12 21:04:40 2002
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_pcre.c,v 1.125 2002/06/12 20:04:20 andrei Exp $ */
+/* $Id: php_pcre.c,v 1.126 2002/06/13 01:04:40 sniper Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -383,7 +383,7 @@
subpats_order = Z_LVAL_PP(flags) & 0xff;
if ((global && (subpats_order < PREG_PATTERN_ORDER || subpats_order >
PREG_SET_ORDER)) ||
(!global && subpats_order != 0)) {
- zend_error(E_WARNING, "Wrong value for parameter 4 in call to %s()",
get_active_function_name());
+ zend_error(E_WARNING, "Wrong value for parameter 4 in call to %s()",
get_active_function_name(TSRMLS_C));
return;
}
break;