diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2011-06-30 09:37:36 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2011-06-30 09:37:36 +0000 |
commit | 9e1fd6bcf72c6cd45be5e4bb50ce604564e5706e (patch) | |
tree | 625ca41687e74b05628f12776547bd806062254f /winsup/cygwin/fhandler.h | |
parent | 53ffbf09d5b2a7ef94a7cdd1ccd488b880814352 (diff) | |
download | cygnal-9e1fd6bcf72c6cd45be5e4bb50ce604564e5706e.tar.gz cygnal-9e1fd6bcf72c6cd45be5e4bb50ce604564e5706e.tar.bz2 cygnal-9e1fd6bcf72c6cd45be5e4bb50ce604564e5706e.zip |
* 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.
Diffstat (limited to 'winsup/cygwin/fhandler.h')
0 files changed, 0 insertions, 0 deletions