4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-15 10:39:25 +08:00
Christopher Faylor 59297e0464 * cygheap.h (init_cygheap::manage_console_count): Declare new function.
(init_cygheap::console_count): Renamed from open_fhs.  Make private.
* cygheap.cc (init_cygheap::manage_console_count): Define new function.
* dtable.cc (dtable::fixup_after_exec): Always call fixup_after_exec on
elements of fd even when they are about to be closed.
* fhandler.h (report_tty_counts): Remove open_fhs from debugging output.
* fhandler_console.cc (fhandler_console::open): Use manage_console_count rather
than manipulating count directly.
(fhandler_console::close): Ditto.
(fhandler_console::fixup_after_fork): Ditto.
(fhandler_console::fixup_after_exec): Ditto.  Don't close handles if
close_on_exec.
* fhandler_tty.cc (fhandler_tty_slave::open): Use manage_console_count() rather
than manipulating count directly.  Reflect change in arguments to
report_tty_counts().
(fhandler_tty_slave::close): Ditto for both.
(fhandler_tty_slave::dup): Ditto for both.
(fhandler_tty_slave::ioctl): Use myctty() rather than raw ctty #.
(fhandler_tty_slave::fixup_after_fork): Reflect change in arguments to
report_tty_counts().
(fhandler_tty_master::init_console): Use manage_console_count() rather than
manipulating count directly.
* fhandler_clipboard.cc (fhandler_dev_clipboard::fixup_after_exec): Don't
perform any operations if close_on_exec.
* fhandler_dsp.cc (fhandler_dev_dsp::fixup_after_exec): Ditto.
* fhandler_raw.cc (fhandler_dev_raw::fixup_after_exec): Ditto.
* fhandler_serial.cc (fhandler_serial::fixup_after_exec): Ditto.
* pinfo.h (_pinfo::_ctty): Declare new function.
(myctty): Declare new macro.
(__ctty): Declare new macro.
* pinfo.cc (_pinfo::_ctty): Define new function.
(_pinfo::set_ctty): Use manage_console_count() rather than manipulating count
directly.
* signal.cc (kill_pgrp): Use myctty() and __ctty() macros rather than raw ctty
#.
* syscalls.cc (setsid): Ditto.  Use manage_console_count() rather than
manipulating count directly.
2005-11-14 04:28:45 +00:00
..
2005-11-08 22:08:39 +00:00
2004-12-05 02:30:20 +00:00
2005-08-08 02:27:43 +00:00
2005-08-08 02:27:43 +00:00
2005-09-29 14:28:22 +00:00
2005-03-23 17:11:24 +00:00
2005-08-12 02:39:13 +00:00
2005-08-12 02:39:13 +00:00
2005-08-12 02:39:13 +00:00
2005-09-28 19:22:25 +00:00
2005-09-28 19:22:25 +00:00
2005-09-28 19:22:25 +00:00
2005-09-28 19:22:25 +00:00
2005-02-13 18:17:29 +00:00
2005-05-06 21:09:35 +00:00
2004-12-05 02:30:20 +00:00
2005-09-28 15:18:49 +00:00
2005-11-08 22:08:39 +00:00
2005-05-25 03:43:58 +00:00
2005-05-02 03:50:11 +00:00
2004-12-27 19:03:56 +00:00
2004-12-27 19:03:56 +00:00
2005-09-23 19:24:03 +00:00