mirror of https://github.com/MidnightCommander/mc
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.
This commit is contained in:
parent
90bcdf1107
commit
faa8560535
|
@ -1,5 +1,8 @@
|
|||
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.
|
||||
Appanrently now the nodes expose are not ordered, but can contain
|
||||
holes and gaps
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
sigaction (SIGINT, &save_intr, NULL);
|
||||
sigaction (SIGQUIT, &save_quit, NULL);
|
||||
sigaction (SIGTSTP, &save_stop, NULL);
|
||||
|
|
Loading…
Reference in New Issue