diff --git a/gnome/ChangeLog b/gnome/ChangeLog index dca6ce10c..e37b03adc 100644 --- a/gnome/ChangeLog +++ b/gnome/ChangeLog @@ -1,5 +1,8 @@ 1999-02-07 Miguel de Icaza + * gutil.c (my_system_get_child_pid): Fix. We always wait for the + child process. + * gtkdtree.c (gtk_dtree_lookup_dir): Scan the whole tree. Appanrently now the nodes expose are not ordered, but can contain holes and gaps diff --git a/gnome/gutil.c b/gnome/gutil.c index 73f4a6909..b17ab3e5e 100644 --- a/gnome/gutil.c +++ b/gnome/gutil.c @@ -95,11 +95,7 @@ int my_system_get_child_pid (int flags, const char *shell, const char *command, */ _exit (0); } - if (*pid != 0 && (flags & EXECUTE_WAIT)){ - int status; - - waitpid (*pid, &status, 0); - } + waitpid (*pid, &status, 0); sigaction (SIGINT, &save_intr, NULL); sigaction (SIGQUIT, &save_quit, NULL); sigaction (SIGTSTP, &save_stop, NULL);