sas Mon Sep 23 10:59:25 2002 EDT Modified files: /php4/ext/standard filestat.c Log: (PHP touch) Remove an extraneous time() call. Yasuo added this line in rev 1.90 for no apparent reason. Index: php4/ext/standard/filestat.c diff -u php4/ext/standard/filestat.c:1.109 php4/ext/standard/filestat.c:1.110 --- php4/ext/standard/filestat.c:1.109 Sat Sep 14 02:38:48 2002 +++ php4/ext/standard/filestat.c Mon Sep 23 10:59:24 2002 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: filestat.c,v 1.109 2002/09/14 06:38:48 andi Exp $ */ +/* $Id: filestat.c,v 1.110 2002/09/23 14:59:24 sas Exp $ */ #include "php.h" #include "safe_mode.h" @@ -490,7 +490,6 @@ newtime->modtime = newtime->actime = time(NULL); } else if (ac == 2 && zend_get_parameters_ex(2, &filename, &filetime) != FAILURE) { convert_to_long_ex(filetime); - newtime->actime = time(NULL); newtime->modtime = newtime->actime = Z_LVAL_PP(filetime); } else if (ac == 3 && zend_get_parameters_ex(3, &filename, &filetime, &fileatime) != FAILURE) { convert_to_long_ex(fileatime);
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php