cvs: php4 /ext/standard filestat.c
| From: | Dan Kalowsky | Date: | Tue, 30 Jul 2002 20:24:14 +0000 |
| Subject: | cvs: php4 /ext/standard filestat.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-13054@lists.php.net to get a copy of this message | ||
kalowsky Tue Jul 30 16:24:14 2002 EDT
Modified files:
/php4/ext/standard filestat.c
Log:
Commiting Steph@php.net's patch to re-enable touch on Win32 machines
Index: php4/ext/standard/filestat.c
diff -u php4/ext/standard/filestat.c:1.100 php4/ext/standard/filestat.c:1.101
--- php4/ext/standard/filestat.c:1.100 Fri Jul 26 04:04:42 2002
+++ php4/ext/standard/filestat.c Tue Jul 30 16:24:13 2002
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: filestat.c,v 1.100 2002/07/26 08:04:42 sesser Exp $ */
+/* $Id: filestat.c,v 1.101 2002/07/30 20:24:13 kalowsky 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);