From e010d8ac9b8cfcd575613286663ab54da2828f82 Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Sat, 20 Sep 2003 02:06:42 +0000 Subject: [PATCH] Revert patch r1.40, bug is in glob() not IS_ABSOLUTE_PATH() --- TSRM/tsrm_virtual_cwd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TSRM/tsrm_virtual_cwd.h b/TSRM/tsrm_virtual_cwd.h index c06f7b375cc..999bfe247bb 100644 --- a/TSRM/tsrm_virtual_cwd.h +++ b/TSRM/tsrm_virtual_cwd.h @@ -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