php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #47886 file system time functions not backported from 5.3/6, eg touch
Submitted: 2009-04-03 12:07 UTC Modified: 2009-05-01 09:13 UTC
From: d_kelsey at uk dot ibm dot com Assigned: pajoye (profile)
Status: Closed Package: Filesystem function related
PHP Version: 5.2.9 OS: win32 only - Windows XP
Private report: No CVE-ID: None
 [2009-04-03 12:07 UTC] d_kelsey at uk dot ibm dot com
Description:
------------
touch_basic-win32.phpt test fails once we entered DST. I see in 5.3/5 this area has been looked into because the microsoft C runtime functions appear to be sensitive to DST (by design!) 

I was wondering if this code was going to be backported to 5.2.x stream ? If not then maybe the expectf section for touch_basic-win32.phpt should be changed from 
mtime=10000
atime=20470
to
mtime=%r10000|6400%r
atime=%r20470|16870%r



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-04-03 12:51 UTC] pajoye@php.net
No, they will not be backported.

Does the | operator works in 5.2 run-tests? I never used it :)
 [2009-04-03 13:02 UTC] d_kelsey at uk dot ibm dot com
Its new to runtests. Anything inside the %r...%r section is treated as a regular expression.

If you want I can commit an update to the 5.2.x test ?
 [2009-04-03 13:06 UTC] pajoye@php.net
If it works in 5.2, yes please do :)

Thanks!
 [2009-04-06 08:44 UTC] d_kelsey at uk dot ibm dot com
new test has been committed to cvs for php 5.2 stream
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 10 16:01:32 2024 UTC