-
Notifications
You must be signed in to change notification settings - Fork 7.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
To avoid behavior differences due to libc.
- Loading branch information
Showing
2 changed files
with
9 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ab36540
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nikic, that doesn't work for Windows where 't'/'b' are still a thing (I hope to come to that soon) causing ext\standard\tests\streams\stream_get_meta_data_process_basic.phpt to fail. I don't think that check is needed for Windows, so the new code could go into the
#ifndef PHP_WIN32
above.ab36540
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@cmb69 Thanks for the notice. You are right that the check should be inside the ifndef PHP_WIN32. I've reverted the change for now.