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
..
2004-02-18 20:48:38 +00:00
2005-11-11 16:42:15 +00:00
2004-12-09 21:28:32 +00:00
2005-11-08 22:08:39 +00:00
2005-05-02 03:50:11 +00:00
2001-12-20 03:03:59 +00:00
2003-12-23 16:26:31 +00:00
2004-12-05 02:30:20 +00:00
2002-09-19 15:12:48 +00:00
2005-10-19 19:55:31 +00:00
2005-11-14 04:28:45 +00:00
2005-05-02 03:50:11 +00:00
2005-05-02 03:50:11 +00:00
2005-05-02 03:50:11 +00:00
2001-10-28 23:05:49 +00:00
2001-10-28 23:05:49 +00:00
2001-10-28 23:05:49 +00:00
2002-01-01 16:49:52 +00:00
2003-01-10 12:32:49 +00:00
2004-01-20 03:11:39 +00:00
2005-01-11 12:48:34 +00:00
2005-10-29 15:05:55 +00:00
2005-05-02 03:50:11 +00:00
2005-08-08 02:27:43 +00:00
2005-08-08 02:27:43 +00:00
2004-05-28 19:50:07 +00:00
2005-09-29 14:28:22 +00:00
2005-03-23 17:11:24 +00:00
2005-03-19 21:45:15 +00:00
2005-08-20 06:19:55 +00:00
2005-11-14 04:28:45 +00:00
2005-11-14 04:28:45 +00:00
2005-05-30 00:54:01 +00:00
2005-07-28 17:03:34 +00:00
2004-02-09 04:04:24 +00:00
2005-07-05 03:16:46 +00:00
2005-07-05 03:16:46 +00:00
2005-07-05 03:16:46 +00:00
2004-06-03 19:52:12 +00:00
2005-10-17 23:27:00 +00:00
2005-10-17 23:27:00 +00:00
2005-10-23 23:47:45 +00:00
2005-09-23 15:18:22 +00:00
2001-10-12 01:51:21 +00:00
2003-09-27 05:35:02 +00:00
2005-11-11 16:42:15 +00:00
2005-08-08 13:53:05 +00:00
2005-11-06 14:02:33 +00:00
2005-09-13 17:08:54 +00:00
2005-07-06 20:05:03 +00:00
2003-11-14 23:40:06 +00:00
2005-09-13 17:08:54 +00:00
2005-08-24 04:38:39 +00:00
2005-09-13 17:08:54 +00:00
2005-10-21 14:08:19 +00:00
2005-08-12 02:39:13 +00:00
2005-04-14 17:34:03 +00:00
2005-04-14 17:34:03 +00:00
2004-02-22 23:21:20 +00:00
2005-08-08 13:53:05 +00:00
2004-05-12 16:21:18 +00:00
2004-01-20 19:36:35 +00:00
2005-11-14 04:28:45 +00:00
2005-10-23 23:47:45 +00:00
2004-02-22 23:21:20 +00:00
2005-11-08 16:32:09 +00:00
2005-03-30 15:54:28 +00:00
2005-09-26 15:27:15 +00:00
2005-11-01 05:55:30 +00:00
2005-01-12 22:40:46 +00:00
2005-08-12 02:39:13 +00:00
2004-02-22 23:21:20 +00:00
2005-01-12 22:40:46 +00:00
2005-11-14 04:28:45 +00:00
2005-11-14 04:28:45 +00:00
2005-10-19 16:50:43 +00:00
2005-11-14 04:28:45 +00:00
2005-09-28 22:56:47 +00:00
2005-09-30 10:54:45 +00:00
2005-08-12 02:39:13 +00:00
2005-09-28 19:22:25 +00:00
2005-10-17 23:27:00 +00:00
2004-03-27 18:01:04 +00:00
2005-10-02 00:13:41 +00:00
2005-08-24 04:38:39 +00:00
2005-09-28 19:22:25 +00:00
2005-11-14 04:28:45 +00:00
2005-09-14 14:27:56 +00:00
2005-11-14 04:28:45 +00:00
2005-11-14 04:28:45 +00:00
2005-09-28 19:22:25 +00:00
2005-11-14 04:28:45 +00:00
2005-11-14 04:28:45 +00:00
2005-09-28 19:22:25 +00:00
2005-09-14 14:27:56 +00:00
2005-09-14 14:27:56 +00:00
2005-11-08 23:25:55 +00:00
2005-11-14 04:28:45 +00:00
2003-12-03 09:55:42 +00:00
2005-11-14 04:28:45 +00:00
2005-10-29 15:19:34 +00:00
2005-02-13 18:17:29 +00:00
2005-07-03 02:40:30 +00:00
2005-06-18 19:04:25 +00:00
2002-05-24 14:24:33 +00:00
2005-09-14 14:27:56 +00:00
2005-09-14 18:30:21 +00:00
2002-10-22 16:18:55 +00:00
2005-11-11 16:42:15 +00:00
2005-09-28 20:20:57 +00:00
2005-05-02 03:50:11 +00:00
2001-10-28 23:05:49 +00:00
2005-06-04 02:11:50 +00:00
2002-05-04 04:30:57 +00:00
2004-03-14 05:35:19 +00:00
2002-02-11 02:25:42 +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
2003-11-28 20:55:59 +00:00
2003-07-26 04:53:59 +00:00
2005-07-06 20:05:03 +00:00
2005-05-02 03:50:11 +00:00
2005-11-08 22:08:39 +00:00
2005-09-14 14:27:56 +00:00
2005-07-28 17:03:34 +00:00
2005-08-19 14:56:48 +00:00
2005-05-25 03:43:58 +00:00
2004-02-04 22:40:50 +00:00
2005-10-18 18:51:33 +00:00
2005-07-03 02:40:30 +00:00
2005-08-22 16:12:01 +00:00
2005-10-22 16:02:15 +00:00
2003-11-14 23:40:06 +00:00
2005-05-02 03:50:11 +00:00
2005-10-18 18:51:33 +00:00
2005-05-18 17:23:17 +00:00
2005-09-14 14:27:56 +00:00
2005-10-12 20:38:38 +00:00
2005-10-12 20:38:38 +00:00
2004-12-31 01:13:28 +00:00
2005-11-14 04:28:45 +00:00
2005-11-14 04:28:45 +00:00
2005-10-24 15:09:07 +00:00
2005-11-13 16:24:40 +00:00
2003-04-28 20:10:54 +00:00
2003-04-28 20:10:54 +00:00
2002-12-09 22:49:12 +00:00
2005-09-27 20:34:19 +00:00
2005-04-05 06:04:57 +00:00
2005-04-03 13:06:43 +00:00
2004-12-03 02:00:37 +00:00
2005-07-03 02:40:30 +00:00
2003-07-07 05:32:24 +00:00
2005-03-01 11:51:29 +00:00
2005-07-05 03:16:46 +00:00
2005-06-07 19:31:42 +00:00
2005-07-05 03:16:46 +00:00
2005-09-14 14:27:56 +00:00
2005-07-05 03:16:46 +00:00
2005-10-17 23:27:00 +00:00
2004-02-09 04:04:24 +00:00
2005-07-03 02:40:30 +00:00
2005-08-26 15:11:06 +00:00
2005-09-27 19:04:38 +00:00
2004-12-27 19:03:56 +00:00
2005-07-03 02:40:30 +00:00
2005-11-14 04:28:45 +00:00
2005-10-29 15:19:34 +00:00
2005-09-23 15:18:22 +00:00
2005-03-19 21:45:15 +00:00
2005-10-29 20:33:59 +00:00
2003-11-28 20:51:11 +00:00
2004-12-27 19:03:56 +00:00
2005-09-27 18:54:32 +00:00
2003-03-09 20:31:07 +00:00
2003-03-09 20:10:25 +00:00
2004-02-03 21:59:27 +00:00
2005-07-06 20:05:03 +00:00
2005-10-23 23:47:45 +00:00
2005-11-14 04:28:45 +00:00
2005-10-18 18:51:33 +00:00
2005-11-10 10:34:49 +00:00
2005-09-09 03:00:34 +00:00
2004-04-06 14:22:43 +00:00
2005-09-06 19:22:54 +00:00
2005-09-06 19:22:54 +00:00
2005-11-11 16:42:15 +00:00
2005-11-11 16:42:15 +00:00
2005-09-23 19:24:03 +00:00
2005-07-06 20:05:03 +00:00
2004-05-17 15:27:56 +00:00
2005-09-14 14:27:56 +00:00
2005-10-03 09:24:42 +00:00
2005-06-09 05:11:51 +00:00
2005-06-07 19:31:42 +00:00
2005-10-18 18:51:33 +00:00
2005-10-18 18:51:33 +00:00
2005-10-17 23:27:00 +00:00
2005-04-05 04:31:00 +00:00
2005-10-17 21:22:18 +00:00
2003-03-09 22:13:06 +00:00