From 18c0d30c58ecd27069cf2812505419cd338ce4be Mon Sep 17 00:00:00 2001 From: Dan Kalowsky Date: Tue, 30 Jul 2002 20:24:13 +0000 Subject: [PATCH] Commiting Steph@php.net's patch to re-enable touch on Win32 machines --- ext/standard/filestat.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/ext/standard/filestat.c b/ext/standard/filestat.c index 2218e59b43..07684d5320 100644 --- a/ext/standard/filestat.c +++ b/ext/standard/filestat.c @@ -481,9 +481,7 @@ PHP_FUNCTION(touch) 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); -- 2.50.1