cvs: php4 /ext/pcre php_pcre.c
| From: | Andrei Zmievski | Date: | Fri, 24 Nov 2000 00:12:20 +0000 |
| Subject: | cvs: php4 /ext/pcre php_pcre.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-2786@lists.php.net to get a copy of this message | ||
andrei Thu Nov 23 16:12:20 2000 EDT
Modified files:
/php4/ext/pcre php_pcre.c
Log:
Fix the arg array size.
Index: php4/ext/pcre/php_pcre.c
diff -u php4/ext/pcre/php_pcre.c:1.72 php4/ext/pcre/php_pcre.c:1.73
--- php4/ext/pcre/php_pcre.c:1.72 Thu Nov 23 09:25:13 2000
+++ php4/ext/pcre/php_pcre.c Thu Nov 23 16:12:19 2000
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_pcre.c,v 1.72 2000/11/23 17:25:13 andrei Exp $ */
+/* $Id: php_pcre.c,v 1.73 2000/11/24 00:12:19 andrei Exp $ */
/*
TODO:
@@ -568,7 +568,7 @@
zval *retval_ptr; /* Function return value */
zval function; /* Function to call */
zval *function_ptr = &function; /* Pointer to function to call */
- zval **args[0]; /* Argument to pass to function */
+ zval **args[1]; /* Argument to pass to function */
zval *subpats; /* Captured subpatterns */
int result_len; /* Return value length */
int i;