diff options
author | Matthias Clasen <mclasen@redhat.com> | 2004-11-08 15:34:26 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2004-11-08 15:34:26 +0000 |
commit | 0631238743d968a39798ebc2f32eb1418ff697c6 (patch) | |
tree | aaf1115677514f2b7306c89c91c7d5e7d6c286e3 /ChangeLog.pre-2-6 | |
parent | 6a1d7478d76455ef6dacaf091e1ef8d24afea733 (diff) | |
download | glib-0631238743d968a39798ebc2f32eb1418ff697c6.tar.gz |
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)
Diffstat (limited to 'ChangeLog.pre-2-6')
-rw-r--r-- | ChangeLog.pre-2-6 | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index ead6b15ed..07ce92a54 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -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 |