Bug #78282 [Ver->Csd]: atime and mtime mismatch
| From: | cmb@php.net | Date: | Sat, 13 Jul 2019 07:45:51 +0000 |
| Subject: | Bug #78282 [Ver->Csd]: atime and mtime mismatch | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-221756@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=78282&edit=1
ID: 78282
Updated by: cmb@php.net
Reported by: v-altruo at microsoft dot com
Summary: atime and mtime mismatch
-Status: Verified
+Status: Closed
Type: Bug
Package: Scripting Engine problem
Operating System: Windows
PHP Version: 7.4.0alpha3
Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
Automatic comment on behalf of cmbecker69@gmx.de
Revision: http://git.php.net/?p=php-src.git;a=commit;h=bf242d58e77d50d4d8fdaaaca7ede686ec4467c0
Log: Fix #78282: atime and mtime mismatch
Previous Comments:
------------------------------------------------------------------------
[2019-07-13 07:31:34] cmb@php.net
Thanks for catching this regression, which has been introduced by
improperly fixing bug #78241.
------------------------------------------------------------------------
[2019-07-12 19:59:05] v-altruo at microsoft dot com
Description:
------------
Test fails for both NTS/TS regardless of opcache on/off but only for x86. My machine is x64 if that
matters.
Failed Test Location: ext\standard\tests\file\touch_basic-win32.phpt
Similar test (touch_basic-win32-mb.phpt) also fails with similar output.
Expected result:
----------------
*** Testing touch() : basic functionality ***
--- testing touch creates a file ---
bool(true)
--- testing touch doesn't alter file contents ---
Here is a test line
--- testing touch alters the correct file metadata ---
stat data differs at atime
stat data differs at mtime
--- testing touch using all parameters ---
bool(true)
ctime=%d
mtime=10000
atime=20470
Done
Actual result:
--------------
*** Testing touch() : basic functionality ***
--- testing touch creates a file ---
bool(true)
--- testing touch doesn't alter file contents ---
Here is a test line
--- testing touch alters the correct file metadata ---
stat data differs at atime
stat data differs at mtime
--- testing touch using all parameters ---
bool(true)
ctime=1562961318
mtime=121
atime=2133437241
Done
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=78282&edit=1