Don't call waitpid() on a source that has already exited.
authorOwen Taylor <otaylor@redhat.com>
Mon, 1 Mar 2004 20:56:47 +0000 (20:56 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Mon, 1 Mar 2004 20:56:47 +0000 (20:56 +0000)
commit44ef9006758b4bfd899b4ba9b46b69528ed070f5
tree68a5207c5b0d396f2c9d281646ffc0c6a6aae3d0
parentfed19fc424e38c2575f51e82218e35568a512631
Don't call waitpid() on a source that has already exited.

Mon Mar  1 15:49:09 2004  Owen Taylor  <otaylor@redhat.com>

        * glib/gmain.c (check_for_child_exited): Don't
        call waitpid() on a source that has already exited.

        * glib/gmain.c (g_child_watch_check): Return TRUE
        only if the child actually exited.
ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
glib/gmain.c