* exceptions.cc (set_signal_mask): Remove useless debugging output.
* fhandler.cc (fhandler_base::write): Ditto. (fhandler_base_overlapped::close): Cancel any ongoing I/O before closing. * syscalls.cc (write): Default to always reporting all writes in strace output via syscall_printf. * wait.cc (wait4): Fix debugging output. Use standard syscall leaver output.
This commit is contained in:
@@ -1170,10 +1170,7 @@ write (int fd, const void *ptr, size_t len)
|
||||
res = cfd->write (ptr, len);
|
||||
|
||||
done:
|
||||
if (fd == 1 || fd == 2)
|
||||
paranoid_printf ("%R = write(%d, %p, %d)", res, fd, ptr, len);
|
||||
else
|
||||
syscall_printf ("%R = write(%d, %p, %d)", res, fd, ptr, len);
|
||||
syscall_printf ("%R = write(%d, %p, %d)", res, fd, ptr, len);
|
||||
|
||||
MALLOC_CHECK;
|
||||
return res;
|
||||
|
Reference in New Issue
Block a user