touch() atime field returns different value

Bug #46682 touch() atime field returns different value
Submitted: 2008-11-26 10:22 UTC Modified: 2009-07-07 22:13 UTC
From: ant@php.net Assigned: pajoye (profile)
Status: Closed Package: Filesystem function related
PHP Version: 5.3CVS-2008-11-26 (snap) OS: win32 only
Private report: No CVE-ID: None

 [2008-11-26 10:22 UTC] ant@php.net

Description:
------------
The following test was ported from 5.2.X and does not behave the same 
on 5.3. It appears the atime stat field after running touch() returns 
a different value.





Reproduce code:
---------------
See the test now checked into CVS:

ext/standard/tests/file/touch_basic-win32.phpt



Expected result:
----------------
017- atime=20470

Actual result:
--------------
017+ atime=10000





Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports

 [2008-11-26 18:03 UTC] ant@php.net

These tests are also now checked into 6.0.

 [2009-07-07 22:13 UTC] pajoye@php.net

This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.