projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41ce91d
)
Fix build on !unix
author
Matthias Clasen
<mclasen@redhat.com>
Sun, 22 Aug 2010 02:14:28 +0000
(22:14 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Sun, 22 Aug 2010 02:14:28 +0000
(22:14 -0400)
There was one code block still referring to fd_list outside of
the ifdef G_OS_UNIX. Pointed out by Sam Thursfield in bug 627392.
gio/gdbusprivate.c
patch
|
blob
|
history
diff --git
a/gio/gdbusprivate.c
b/gio/gdbusprivate.c
index
d4d7a0b
..
2e4a104
100644
(file)
--- a/
gio/gdbusprivate.c
+++ b/
gio/gdbusprivate.c
@@
-1007,6
+1007,7
@@
write_message_continue_writing (MessageToWriteData *data)
#endif
else
{
+#ifdef G_OS_UNIX
if (fd_list != NULL)
{
g_simple_async_result_set_error (simple,
@@
-1018,6
+1019,7
@@
write_message_continue_writing (MessageToWriteData *data)
g_object_unref (simple);
goto out;
}
+#endif
g_output_stream_write_async (ostream,
(const gchar *) data->blob + data->total_written,