This is the mail archive of the
cygwin-cvs@cygwin.com
mailing list for the Cygwin project.
src/winsup/cygwin ChangeLog dtable.cc pipe.cc
- From: corinna at cygwin dot com
- To: cygwin-cvs at cygwin dot com
- Date: 30 Jun 2011 09:37:36 -0000
- Subject: src/winsup/cygwin ChangeLog dtable.cc pipe.cc
CVSROOT: /cvs/src
Module name: src
Changes by: corinna@sourceware.org 2011-06-30 09:37:36
Modified files:
winsup/cygwin : ChangeLog dtable.cc pipe.cc
Log message:
* dtable.cc (fh_oom): New static fhandler storage.
(fh_calloc): New static function. Add a comment to explain why this
is needed.
(cnew): Call fh_calloc as placement argument.
(build_fh_name): Check return code from cnew against address of
fh_oom to test for out of memory condition.
(fh_alloc): Ditto.
(build_fh_pc): Avoid a crash due to useing a NULL fhandler.
* pipe.cc (fhandler_pipe::create): Check if build_fh_dev returned a
valid pointer before using it.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.5418&r2=1.5419
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dtable.cc.diff?cvsroot=src&r1=1.227&r2=1.228
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/pipe.cc.diff?cvsroot=src&r1=1.129&r2=1.130