mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-12-13 03:48:29 +01:00
A g_input_stream_read_async() implementation can't call g_input_stream_read() on itself directly because it will fail because the pending flag is already set. So fix that by invoking the vmethod directly rather than calling the wrapper. Likewise with GMemoryOutputStream. Add a test to gio/tests/memory-input-stream.c to catch read_async failures in the future.
6.3 KiB
6.3 KiB