diff options
author | Christopher Faylor <me@cgf.cx> | 2005-09-28 15:18:49 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2005-09-28 15:18:49 +0000 |
commit | 280fdd0b67c3dbd3cee12bf6dbe363f222d98342 (patch) | |
tree | 483b37f8f41a0ce565559a2a5340f2fe5c3c9e57 /winsup/cygwin/init.cc | |
parent | 9edadc960e8bd94cbfd812156fed35557309e2f5 (diff) | |
download | cygnal-280fdd0b67c3dbd3cee12bf6dbe363f222d98342.tar.gz cygnal-280fdd0b67c3dbd3cee12bf6dbe363f222d98342.tar.bz2 cygnal-280fdd0b67c3dbd3cee12bf6dbe363f222d98342.zip |
* dcrt0.cc (getstack): New function.
(alloc_stack): Use tls stuff for stack info rather than calling VirtualQuery.
(dll_crt0_0): Initialize _impure_ptr stuff much earlier. Move
init_console_handler here.
* fork.cc (class frok): New class renamed from local fork() struct.
(stack_base): Change argument type. Use tls stuff to determine stack info
rather than calling VirtualQuery.
(frok::child): Rename from fork_child. Eliminate now unneeded arguments.
(frok::parent): Rename from fork_parent and ditto. Set error and errno as
appropriate. Fixup impersonation in cleanup, if needed. Try harder to set
errno appropriately.
(fork): Define "grouped" as a frok type. Deal with errors from fork_parent
here.
* init.cc (dll_entry): Remove init_console_handler call.
Diffstat (limited to 'winsup/cygwin/init.cc')
-rw-r--r-- | winsup/cygwin/init.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/winsup/cygwin/init.cc b/winsup/cygwin/init.cc index 96dda7c1e..655d89160 100644 --- a/winsup/cygwin/init.cc +++ b/winsup/cygwin/init.cc @@ -148,7 +148,6 @@ dll_entry (HANDLE h, DWORD reason, void *static_load) case DLL_PROCESS_ATTACH: cygwin_hmodule = (HMODULE) h; dynamically_loaded = (static_load == NULL); - init_console_handler (TRUE); /* Is the stack at an unusual address? This is, an address which is in the usual space occupied by the process image, but below |