Dan Winship 74dad004d1 GUnixInput/OutputStream: fix blocking methods to always block
Previously, if you created a GUnixInputStream or GUnixOutputStream
from a non-blocking file descriptor, it might sometimes return
G_IO_ERROR_WOULD_BLOCK from g_input_stream_read/g_output_stream_write,
which is wrong. Fix that. (Use the GPollableInput/OutputStream methods
if you want non-blocking I/O.)

Also, add a test for this to gio/tests/unix-streams.

Also, fix the GError messages to say "Error reading from file
descriptor", etc instead of "Error reading from unix" (which was
presumably from a bad search and replace job).

https://bugzilla.gnome.org/show_bug.cgi?id=626866
2011-11-14 18:31:21 -05:00
..
2010-07-05 00:56:12 -04:00
2011-10-16 00:08:42 -04:00
2011-07-27 16:23:33 -04:00
2011-07-27 16:23:33 -04:00
2011-07-27 16:23:33 -04:00
2011-07-27 16:23:33 -04:00
2011-07-27 16:23:33 -04:00
2010-07-05 03:09:36 -04:00
2010-04-17 01:48:05 -04:00
2010-06-09 10:32:36 +02:00
2010-11-27 16:56:44 -05:00
2011-10-13 01:00:57 -04:00
2011-10-13 01:00:57 -04:00
2011-10-13 01:00:57 -04:00
2011-10-13 01:00:57 -04:00
2011-10-13 01:00:57 -04:00
2011-10-16 21:41:15 -04:00
2011-10-16 21:41:15 -04:00
2011-07-27 16:23:33 -04:00
2011-07-27 16:23:33 -04:00
2011-05-23 13:05:49 -04:00
2011-09-26 16:54:23 -04:00
2011-07-27 16:23:33 -04:00
2010-04-17 01:48:05 -04:00
2010-11-26 15:08:08 -05:00
2010-09-03 15:44:28 -04:00
2011-10-13 01:00:57 -04:00
2011-10-13 01:00:57 -04:00
2011-10-13 01:00:57 -04:00
2011-10-13 01:00:57 -04:00
2011-10-13 01:00:57 -04:00
2011-10-16 16:09:33 -04:00