diff options
author | Anatol Belski <ab@php.net> | 2018-07-11 13:16:04 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2018-07-11 13:16:04 +0200 |
commit | 871d0aa5cd01aba5f31f28b641e2b013ac46ec58 (patch) | |
tree | fd380333b83578c3d21ee1e51c47c327a0601c9e /win32 | |
parent | 14db98825af38c53a6df276574489b3b08a48558 (diff) | |
parent | cc266045a5cc32d839f9fbf0677d85beeef1bb06 (diff) | |
download | php-git-871d0aa5cd01aba5f31f28b641e2b013ac46ec58.tar.gz |
Merge branch 'PHP-7.2'
* PHP-7.2:
Fix condition
Diffstat (limited to 'win32')
-rw-r--r-- | win32/ioutil.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/ioutil.c b/win32/ioutil.c index 9e54e96342..2ff62e3b6c 100644 --- a/win32/ioutil.c +++ b/win32/ioutil.c @@ -296,7 +296,7 @@ PW32IO int php_win32_ioutil_mkdir_w(const wchar_t *path, mode_t mode) PHP_WIN32_IOUTIL_CHECK_PATH_W(path, -1, 0) path_len = wcslen(path); - if (path_len < _MAX_PATH && path_len > _MAX_PATH - 12) { + if (path_len < _MAX_PATH && path_len >= _MAX_PATH - 12) { /* Special case here. From the doc: "When using an API to create a directory, the specified path cannot be |