cvs: php4(PHP_4_2_0) /ext/standard filestat.c
| From: | Sascha Schumann | Date: | Tue, 20 Aug 2002 19:03:00 +0000 |
| Subject: | cvs: php4(PHP_4_2_0) /ext/standard filestat.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-13490@lists.php.net to get a copy of this message | ||
sas Tue Aug 20 15:03:00 2002 EDT
Modified files: (Branch: PHP_4_2_0)
/php4/ext/standard filestat.c
Log:
MFH
Index: php4/ext/standard/filestat.c
diff -u php4/ext/standard/filestat.c:1.89.2.5 php4/ext/standard/filestat.c:1.89.2.6
--- php4/ext/standard/filestat.c:1.89.2.5 Sun Jul 28 14:41:48 2002
+++ php4/ext/standard/filestat.c Tue Aug 20 15:02:59 2002
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: filestat.c,v 1.89.2.5 2002/07/28 18:41:48 sesser Exp $ */
+/* $Id: filestat.c,v 1.89.2.6 2002/08/20 19:02:59 sas Exp $ */
#include "php.h"
#include "safe_mode.h"
@@ -481,9 +481,7 @@
newtime = &newtimebuf;
if (ac == 1 && zend_get_parameters_ex(1, &filename) != FAILURE) {
-#ifndef HAVE_UTIME_NULL
newtime->modtime = newtime->actime = time(NULL);
-#endif
} else if (ac == 2 && zend_get_parameters_ex(2, &filename, &filetime) != FAILURE)
{
convert_to_long_ex(filetime);
newtime->actime = time(NULL);