summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/dll_init.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2011-05-28 20:09:04 +0000
committerChristopher Faylor <me@cgf.cx>2011-05-28 20:09:04 +0000
commit855108782321cee83378b069fe89343f191ba28c (patch)
treec8f31468bc92438229be72cef33c990d8f069c4d /winsup/cygwin/dll_init.cc
parentbeaedec5453dec03fa3646f9c98847aaf4c2d9f4 (diff)
downloadcygnal-855108782321cee83378b069fe89343f191ba28c.tar.gz
cygnal-855108782321cee83378b069fe89343f191ba28c.tar.bz2
cygnal-855108782321cee83378b069fe89343f191ba28c.zip
* dll_init.c (dll_list::load_after_fork): Don't clear in_forkee here.
* fork.cc (frok::errmsg): Rename from 'error'. (frok::error): New function. Handle conditional printing of error messages. (frok::parent): Record hchild handle for use by error function. Use throughout. Use error function rather than setting error pointer directly. (fork): Clear is_forkee here. Accommodate rename of 'error' to 'errmsg'. * sigproc.cc (child_info::proc_retry): Detect EXITCODE_FORK_FAILED.
Diffstat (limited to 'winsup/cygwin/dll_init.cc')
-rw-r--r--winsup/cygwin/dll_init.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/winsup/cygwin/dll_init.cc b/winsup/cygwin/dll_init.cc
index 3383944fe..68a974b7b 100644
--- a/winsup/cygwin/dll_init.cc
+++ b/winsup/cygwin/dll_init.cc
@@ -387,7 +387,6 @@ dll_list::load_after_fork (HANDLE parent)
preferred_block = reserve_at (d->name, (DWORD) h);
}
- in_forkee = false;
}
struct dllcrt0_info