* 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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user