* fhandler_console.cc (fhandler_console::fixup_after_fork_exec): Make error

message more explicit.
* pinfo.cc (_pinfo::commune_request): Don't lock process unless we're looking
for fifos.
This commit is contained in:
Christopher Faylor
2006-03-23 23:58:52 +00:00
parent 3eb92a58f8
commit f12c262a43
3 changed files with 10 additions and 3 deletions

View File

@ -1804,12 +1804,12 @@ fhandler_console::fixup_after_fork_exec (bool execing)
bool sawerr = false;
if (!get_io_handle ())
{
system_printf ("error opening input console handle after fork/exec, errno %d, %E", get_errno ());
system_printf ("error opening input console handle for %s after fork/exec, errno %d, %E", get_name (), get_errno ());
sawerr = true;
}
if (!get_output_handle ())
{
system_printf ("error opening output console handle after fork/exec, errno %d, %E", get_errno ());
system_printf ("error opening output console handle for %s after fork/exec, errno %d, %E", get_name (), get_errno ());
sawerr = true;
}