]> granicus.if.org Git - php/commitdiff
no more winxp, but really
authorAnatol Belski <ab@php.net>
Sat, 4 Apr 2015 18:39:04 +0000 (20:39 +0200)
committerAnatol Belski <ab@php.net>
Sat, 4 Apr 2015 18:39:04 +0000 (20:39 +0200)
main/streams/plain_wrapper.c

index ff4241b563c7cf487d0c36975343eb92e42cf6d8..bbd8cfbb51e8452ebe5315a1afc8289f9dc35f80 100644 (file)
@@ -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