#46682 [Asn->Csd]: touch() atime field returns different value

From: Date: Tue, 07 Jul 2009 22:13:57 +0000
Subject: #46682 [Asn->Csd]: touch() atime field returns different value
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-139448@lists.php.net to get a copy of this message
 ID:               46682
 Updated by:       pajoye@php.net
 Reported By:      ant@php.net
-Status:           Assigned
+Status:           Closed
 Bug Type:         Filesystem function related
 Operating System: win32 only
 PHP Version:      5.3CVS-2008-11-26 (snap)
 Assigned To:      pajoye
 New Comment:

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.




Previous Comments:
------------------------------------------------------------------------

[2009-01-12 19:32:26] pajoye@php.net

I found the reason and I have a fix. However I'm not sure yet it does
not break more than it should. See: http://news.php.net/php.qa/64596



------------------------------------------------------------------------

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

These tests are also now checked into 6.0.

------------------------------------------------------------------------

[2008-11-26 10:22:12] 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






------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=46682&edit=1



Thread (5 messages)

« previous php.bugs (#139448) next »