summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/fhandler.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2003-12-10 03:19:19 +0000
committerChristopher Faylor <me@cgf.cx>2003-12-10 03:19:19 +0000
commitce40c6baf7c779c6b2a63e41bf21596c96dff506 (patch)
tree7adc0990c03906310c1d68a519be24d33c3aecf0 /winsup/cygwin/fhandler.cc
parent7176387b4fadccb76d53f2298cddcca1cad331b5 (diff)
downloadcygnal-ce40c6baf7c779c6b2a63e41bf21596c96dff506.tar.gz
cygnal-ce40c6baf7c779c6b2a63e41bf21596c96dff506.tar.bz2
cygnal-ce40c6baf7c779c6b2a63e41bf21596c96dff506.zip
* fhandler_tty.cc (fhandler_tty_common::dup): Just copy cygheap->ctty to child
if duping the current ctty. (fhandler_tty_common::close): Move debugging statement earlier in function. (fhandler_tty_slave::close): Return success when closing ctty. * syscalls.cc (close_all_files): Avoid calling fhandler_tty_slave close method so that open_fhs will not be decremented when closing cygheap ctty. (setsid): Ditto. * dcrt0.cc (do_exit): Reorganize to avoid leaving a critical section active after vfork. * fhandler.h (fhandler_tty_slave::get_unit): Remove regparm parameter since it can't work in a virtualized function.
Diffstat (limited to 'winsup/cygwin/fhandler.cc')
0 files changed, 0 insertions, 0 deletions