com php-src: no more winxp, but really: main/streams/plain_wr apper.c
| From: | Anatol Belski | Date: | Sat, 04 Apr 2015 18:39:04 +0000 |
| Subject: | com php-src: no more winxp, but really: main/streams/plain_wr apper.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-86073@lists.php.net to get a copy of this message | ||
Commit: 69c2e53419f123d3ee9b166fcd15ae1e921d175d
Author: Anatol Belski <ab@php.net> Sat, 4 Apr 2015 20:39:04 +0200
Parents: f51a9c71dd011f7d6879b326280adc05ae45f7f7
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=69c2e53419f123d3ee9b166fcd15ae1e921d175d
Log:
no more winxp, but really
Changed paths:
M main/streams/plain_wrapper.c
Diff:
diff --git a/main/streams/plain_wrapper.c b/main/streams/plain_wrapper.c
index ff4241b..bbd8cfb 100644
--- a/main/streams/plain_wrapper.c
+++ b/main/streams/plain_wrapper.c
@@ -1040,10 +1040,8 @@ static int php_plain_files_url_stater(php_stream_wrapper *wrapper, const char
*u
}
#ifdef PHP_WIN32
- if (EG(windows_version_info).dwMajorVersion >= 5) {
- if (flags & PHP_STREAM_URL_STAT_LINK) {
- return VCWD_LSTAT(url, &ssb->sb);
- }
+ if (flags & PHP_STREAM_URL_STAT_LINK) {
+ return VCWD_LSTAT(url, &ssb->sb);
}
#else
# ifdef HAVE_SYMLINK