php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16861 touch sets wrong date/time when touching file
Submitted: 2002-04-26 14:41 UTC Modified: 2002-04-26 19:47 UTC
Votes:3
Avg. Score:5.0 ± 0.0
Reproduced:3 of 3 (100.0%)
Same Version:3 (100.0%)
Same OS:3 (100.0%)
From: henrik at schack dot dk Assigned: yohgaki (profile)
Status: Closed Package: Filesystem function related
PHP Version: 4.2.0 OS: RedHat 7.2
Private report: No CVE-ID: None
 [2002-04-26 14:41 UTC] henrik at schack dot dk
Testscript:
<?
touch("testfile");
?>

ls -l outputs :
-rw-rw-r-- 1 nobody   nobody 0 Apr 14  1974 testfile

Date on server:
Fri Apr 26 20:39:21 CEST 2002


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-26 19:20 UTC] yohgaki@php.net
The bug system is not the appropriate forum for asking support
questions. For a list of a range of more appropriate places to ask
for help using PHP, please visit http://www.php.net/support.php
 [2002-04-26 19:21 UTC] yohgaki@php.net
I think you have some kind of locale problem. If you think PHP is setting wrong locale, please feel free to reopen.

 [2002-04-26 19:23 UTC] yohgaki@php.net
Damm. It really does this.
I'll take a look.
 [2002-04-26 19:47 UTC] yohgaki@php.net
Thanks for reporting.
Fixed in CVS. 

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Dec 27 00:01:30 2024 UTC