Edit report at https://bugs.php.net/bug.php?id=60455&edit=1
ID: 60455 Updated by: cataphr...@php.net Reported by: jakub dot lopuszanski at nasza-klasa dot pl Summary: stream_get_line reports two lines instead of one -Status: Assigned +Status: Closed Type: Bug Package: Streams related Operating System: linux PHP Version: Irrelevant Assigned To: cataphract Block user comment: N Private report: N Previous Comments: ------------------------------------------------------------------------ [2012-07-24 23:38:07] ras...@php.net Automatic comment on behalf of cataphract Revision: http://git.php.net/?p=php-src.git;a=commit;h=faec3c51110baa0269124832274d138c48f86d0f Log: - Fixed bug #60455: stream_get_line misbehaves if EOF is not detected together with the last read. ------------------------------------------------------------------------ [2012-07-24 23:37:37] ras...@php.net Automatic comment on behalf of cataphract Revision: http://git.php.net/?p=php-src.git;a=commit;h=f5a457318217a66fddc0d47af04a00f144dcbcec Log: - Further fix for bug #60455 (stream_get_line misbehaves if EOF is not detected together with the last read). - Fixed bug #60817 (stream_get_line() reads from stream even when there is already sufficient data buffered). stream_get_line() now behaves more like fgets(), as is documented. #withheld commit to 5.4 ------------------------------------------------------------------------ [2012-04-18 09:46:58] larue...@php.net Automatic comment on behalf of cataphract Revision: http://git.php.net/?p=php-src.git;a=commit;h=faec3c51110baa0269124832274d138c48f86d0f Log: - Fixed bug #60455: stream_get_line misbehaves if EOF is not detected together with the last read. ------------------------------------------------------------------------ [2012-04-18 09:46:26] larue...@php.net Automatic comment on behalf of cataphract Revision: http://git.php.net/?p=php-src.git;a=commit;h=f5a457318217a66fddc0d47af04a00f144dcbcec Log: - Further fix for bug #60455 (stream_get_line misbehaves if EOF is not detected together with the last read). - Fixed bug #60817 (stream_get_line() reads from stream even when there is already sufficient data buffered). stream_get_line() now behaves more like fgets(), as is documented. #withheld commit to 5.4 ------------------------------------------------------------------------ [2012-03-05 01:55:49] s...@php.net Reopened to track 5.4. Please merge into 5.4 and close. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=60455 -- Edit this bug report at https://bugs.php.net/bug.php?id=60455&edit=1