CVS update: php3/functions
| From: | ssb | Date: | Sun, 16 May 1999 15:45:57 +0000 |
| Subject: | CVS update: php3/functions | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-5701@lists.php.net to get a copy of this message | ||
Date: Sunday May 16, 1999 @ 11:45
Author: ssb
Update of /repository/php3/functions
In directory php:/tmp/cvs-serv28791
Modified Files:
dir.c
Log Message:
glibc 2.1.1 stack corruption fix
Index: php3/functions/dir.c
diff -u php3/functions/dir.c:1.57 php3/functions/dir.c:1.58
--- php3/functions/dir.c:1.57 Fri Jan 1 12:59:08 1999
+++ php3/functions/dir.c Sun May 16 11:45:57 1999
@@ -27,7 +27,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: dir.c,v 1.57 1999/01/01 17:59:08 zeev Exp $ */
+/* $Id: dir.c,v 1.58 1999/05/16 15:45:57 ssb Exp $ */
#ifdef THREAD_SAFE
#include "tls.h"
@@ -76,11 +76,15 @@
};
+static void php3i_destructor_closedir(DIR *dir) {
+ (void)closedir(dir);
+}
+
int php3_minit_dir(INIT_FUNC_ARGS)
{
TLS_VARS;
- GLOBAL(le_dirp) = register_list_destructors(closedir,NULL);
+ GLOBAL(le_dirp) = register_list_destructors(php3i_destructor_closedir,NULL);
return SUCCESS;
}
--
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