OSDN Git Service

* debug.h (ModifyHandle): Define new macro.
authorcgf <cgf>
Thu, 25 May 2006 05:40:50 +0000 (05:40 +0000)
committercgf <cgf>
Thu, 25 May 2006 05:40:50 +0000 (05:40 +0000)
commit97ea77b43c39b18af2df808bb0251a285ee1827b
tree5e125e6c0f1c50e64bc087ff5b3ad6012537dbf1
parentb363bcfea0c05ae891f8b445a693db3d8a3c8ba4
* debug.h (ModifyHandle): Define new macro.
(modify_handle): Declare new function.
* debug.cc (modify_handle): Define new function.
* fhandler.h (fhandler_base::fork_fixup): Change return value from void to
bool.
* fhandler.cc (fhandler_base::fork_fixup): Return true if fork fixup has been
done.
* pipe.cc (fhandler_pipe::set_close_on_exec): Set inheritance of protected
handle via ModifyHandle if DEBUGGING.
(fhandler_pipe::fixup_after_fork): Protect guard handle if fork fixup has been
done.
winsup/cygwin/ChangeLog
winsup/cygwin/debug.cc
winsup/cygwin/debug.h
winsup/cygwin/fhandler.cc
winsup/cygwin/fhandler.h
winsup/cygwin/pipe.cc