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

From: Date: Sun, 05 May 2002 07:19:09 +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-6942@lists.php.net to get a copy of this message
ID: 16835 Updated by: derick@php.net Reported By: v.marco@libero.it -Status: Open +Status: Feedback Bug Type: Filesystem function related Operating System: Windows PHP Version: 4.2.0 New Comment: This should be fixed, can you try a windows snapshot (stable branch) from snaps.php.net/win32 ? Derick Previous Comments: ------------------------------------------------------------------------ [2002-05-05 01:57:47] e9626334@stud3.tuwien.ac.at 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. ------------------------------------------------------------------------ [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 (#6942) next »