+2005-09-11 Kjartan Maraas <kmaraas@gnome.org>
+
+ * glib/gmain.c: (g_child_watch_prepare), (g_child_watch_check),
+ (child_watch_helper_thread): Remove some dead code. Closes
+ bug #315278.
+
2005-09-07 Tor Lillqvist <tml@novell.com>
* glib/Makefile.am: Create also a console version of the
+2005-09-11 Kjartan Maraas <kmaraas@gnome.org>
+
+ * glib/gmain.c: (g_child_watch_prepare), (g_child_watch_check),
+ (child_watch_helper_thread): Remove some dead code. Closes
+ bug #315278.
+
2005-09-07 Tor Lillqvist <tml@novell.com>
* glib/Makefile.am: Create also a console version of the
+2005-09-11 Kjartan Maraas <kmaraas@gnome.org>
+
+ * glib/gmain.c: (g_child_watch_prepare), (g_child_watch_check),
+ (child_watch_helper_thread): Remove some dead code. Closes
+ bug #315278.
+
2005-09-07 Tor Lillqvist <tml@novell.com>
* glib/Makefile.am: Create also a console version of the
g_child_watch_prepare (GSource *source,
gint *timeout)
{
- GChildWatchSource *child_watch_source;
*timeout = -1;
- child_watch_source = (GChildWatchSource *) source;
-
return check_for_child_exited (source);
}
static gboolean
g_child_watch_check (GSource *source)
{
- GChildWatchSource *child_watch_source;
-
- child_watch_source = (GChildWatchSource *) source;
-
return check_for_child_exited (source);
}
static gpointer
child_watch_helper_thread (gpointer data)
{
- GPollFD fds;
- GPollFunc poll_func;
-
-#ifdef HAVE_POLL
- poll_func = (GPollFunc)poll;
-#else
- poll_func = g_poll;
-#endif
-
- fds.fd = child_watch_wake_up_pipe[0];
- fds.events = G_IO_IN;
-
while (1)
{
gchar b[20];
}
G_UNLOCK (main_context_list);
}
- return NULL;
}
static void