summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/fhandler_mem.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2005-09-28 15:18:49 +0000
committerChristopher Faylor <me@cgf.cx>2005-09-28 15:18:49 +0000
commit280fdd0b67c3dbd3cee12bf6dbe363f222d98342 (patch)
tree483b37f8f41a0ce565559a2a5340f2fe5c3c9e57 /winsup/cygwin/fhandler_mem.cc
parent9edadc960e8bd94cbfd812156fed35557309e2f5 (diff)
downloadcygnal-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/fhandler_mem.cc')
0 files changed, 0 insertions, 0 deletions