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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: henrik at schack dot dk
New email:
PHP Version: OS:

 

 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2023 The PHP Group
All rights reserved.
Last updated: Wed Feb 01 20:04:13 2023 UTC