CVSROOT:        /cvs/uberbaum
Module name:    winsup
Changes by:     [EMAIL PROTECTED]  2002-10-08 21:08:05

Modified files:
        cygwin         : ChangeLog cygheap.cc cygheap.h cygthread.cc 
                         fhandler.h fhandler_console.cc fork.cc spawn.cc 

Log message:
        * cygheap.cc (dup_now): Make fatal error a little more informative.
        (cygheap_setup_for_child): Detect when default size of shared region is less
        than the current size and allocate that much.
        (_cbrk): Just return NULL on inability to allocate.
        (_cmalloc): Ditto.
        * cygheap.h (CYGHEAPSIZE): Change size to reflect newer, tinier fhandler sizes.
        * spawn.cc (av::error): New element, reflects potential errno from cmalloc.
        (av::~av): Don't free NULL pointers.
        (av::replace0_maybe): Detect out-of-memory conditions.
        (av::dup_maybe): Ditto.
        (av::dup_all): Ditto.
        (av::unshift): Ditto.
        (spawn_guts): Set errno and return if argv creation ran into problems.
        * fhandler.h (fhandler_union): Change member names to something safer.
        * fhandler_console.cc (fhandler_console::get_tty_stuff): Always set
        fhandler_console::dev_state regardless of whether shared region is initialized.
        * cygthread.cc (cygthread::runner): Use ExitThread rather than return
        (planning for future).

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaum&r1=1.1522&r2=1.1523
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/cygheap.cc.diff?cvsroot=uberbaum&r1=1.71&r2=1.72
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/cygheap.h.diff?cvsroot=uberbaum&r1=1.54&r2=1.55
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/cygthread.cc.diff?cvsroot=uberbaum&r1=1.10&r2=1.11
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler.h.diff?cvsroot=uberbaum&r1=1.141&r2=1.142
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_console.cc.diff?cvsroot=uberbaum&r1=1.88&r2=1.89
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fork.cc.diff?cvsroot=uberbaum&r1=1.95&r2=1.96
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/spawn.cc.diff?cvsroot=uberbaum&r1=1.114&r2=1.115

Reply via email to