]> granicus.if.org Git - php/commit
- Fixed forward stream seeking emulation in streams that don't support seeking
authorGustavo André dos Santos Lopes <cataphract@php.net>
Wed, 13 Oct 2010 03:13:29 +0000 (03:13 +0000)
committerGustavo André dos Santos Lopes <cataphract@php.net>
Wed, 13 Oct 2010 03:13:29 +0000 (03:13 +0000)
commit14a54b903e952a9f99bf5a4bf4639ab2e105b1c4
tree82bd52c3054e2b3f0b2decfaa5ed251013f97d6d
parentd46dcd301eb75a25cc6f96d708a57e96dcec7816
- Fixed forward stream seeking emulation in streams that don't support seeking
  in situations where the read operation gives back less data than requested
  and when there was data in the buffer before the emulation started. Also made
  more consistent its behavior -- should return failure every time less data
  than was requested was skipped.
- Small performance improvement by correcting off-by-one error that generate an
  invalid call to the seek handler or read handler. in _php_stream_seek.
NEWS
main/streams/streams.c