]> granicus.if.org Git - php/commitdiff
NetWare allows directory seperator as \ and /
authorAnantha Kesari H Y <hyanantha@php.net>
Tue, 1 Mar 2005 14:59:37 +0000 (14:59 +0000)
committerAnantha Kesari H Y <hyanantha@php.net>
Tue, 1 Mar 2005 14:59:37 +0000 (14:59 +0000)
ext/standard/string.c

index 1b8916ec0b60b90144ee8af17ad1869357d5b204..6e5bab7d87218f8ecd05241dae749833f8815ef3 100644 (file)
@@ -1142,7 +1142,7 @@ PHPAPI void php_basename(char *s, size_t len, char *suffix, size_t sufflen, char
                        case 0:
                                goto quit_loop;
                        case 1:
-#ifdef PHP_WIN32
+#if defined(PHP_WIN32) || defined(NETWARE)
                                if (*c == '/' || *c == '\\') {
 #else
                                if (*c == '/') {