summaryrefslogtreecommitdiff
path: root/win32/ioutil.h
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2018-07-12 11:38:18 +0200
committerAnatol Belski <ab@php.net>2018-07-12 11:38:18 +0200
commit0834679e40555bb8936a096cd7deda3841239985 (patch)
treeead72a71981a1ca5d70d42f7a20bbdfad250046d /win32/ioutil.h
parent129c5c1181bf344b37e13fd6dc5dfe76c13d7208 (diff)
parent9443c61928b986deedadc7e5b63451e20dba6c1e (diff)
downloadphp-git-0834679e40555bb8936a096cd7deda3841239985.tar.gz
Merge branch 'PHP-7.2'
* PHP-7.2: Fix macro
Diffstat (limited to 'win32/ioutil.h')
-rw-r--r--win32/ioutil.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/ioutil.h b/win32/ioutil.h
index cc0f7ac1d3..2a396f67b6 100644
--- a/win32/ioutil.h
+++ b/win32/ioutil.h
@@ -131,7 +131,7 @@ typedef enum {
#define PHP_WIN32_IOUTIL_IS_JUNCTION_PATHW(pathw, path_lenw) (path_lenw >= PHP_WIN32_IOUTIL_JUNCTION_PREFIX_LENW \
&& 0 == wcsncmp((pathw), PHP_WIN32_IOUTIL_JUNCTION_PREFIXW, PHP_WIN32_IOUTIL_JUNCTION_PREFIX_LENW))
#define PHP_WIN32_IOUTIL_IS_ABSOLUTEW(pathw, path_lenw) (PHP_WIN32_IOUTIL_IS_LONG_PATHW(pathw, path_lenw) \
- || path_lenw >= 3 && PHP_WIN32_IOUTIL_IS_LETTERW(pathw[0]) && L':' == pathw[1] && IS_SLASHW(pathw[2]))
+ || path_lenw >= 3 && PHP_WIN32_IOUTIL_IS_LETTERW(pathw[0]) && L':' == pathw[1] && PHP_WIN32_IOUTIL_IS_SLASHW(pathw[2]))
#define PHP_WIN32_IOUTIL_IS_UNC(pathw, path_lenw) (path_lenw >= 2 && PHP_WIN32_IOUTIL_IS_SLASHW(pathw[0]) && PHP_WIN32_IOUTIL_IS_SLASHW(pathw[1]) \
|| path_lenw >= PHP_WIN32_IOUTIL_UNC_PATH_PREFIX_LENW && 0 == wcsncmp((pathw), PHP_WIN32_IOUTIL_UNC_PATH_PREFIXW, PHP_WIN32_IOUTIL_UNC_PATH_PREFIX_LENW))