]> granicus.if.org Git - php/commit
zend_stream_getc uses fread internally. NetWare LibC fread reads 4(Which I believe...
authorAnantha Kesari H Y <hyanantha@php.net>
Thu, 7 Jul 2005 15:43:50 +0000 (15:43 +0000)
committerAnantha Kesari H Y <hyanantha@php.net>
Thu, 7 Jul 2005 15:43:50 +0000 (15:43 +0000)
commit82da3f50746d4d49bdf9f14d2daa30b472e3576c
treef1c85139bc611a2498e6d97fa0ed4a0f53c04218
parent5fe199fb0fb71bab90a293fafb2ac2b3a37bbbba
zend_stream_getc uses fread internally. NetWare LibC fread reads 4(Which I believe EOT) for EOF(^D) character. This happens when fread is asked to read one and only character as is the case with cl interactive mode.
-- Kamesh
Zend/zend_stream.c