]> granicus.if.org Git - php/commitdiff
COPY_WHEN_ABSOLUTE is not needed for NetWare.
authorAnantha Kesari H Y <hyanantha@php.net>
Thu, 7 Jul 2005 06:52:44 +0000 (06:52 +0000)
committerAnantha Kesari H Y <hyanantha@php.net>
Thu, 7 Jul 2005 06:52:44 +0000 (06:52 +0000)
-- Kamesh

TSRM/tsrm_virtual_cwd.h

index 1a61ea2a91856eded7583932e9262f5102c77c7c..7e56c029ef6e2c01f26ebf485b4c30a3e0864aea 100644 (file)
@@ -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] == '\\'))))