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 /Zend/zend_stream.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 'Zend/zend_stream.c')
-rw-r--r-- | Zend/zend_stream.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/Zend/zend_stream.c b/Zend/zend_stream.c index b3553bd3cc..680a50aea0 100644 --- a/Zend/zend_stream.c +++ b/Zend/zend_stream.c @@ -156,16 +156,7 @@ static size_t zend_stream_read(zend_file_handle *file_handle, char *buf, size_t int c = '*'; size_t n; -#ifdef NETWARE - /* - c != 4 check is there as fread of a character in NetWare LibC gives 4 upon ^D character. - Ascii value 4 is actually EOT character which is not defined anywhere in the LibC - or else we can use instead of hardcoded 4. - */ - for (n = 0; n < len && (c = zend_stream_getc(file_handle)) != EOF && c != 4 && c != '\n'; ++n) { -#else for (n = 0; n < len && (c = zend_stream_getc(file_handle)) != EOF && c != '\n'; ++n) { -#endif buf[n] = (char)c; } if (c == '\n') { |