Revert patch r1.40, bug is in glob() not IS_ABSOLUTE_PATH()

This commit is contained in:
Ilia Alshanetsky 2003-09-20 02:06:42 +00:00
parent 142c325f23
commit e010d8ac9b

View File

@ -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