mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-05 00:43:40 +02:00
Initialize child_watch_count to 1, so that we don't miss the very first
2004-11-08 Matthias Clasen <mclasen@redhat.com> * glib/gmain.c: Initialize child_watch_count to 1, so that we don't miss the very first child if it exits before we set up the child watch. In that case we had previously source->count == child_watch_count == 0, causing g_child_watch_check() to skip the waitpid() call. (#154827, Gustavo Carneiro) * glib/gmain.c (g_child_watch_source_init_single) (g_child_watch_source_init_multi_threaded): Use sigaction() instead of signal(). (#136867, Jonas Jonsson, patch by Archana Shah)
This commit is contained in:
committed by
Matthias Clasen
parent
6a1d7478d7
commit
0631238743
@@ -1,3 +1,17 @@
|
||||
2004-11-08 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/gmain.c: Initialize child_watch_count to 1, so
|
||||
that we don't miss the very first child if it exits
|
||||
before we set up the child watch. In that case we had
|
||||
previously source->count == child_watch_count == 0,
|
||||
causing g_child_watch_check() to skip the waitpid()
|
||||
call. (#154827, Gustavo Carneiro)
|
||||
|
||||
* glib/gmain.c (g_child_watch_source_init_single)
|
||||
(g_child_watch_source_init_multi_threaded): Use sigaction()
|
||||
instead of signal(). (#136867, Jonas Jonsson, patch by
|
||||
Archana Shah)
|
||||
|
||||
2004-11-07 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/gutils.c (g_get_any_init): Work around an bug
|
||||
|
Reference in New Issue
Block a user