pkgsrc/net/ed2k-gtk-gui/patches/patch-aa
minskim cad04c6784 Do not try to read from pipes after spawning overnet. This is a
workaround for the problem that g_spawn_sync() in glib2 hangs in
running overnet>=1.0.
2004-12-18 21:45:22 +00:00

13 lines
472 B
Text

$NetBSD: patch-aa,v 1.1 2004/12/18 21:45:22 minskim Exp $
--- ed2k_gui/connect-dialog.c.orig 2004-12-18 15:16:52.000000000 -0600
+++ ed2k_gui/connect-dialog.c
@@ -1087,7 +1087,7 @@ connect_dialog_spawn_core (const gchar *
cmd = g_strdup_printf ("%s --daemon -g -l", corepath);
- g_spawn_command_line_sync (cmd, &sout, &serr, NULL, err);
+ g_spawn_command_line_sync (cmd, NULL, NULL, NULL, err);
if (sout && *sout)
g_print ("\tcore stdout = '%s'\n", sout);