GNOME Bugzilla – Bug 562393
g_buffered_input_stream_read_byte broken if data available
Last modified: 2008-11-28 06:14:23 UTC
If data is available (in the buffer), g_buffered_input_stream_read_byte will skip over returning it. Patch coming.
Created attachment 123500 [details] [review] Fix data availability condition in g_buffered_input_stream_read_byte.
2008-11-28 Matthias Clasen <mclasen@redhat.com> Bug 562393 – g_buffered_input_stream_read_byte broken if data available * gio/gbufferedinputstream.c (g_buffered_input_stream_read_byte): Fix handling of buffered content. Patch by Philip Withnall * gio/tests/buffered-input-stream.c: Add a testcase for this bug. * gio/tests/Makefile.am: And build it