* dtable.cc (dtable::fixup_after_fork): Revert thinko below.
* pinfo.cc (set_myself): Show pid in initial strace line.
This commit is contained in:
parent
1ec4f618fe
commit
ee20f060a8
@ -1,3 +1,8 @@
|
||||
Thu Oct 12 23:11:05 2000 Christopher Faylor <cgf@cygnus.com>
|
||||
|
||||
* dtable.cc (dtable::fixup_after_fork): Revert thinko below.
|
||||
* pinfo.cc (set_myself): Show pid in initial strace line.
|
||||
|
||||
Thu Oct 12 17:58:03 2000 Christopher Faylor <cgf@cygnus.com>
|
||||
|
||||
* child_info: Bump child_info "version".
|
||||
|
@ -472,9 +472,7 @@ dtable::fixup_after_fork (HANDLE parent)
|
||||
for (size_t i = 0; i < size; i++)
|
||||
if ((fh = fds[i]) != NULL)
|
||||
{
|
||||
if (fds[i]->get_close_on_exec ())
|
||||
release (i);
|
||||
else if (fh->get_need_fork_fixup ())
|
||||
if (fds[i]->get_close_on_exec () || fh->get_need_fork_fixup ())
|
||||
{
|
||||
debug_printf ("fd %d(%s)", i, fh->get_name ());
|
||||
fh->fixup_after_fork (parent);
|
||||
|
@ -54,7 +54,7 @@ set_myself (pid_t pid, HANDLE h)
|
||||
{
|
||||
extern char osname[];
|
||||
strace.prntf (1, NULL, "**********************************************");
|
||||
strace.prntf (1, NULL, "Program name: %s", myself->progname);
|
||||
strace.prntf (1, NULL, "Program name: %s (%d)", myself->progname, myself->pid);
|
||||
strace.prntf (1, NULL, "App version: %d.%d, api: %d.%d",
|
||||
user_data->dll_major, user_data->dll_minor,
|
||||
user_data->api_major, user_data->api_minor);
|
||||
|
Loading…
x
Reference in New Issue
Block a user