CVS update: php31/ext/standard
| From: | zeev | Date: | Sun, 11 Oct 1998 13:11:54 +0000 |
| Subject: | CVS update: php31/ext/standard | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-1817@lists.php.net to get a copy of this message | ||
Date: Sunday October 11, 1998 @ 9:11
Author: zeev
Update of /repository/php31/ext/standard
In directory asf:/u2/tmp/cvs-serv1923/ext/standard
Modified Files:
basic_functions.c
Log Message:
3.0 patches:
unset() of improperly parsed variables
shutdown function generalization (fixes CGIs)
Index: php31/ext/standard/basic_functions.c
diff -c php31/ext/standard/basic_functions.c:2.17 php31/ext/standard/basic_functions.c:2.18
*** php31/ext/standard/basic_functions.c:2.17 Mon Sep 21 07:23:01 1998
--- php31/ext/standard/basic_functions.c Sun Oct 11 09:11:54 1998
***************
*** 348,357 ****
#if HAVE_PUTENV && !defined(THREAD_SAFE)
_php3_hash_destroy(&putenv_ht);
#endif
- if (GLOBAL(user_shutdown_function_names)) {
- _php3_hash_destroy(GLOBAL(user_shutdown_function_names));
- efree(GLOBAL(user_shutdown_function_names));
- }
return SUCCESS;
}
--- 348,353 ----
***************
*** 1557,1574 ****
}
- int user_shutdown_function_executor(pval *user_shutdown_function_name)
- {
- return 1;
- }
-
-
void php3_call_shutdown_functions()
{
TLS_VARS;
if (GLOBAL(user_shutdown_function_names)) {
! _php3_hash_apply(GLOBAL(user_shutdown_function_names), (int(*)(void *))
user_shutdown_function_executor);
}
}
--- 1553,1565 ----
}
void php3_call_shutdown_functions()
{
TLS_VARS;
if (GLOBAL(user_shutdown_function_names)) {
! _php3_hash_destroy(GLOBAL(user_shutdown_function_names));
! efree(GLOBAL(user_shutdown_function_names));
}
}
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net