From 033a45903c063b118c4a293a2762da70fe75199d Mon Sep 17 00:00:00 2001 From: Anantha Kesari H Y Date: Tue, 1 Mar 2005 14:59:37 +0000 Subject: [PATCH] NetWare allows directory seperator as \ and / --- ext/standard/string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/standard/string.c b/ext/standard/string.c index 1b8916ec0b..6e5bab7d87 100644 --- a/ext/standard/string.c +++ b/ext/standard/string.c @@ -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 == '/') { -- 2.40.0