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 /ext/standard/string.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 'ext/standard/string.c')
-rw-r--r-- | ext/standard/string.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/string.c b/ext/standard/string.c index 4389e10702..ec4b021ca2 100644 --- a/ext/standard/string.c +++ b/ext/standard/string.c @@ -1537,7 +1537,7 @@ PHPAPI zend_string *php_basename(const char *s, size_t len, char *suffix, size_t case 0: goto quit_loop; case 1: -#if defined(PHP_WIN32) || defined(NETWARE) +#if defined(PHP_WIN32) if (*c == '/' || *c == '\\') { #else if (*c == '/') { @@ -1546,7 +1546,7 @@ PHPAPI zend_string *php_basename(const char *s, size_t len, char *suffix, size_t state = 0; cend = c; } -#if defined(PHP_WIN32) || defined(NETWARE) +#if defined(PHP_WIN32) /* Catch relative paths in c:file.txt style. They're not to confuse with the NTFS streams. This part ensures also, that no drive letter traversing happens. */ |