[PHP-CVS] cvs: php4 /ext/standard file.c /main php_streams.h streams.c

2002-10-19 Thread Wez Furlong
wez Sat Oct 19 09:11:48 2002 EDT Modified files: /php4/main streams.c php_streams.h /php4/ext/standard file.c Log: made fgets() binary safe. php_stream_gets is now a macro which calls php_stream_get_line. The latter has an option argument to return

Re: [PHP-CVS] cvs: php4 /ext/standard file.c /main php_streams.h streams.c

2002-10-18 Thread Ilia A.
On October 18, 2002 05:04 pm, Rasmus Lerdorf wrote: On October 18, 2002 04:40 pm, Rasmus Lerdorf wrote: Fixed bug #19971 (optimized the file() function). The file() function is now also binary safe. That's a bit misleading. By definition file() cannot be binary-safe in that

Re: [PHP-CVS] cvs: php4 /ext/standard file.c /main php_streams.h streams.c

2002-10-18 Thread Ilia A.
On October 18, 2002 04:40 pm, Rasmus Lerdorf wrote: Fixed bug #19971 (optimized the file() function). The file() function is now also binary safe. That's a bit misleading. By definition file() cannot be binary-safe in that \n is treated specially. Not quite, in the old code (4.2.3)