Christopher Faylor
6ae28c2263
* dtable.cc (dtable::delete_archetype): Improve debugging output.
...
(dtable::init_std_file_from_handle): Close console handle early, before
initialization. Build up openflags for passing to open_setup, just to be safe.
(last_tty_dev): New variable.
(fh_last_tty_dev): New macro.
(fh_alloc): Try again to keep track of previously opened tty, this time by just
saving the device and using that to potentially open an archetype. Avoid
setting the "/dev/tty" name if the creation of the fhandler failed.
(build_fh_pc): Remove unused second argument. Reorganize how and where the
name is set. Set last_tty_dev as appropriate. Avoid a NULL dereference in a
debug printf.
* dtable.h (build_fh_pc): Reflect removal of second parameter.
* fhandler.cc (fhandler_base::reset): Use new '<<' operator to copy pc since it
preserves any potentially previously set name.
(fhandler_base::set_name): Ditto.
* fhandler.h (fhandler_*::clone): Throughout use ccalloc to allocate new
fhandler, primarily to make sure that pc field is properly zeroed.
(fhandler_termios::last): Eliminate.
(fhandler_termios): Remove setting of last.
(fhandler_base::~fhandler_termios): Ditto.
* fhandler_console.cc (fhandler_console::open): Don't make decisions about
opening close-on-exec handles here since it makes no sense for archetypes.
(fhandler_console::init): Assume that input handle has already been opened.
* fhandler_termios.cc (fhandler_termios::last): Delete.
* path.h (path_conv::eq_worker): New function. Move bulk of operator = here.
(operator <<): New function.
(operator =): Use eq_worker to perform old functionality.
2011-10-22 16:26:30 +00:00
..
2011-02-14 09:42:19 +00:00
2011-10-11 23:20:38 +00:00
2011-02-15 15:56:03 +00:00
2011-05-12 13:44:54 +00:00
2010-02-14 21:28:44 +00:00
2009-01-21 17:14:39 +00:00
2011-04-29 10:38:12 +00:00
2011-07-04 15:25:36 +00:00
2011-08-16 14:44:26 +00:00
2010-08-30 01:57:37 +00:00
2010-08-30 01:57:37 +00:00
2011-10-22 16:26:30 +00:00
2009-09-22 02:49:15 +00:00
2007-01-03 11:14:53 +00:00
2008-01-01 18:51:23 +00:00
2009-09-22 02:49:15 +00:00
2010-01-01 19:28:15 +00:00
2011-01-03 01:53:19 +00:00
2011-10-22 16:26:30 +00:00
2009-01-21 17:14:39 +00:00
2011-02-07 16:22:02 +00:00
2011-02-15 15:56:03 +00:00
2011-03-17 08:40:25 +00:00
2011-06-06 05:02:13 +00:00
2009-08-13 07:35:50 +00:00
2011-10-15 22:37:30 +00:00
2009-08-01 19:52:46 +00:00
2011-06-06 05:02:13 +00:00
2011-06-14 21:48:43 +00:00
2008-07-11 10:00:36 +00:00
2007-02-08 11:35:52 +00:00
2009-10-31 13:24:06 +00:00
2008-11-26 10:18:10 +00:00
2008-11-26 10:18:10 +00:00
2011-04-04 09:04:00 +00:00
2008-11-26 10:18:10 +00:00
2008-11-26 10:18:10 +00:00
2011-09-21 04:33:57 +00:00
2011-10-20 10:59:01 +00:00
2011-08-03 16:40:48 +00:00
2011-08-03 16:40:48 +00:00
2009-07-07 20:12:44 +00:00
2008-02-15 17:53:11 +00:00
2011-10-11 23:20:38 +00:00
2011-03-18 18:16:37 +00:00
2011-06-06 05:02:13 +00:00
2011-06-06 05:02:13 +00:00
2011-10-17 18:25:04 +00:00
2011-05-05 22:30:53 +00:00
2010-09-20 20:25:50 +00:00
2011-10-20 14:02:54 +00:00
2011-10-20 14:02:54 +00:00
2011-10-20 14:02:54 +00:00
2011-06-06 05:02:13 +00:00
2011-09-01 08:17:07 +00:00
2011-08-03 17:58:59 +00:00
2011-06-06 05:02:13 +00:00
2008-02-15 17:53:11 +00:00
2011-10-22 16:26:30 +00:00
2011-10-22 16:26:30 +00:00
2011-08-21 18:45:07 +00:00
2008-04-07 16:15:45 +00:00
2011-06-15 17:36:10 +00:00
2011-02-09 15:40:37 +00:00
2011-08-03 16:40:48 +00:00
2011-01-20 11:09:21 +00:00
2011-10-05 12:27:37 +00:00
2011-04-30 16:34:48 +00:00
2011-06-06 05:02:13 +00:00
2011-10-15 22:37:30 +00:00
2011-10-22 16:26:30 +00:00
2011-10-21 17:43:00 +00:00
2011-07-21 20:21:46 +00:00
2011-10-15 22:37:30 +00:00
2011-10-15 22:37:30 +00:00
2011-06-06 05:02:13 +00:00
2011-07-31 12:37:52 +00:00
2011-04-04 12:23:36 +00:00
2009-01-03 05:12:22 +00:00
2011-10-20 14:02:54 +00:00
2011-10-15 19:13:57 +00:00
2011-06-12 20:15:26 +00:00
2011-06-06 05:02:13 +00:00
2011-06-12 20:15:26 +00:00
2011-10-15 22:37:30 +00:00
2011-10-15 22:37:30 +00:00
2011-10-15 22:37:30 +00:00
2011-10-15 22:37:30 +00:00
2011-10-15 22:37:30 +00:00
2011-10-15 22:37:30 +00:00
2011-10-22 16:26:30 +00:00
2011-10-20 14:02:54 +00:00
2011-10-15 22:37:30 +00:00
2011-05-28 18:17:09 +00:00
2011-07-21 20:21:46 +00:00
2009-07-24 20:54:33 +00:00
2011-10-22 16:26:30 +00:00
2011-10-22 16:26:30 +00:00
2011-08-31 16:35:19 +00:00
2011-07-04 15:25:36 +00:00
2010-08-01 19:10:52 +00:00
2008-12-13 21:05:31 +00:00
2008-12-31 21:33:34 +00:00
2009-01-03 05:12:22 +00:00
2011-10-21 08:29:19 +00:00
2010-08-30 01:57:37 +00:00
2011-06-06 05:02:13 +00:00
2011-08-09 12:00:27 +00:00
2011-08-03 16:40:48 +00:00
2011-07-04 15:25:36 +00:00
2009-07-12 21:26:40 +00:00
2010-02-02 01:54:55 +00:00
2009-07-12 21:26:40 +00:00
2011-08-18 15:59:16 +00:00
2011-10-20 14:02:54 +00:00
2010-02-26 09:36:21 +00:00
2011-04-04 12:23:36 +00:00
2010-02-25 16:55:02 +00:00
2011-09-01 19:19:29 +00:00
2009-08-04 04:20:36 +00:00
2011-04-18 19:07:18 +00:00
2008-04-07 18:45:59 +00:00
2011-05-02 19:14:39 +00:00
2009-02-16 20:22:38 +00:00
2009-01-03 05:12:22 +00:00
2011-08-13 10:28:15 +00:00
2011-08-13 10:28:15 +00:00
2009-01-09 05:18:02 +00:00
2011-02-11 18:00:55 +00:00
2011-02-11 18:00:55 +00:00
2010-07-19 18:22:40 +00:00
2010-04-10 05:47:54 +00:00
2011-06-06 05:02:13 +00:00
2011-06-06 05:02:13 +00:00
2011-10-21 17:43:00 +00:00
2011-10-21 08:29:19 +00:00
2009-01-21 17:14:39 +00:00
2008-07-15 11:42:45 +00:00
2011-10-05 06:18:16 +00:00
2010-08-28 08:51:21 +00:00
2010-10-02 19:03:44 +00:00
2010-10-02 19:03:44 +00:00
2011-06-06 05:02:13 +00:00
2011-08-27 20:01:29 +00:00
2011-08-09 09:14:28 +00:00
2011-03-29 10:42:11 +00:00
2011-10-18 08:47:08 +00:00
2011-10-22 16:26:30 +00:00
2009-12-18 10:11:56 +00:00
2011-10-22 16:26:30 +00:00
2011-10-15 22:37:30 +00:00
2011-10-15 22:37:30 +00:00
2011-08-23 14:05:04 +00:00
2011-06-06 05:02:13 +00:00
2011-08-03 19:17:02 +00:00
2010-08-30 01:57:37 +00:00
2011-06-06 05:02:13 +00:00
2011-03-29 10:32:40 +00:00
2008-12-20 09:35:18 +00:00
2008-09-11 04:34:24 +00:00
2011-06-06 05:02:13 +00:00
2011-04-23 13:15:46 +00:00
2011-08-07 19:49:08 +00:00
2011-07-06 18:35:44 +00:00
2011-04-29 10:38:12 +00:00
2011-10-15 16:31:57 +00:00
2011-10-15 16:31:57 +00:00
2011-07-26 13:30:41 +00:00
2011-10-15 16:31:57 +00:00
2008-03-13 15:18:10 +00:00
2011-10-20 14:02:54 +00:00
2011-05-03 15:58:52 +00:00
2009-01-21 17:14:39 +00:00
2011-04-04 09:04:00 +00:00
2011-08-09 12:00:27 +00:00
2011-08-09 12:00:27 +00:00
2009-12-18 20:32:04 +00:00
2011-08-03 19:17:02 +00:00
2011-10-22 16:26:30 +00:00
2011-10-07 08:14:25 +00:00
2011-06-06 05:02:13 +00:00
2011-10-20 14:02:54 +00:00
2011-02-11 18:00:55 +00:00
2010-03-15 21:29:15 +00:00
2011-07-04 15:25:36 +00:00
2011-06-06 05:02:13 +00:00
2011-01-19 09:41:54 +00:00
2011-05-04 22:12:15 +00:00
2011-04-21 00:53:55 +00:00
2010-03-13 19:34:35 +00:00
2011-10-21 17:43:00 +00:00
2011-07-21 09:39:22 +00:00
2011-05-11 08:20:17 +00:00
2011-10-11 23:20:38 +00:00
2010-08-30 01:57:37 +00:00
2010-08-30 01:57:37 +00:00
2011-08-24 15:18:17 +00:00
2011-08-24 15:18:17 +00:00
2011-05-17 17:08:10 +00:00
2011-08-03 16:40:48 +00:00
2010-12-12 05:48:29 +00:00
2008-03-12 12:41:50 +00:00
2011-08-03 16:40:48 +00:00
2010-06-21 19:55:12 +00:00
2011-10-20 14:02:54 +00:00
2011-10-15 22:37:30 +00:00
2011-06-06 05:02:13 +00:00
2008-04-07 18:45:59 +00:00
2011-08-03 16:40:48 +00:00
2010-02-04 12:35:49 +00:00
2009-07-07 21:41:43 +00:00
2011-10-15 16:31:57 +00:00
2011-10-15 16:31:57 +00:00
2011-05-01 14:35:12 +00:00
2009-08-01 19:52:46 +00:00
2011-01-20 11:09:21 +00:00
2011-04-19 10:15:09 +00:00
2011-05-28 18:17:09 +00:00
2011-03-16 21:10:51 +00:00