* sigproc.cc (proc_subproc): Remove unneeded test for correct process in

PROC_ADDCHILD.  Return 0 when terminated child has just been reparented.
(wait_subproc): Only send SIGCHLD when proc_subproc returns != 0.
* strace.cc (strace::vsprntf): Only strip .exe extension from program name.
This commit is contained in:
Christopher Faylor
2000-10-17 18:55:58 +00:00
parent e6f5c9d57d
commit 3f7bd53115
4 changed files with 18 additions and 14 deletions

View File

@@ -920,7 +920,7 @@ _fstat (int fd, struct stat *buf)
{
memset (buf, 0, sizeof (struct stat));
r = fdtab[fd]->fstat (buf);
syscall_printf ("%d = fstat (%d, %x)", r,fd,buf);
syscall_printf ("%d = fstat (%d, %x)", r, fd, buf);
}
return r;