Bug #17966 Updated: php "touch" function generating files with random filetime

From: Date: Tue, 25 Jun 2002 10:01:14 +0000
Subject: Bug #17966 Updated: php "touch" function generating files with random filetime
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-12027@lists.php.net to get a copy of this message
ID: 17966 Updated by: derick@php.net Reported By: jkkn@tv2.dk -Status: Open +Status: Closed Bug Type: *General Issues Operating System: Linux PHP Version: 4.2.1 New Comment: This bug has been fixed in CVS. You can grab a snapshot of the CVS version at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2002-06-25 05:59:25] jkkn@tv2.dk Hey, Since 4.2.1 the touch-function have been broken, the filetime is no longer set correctly. This looks to come from the following patch: http://cvs.php.net/diff.php/php4/ext/standard/filestat.c?r1=1.89&r2=1.89.2.1&ty=h&Horde=1923773a4dc6b3f3373b22c45e30b701 That caused the newtime point to point to NULL at the time where the filetime should be set if touch is called with one parameter only. I do not get the patch at all and suggest a rollback of this. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=17966&edit=1

« previous php.bugs (#12027) next »