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

From: Date: Tue, 25 Jun 2002 09:59:25 +0000
Subject: Bug #17966: php "touch" function generating files with random filetime
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-12026@lists.php.net to get a copy of this message
From: jkkn@tv2.dk Operating system: Linux PHP version: 4.2.1 PHP Bug Type: *General Issues Bug description: php "touch" function generating files with random filetime 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 bug report at http://bugs.php.net/?id=17966&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=17966&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=17966&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=17966&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=17966&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=17966&r=support Expected behavior: http://bugs.php.net/fix.php?id=17966&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=17966&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=17966&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=17966&r=globals

« previous php.bugs (#12026) next »