2008-10-09 Alexander Larsson <alexl@redhat.com>
* gunixinputstream.c (g_unix_input_stream_read):
Actually return -1 in case of cancelled, not old res value.
svn path=/trunk/; revision=7583
+2008-10-09 Alexander Larsson <alexl@redhat.com>
+
+ * gunixinputstream.c (g_unix_input_stream_read):
+ Actually return -1 in case of cancelled, not old res value.
+
2008-10-06 Colin Walters <walters@verbum.org>
Bug 554745 - GFileAttributeInfoList should be boxed
while (1)
{
if (g_cancellable_set_error_if_cancelled (cancellable, error))
- break;
+ return -1;
res = read (unix_stream->priv->fd, buffer, count);
if (res == -1)
{