cvs: php-src(PHP_5_0) /ext/standard filestat.c
| From: | Stanislav Malyshev | Date: | Thu, 02 Sep 2004 09:44:59 +0000 |
| Subject: | cvs: php-src(PHP_5_0) /ext/standard filestat.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-28548@lists.php.net to get a copy of this message | ||
stas Thu Sep 2 05:44:59 2004 EDT
Modified files: (Branch: PHP_5_0)
/php-src/ext/standard filestat.c
Log:
MFH: filestat fix
http://cvs.php.net/diff.php/php-src/ext/standard/filestat.c?r1=1.130&r2=1.130.2.1&ty=u
Index: php-src/ext/standard/filestat.c
diff -u php-src/ext/standard/filestat.c:1.130 php-src/ext/standard/filestat.c:1.130.2.1
--- php-src/ext/standard/filestat.c:1.130 Thu Jan 8 03:17:31 2004
+++ php-src/ext/standard/filestat.c Thu Sep 2 05:44:59 2004
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: filestat.c,v 1.130 2004/01/08 08:17:31 andi Exp $ */
+/* $Id: filestat.c,v 1.130.2.1 2004/09/02 09:44:59 stas Exp $ */
#include "php.h"
#include "safe_mode.h"
@@ -107,9 +107,11 @@
{
if (BG(CurrentStatFile)) {
efree (BG(CurrentStatFile));
+ BG(CurrentStatFile)=NULL;
}
if (BG(CurrentLStatFile)) {
efree (BG(CurrentLStatFile));
+ BG(CurrentLStatFile)=NULL;
}
return SUCCESS;
}