This is the mail archive of the
cygwin-cvs@cygwin.com
mailing list for the Cygwin project.
winsup/cygwin ChangeLog dcrt0.cc fork.cc init.cc
- From: cgf at cygwin dot com
- To: cygwin-cvs at cygwin dot com
- Date: 28 Sep 2005 15:18:50 -0000
- Subject: winsup/cygwin ChangeLog dcrt0.cc fork.cc init.cc
CVSROOT: /cvs/uberbaum
Module name: winsup
Changes by: cgf@sourceware.org 2005-09-28 15:18:49
Modified files:
cygwin : ChangeLog dcrt0.cc fork.cc init.cc
Log message:
* 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.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaum&r1=1.3130&r2=1.3131
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/dcrt0.cc.diff?cvsroot=uberbaum&r1=1.265&r2=1.266
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fork.cc.diff?cvsroot=uberbaum&r1=1.164&r2=1.165
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/init.cc.diff?cvsroot=uberbaum&r1=1.57&r2=1.58