Bug #16835 Updated: Touch function can't modify the date/time of a file

From: Date: Sun, 05 May 2002 05:57:48 +0000
Subject: Bug #16835 Updated: Touch function can't modify the date/time of a file
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-6940@lists.php.net to get a copy of this message
ID: 16835 Updated by: e9626334@stud3.tuwien.ac.at Reported By: v.marco@libero.it Status: Open Bug Type: Filesystem function related Operating System: Windows PHP Version: 4.2.0 New Comment: I believe this may be a symptom of the same bug: on FreeBSD 4.5-RELEASE (x86), PHP 4.2.0's touch() function, at least when being called without the optional time argument, sets a wrong date on touched files. In my case, it's April 23, 1991(!). My system date _is_ correct; and touch(1) does work fine. This problem is 100% reproducible and did not exist in PHP 4.1.2 or any previous 4.x releases. Previous Comments: ------------------------------------------------------------------------ [2002-04-25 18:02:08] v.marco@libero.it Touch function can't modify the date/time of a file. When try to call that function PHP always reply with: Warning: utime failed: Invalid argument in d:\.... ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=16835&edit=1

« previous php.bugs (#6940) next »