1999-02-07 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gutil.c (my_system_get_child_pid): Fix. We always wait for the child process.
Этот коммит содержится в:
родитель
90bcdf1107
Коммит
faa8560535
@ -1,5 +1,8 @@
|
|||||||
1999-02-07 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
1999-02-07 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
||||||
|
|
||||||
|
* 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.
|
* gtkdtree.c (gtk_dtree_lookup_dir): Scan the whole tree.
|
||||||
Appanrently now the nodes expose are not ordered, but can contain
|
Appanrently now the nodes expose are not ordered, but can contain
|
||||||
holes and gaps
|
holes and gaps
|
||||||
|
@ -95,11 +95,7 @@ int my_system_get_child_pid (int flags, const char *shell, const char *command,
|
|||||||
*/
|
*/
|
||||||
_exit (0);
|
_exit (0);
|
||||||
}
|
}
|
||||||
if (*pid != 0 && (flags & EXECUTE_WAIT)){
|
|
||||||
int status;
|
|
||||||
|
|
||||||
waitpid (*pid, &status, 0);
|
waitpid (*pid, &status, 0);
|
||||||
}
|
|
||||||
sigaction (SIGINT, &save_intr, NULL);
|
sigaction (SIGINT, &save_intr, NULL);
|
||||||
sigaction (SIGQUIT, &save_quit, NULL);
|
sigaction (SIGQUIT, &save_quit, NULL);
|
||||||
sigaction (SIGTSTP, &save_stop, NULL);
|
sigaction (SIGTSTP, &save_stop, NULL);
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user