diff options
author | Anatol Belski <ab@php.net> | 2018-07-11 13:13:56 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2018-07-11 13:13:56 +0200 |
commit | cc266045a5cc32d839f9fbf0677d85beeef1bb06 (patch) | |
tree | e5bcdd74844d0fc959805a335dbe8ee6ea4353f1 | |
parent | a766f65ca36d3f5223f78c5309fa79352ce20b76 (diff) | |
parent | 98102648cb8a86facd025adefbf1dafc73537750 (diff) | |
download | php-git-cc266045a5cc32d839f9fbf0677d85beeef1bb06.tar.gz |
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Fix condition
-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 7cfe1de6b2..9a13c1cd6e 100644 --- a/win32/ioutil.c +++ b/win32/ioutil.c @@ -311,7 +311,7 @@ PW32IO int php_win32_ioutil_mkdir(const char *path, mode_t mode) int ret = 0; DWORD err = 0; - if (pathw_len < _MAX_PATH && pathw_len > _MAX_PATH - 12) { + if (pathw_len < _MAX_PATH && pathw_len >= _MAX_PATH - 12) { /* Special case here. From the doc: "When using an API to create a directory, the specified path cannot be |