Bug #60455 [Asn->Csd]: stream_get_line reports two lines instead of one

From: Date: Sat, 01 Sep 2012 16:15:30 +0000
Subject: Bug #60455 [Asn->Csd]: stream_get_line reports two lines instead of one
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-173095@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=60455&edit=1 ID: 60455 Updated by: cataphract@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] rasmus@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] rasmus@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] laruence@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] laruence@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] stas@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

« previous php.bugs (#173095) next »