From: Anantha Kesari H Y Date: Thu, 7 Jul 2005 06:52:44 +0000 (+0000) Subject: COPY_WHEN_ABSOLUTE is not needed for NetWare. X-Git-Tag: php-5.1.0b3~154 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e61dfb0213ff0b52898238c31994cb8c72e77339;p=php COPY_WHEN_ABSOLUTE is not needed for NetWare. -- Kamesh --- diff --git a/TSRM/tsrm_virtual_cwd.h b/TSRM/tsrm_virtual_cwd.h index 1a61ea2a91..7e56c029ef 100644 --- a/TSRM/tsrm_virtual_cwd.h +++ b/TSRM/tsrm_virtual_cwd.h @@ -74,8 +74,6 @@ typedef unsigned short mode_t; #define DEFAULT_DIR_SEPARATOR ';' #define IS_SLASH(c) ((c) == '/' || (c) == '\\') #define IS_SLASH_P(c) IS_SLASH(*(c)) -#define COPY_WHEN_ABSOLUTE(path) \ - (strchr(path, ':') - path + 1) /* Take the volume name which ends with a colon */ /* Colon indicates volume name, either first character should be forward slash or backward slash */ #define IS_ABSOLUTE_PATH(path, len) \ ((strchr(path, ':') != NULL) || ((len >= 1) && ((path[0] == '/') || (path[0] == '\\'))))