MFH: 45a6f8d for 5.4.
authorGustavo André dos Santos Lopes <cataphract@php.net>
Mon, 19 Mar 2012 16:28:10 +0000 (16:28 +0000)
committerGustavo André dos Santos Lopes <cataphract@php.net>
Mon, 19 Mar 2012 16:34:31 +0000 (16:34 +0000)
commit9a460497da3cc2b755f4628350756427fc0a1051
tree03d3031a78763be85b261a90ee6a68673300642b
parent53e3467ff233af4a40626f86ea8a61880722beb8
MFH: 45a6f8d for 5.4.

- 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.
ext/standard/tests/streams/bug60455_02.phpt
ext/standard/tests/streams/bug60455_03.phpt
ext/standard/tests/streams/bug60455_04.phpt [new file with mode: 0644]
ext/standard/tests/streams/bug60817.phpt [new file with mode: 0644]
main/streams/streams.c