cvs: php4 /ext/standard basic_functions.c
| From: | Andrei Zmievski | Date: | Mon, 14 May 2001 14:16:45 +0000 |
| Subject: | cvs: php4 /ext/standard basic_functions.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-5735@lists.php.net to get a copy of this message | ||
andrei Mon May 14 07:16:45 2001 EDT
Modified files:
/php4/ext/standard basic_functions.c
Log:
Need to use ELS_FETCH() here.
Index: php4/ext/standard/basic_functions.c
diff -u php4/ext/standard/basic_functions.c:1.332 php4/ext/standard/basic_functions.c:1.333
--- php4/ext/standard/basic_functions.c:1.332 Mon May 14 06:24:03 2001
+++ php4/ext/standard/basic_functions.c Mon May 14 07:16:44 2001
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: basic_functions.c,v 1.332 2001/05/14 13:24:03 andrei Exp $ */
+/* $Id: basic_functions.c,v 1.333 2001/05/14 14:16:44 andrei Exp $ */
#include "php.h"
#include "php_main.h"
@@ -1783,6 +1783,7 @@
static int user_shutdown_function_call(php_shutdown_function_entry *shutdown_function_entry)
{
zval retval;
+ ELS_FETCH();
if (call_user_function(EG(function_table), NULL, shutdown_function_entry->arguments[0],
&retval, shutdown_function_entry->arg_count-1,
shutdown_function_entry->arguments+1)==SUCCESS) {
zval_dtor(&retval);
@@ -1797,6 +1798,7 @@
{
zval retval;
zval *function = tick_fe->arguments[0];
+ ELS_FETCH();
if (call_user_function(EG(function_table), NULL, function, &retval,
tick_fe->arg_count - 1, tick_fe->arguments + 1) == SUCCESS) {