mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1: Fix condition
This commit is contained in:
commit
cc266045a5
1 changed files with 1 additions and 1 deletions
|
@ -311,7 +311,7 @@ PW32IO int php_win32_ioutil_mkdir(const char *path, mode_t mode)
|
||||||
int ret = 0;
|
int ret = 0;
|
||||||
DWORD err = 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:
|
/* Special case here. From the doc:
|
||||||
|
|
||||||
"When using an API to create a directory, the specified path cannot be
|
"When using an API to create a directory, the specified path cannot be
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue