mirror of
https://github.com/php/php-src.git
synced 2024-11-23 18:04:36 +08:00
Revert patch r1.40, bug is in glob() not IS_ABSOLUTE_PATH()
This commit is contained in:
parent
142c325f23
commit
e010d8ac9b
@ -63,7 +63,7 @@ typedef unsigned short mode_t;
|
||||
#define IS_UNC_PATH(path, len) \
|
||||
(len >= 2 && IS_SLASH(path[0]) && IS_SLASH(path[1]))
|
||||
#define IS_ABSOLUTE_PATH(path, len) \
|
||||
((len >= 2 && ((isalpha(path[0]) && path[1] == ':') || IS_UNC_PATH(path, len))) || (len >= 1 && IS_SLASH(path[0])))
|
||||
(len >= 2 && ((isalpha(path[0]) && path[1] == ':') || IS_UNC_PATH(path, len)))
|
||||
|
||||
#elif defined(NETWARE)
|
||||
#ifdef HAVE_DIRENT_H
|
||||
|
Loading…
Reference in New Issue
Block a user