diff options
author | Kalle Sommer Nielsen <kalle@php.net> | 2016-11-12 11:20:01 +0100 |
---|---|---|
committer | Kalle Sommer Nielsen <kalle@php.net> | 2016-11-12 11:20:01 +0100 |
commit | 2104bea5d756dfa40b605a4a2765a3bc4637a76c (patch) | |
tree | 68be7fbf19a8acf7badda5cfc97a6b00fb36d4d7 /main/streams/glob_wrapper.c | |
parent | b3093082fdca748846c37dd52c9b0e978cc772f4 (diff) | |
download | php-git-2104bea5d756dfa40b605a4a2765a3bc4637a76c.tar.gz |
Remove Netware support
If this does not break the Unix system somehow, I'll be amazed. This should get most of it out, apologies for any errors this may cause on non-Windows ends which I cannot test atm.
Diffstat (limited to 'main/streams/glob_wrapper.c')
-rw-r--r-- | main/streams/glob_wrapper.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/streams/glob_wrapper.c b/main/streams/glob_wrapper.c index d542e336e3..bae22dd6ab 100644 --- a/main/streams/glob_wrapper.c +++ b/main/streams/glob_wrapper.c @@ -116,7 +116,7 @@ static void php_glob_stream_path_split(glob_s_t *pglob, const char *path, int ge if ((pos = strrchr(path, '/')) != NULL) { path = pos+1; } -#if defined(PHP_WIN32) || defined(NETWARE) +#ifdef PHP_WIN32 if ((pos = strrchr(path, '\\')) != NULL) { path = pos+1; } @@ -240,7 +240,7 @@ static php_stream *php_glob_stream_opener(php_stream_wrapper *wrapper, const cha if ((tmp = strrchr(pos, '/')) != NULL) { pos = tmp+1; } -#if defined(PHP_WIN32) || defined(NETWARE) +#ifdef PHP_WIN32 if ((tmp = strrchr(pos, '\\')) != NULL) { pos = tmp+1; } |