4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-02-19 07:22:14 +08:00
Christopher Faylor c3a9063f83 Rename FH_BAD to FH_NADA throughout.
* devices.h (FH_ERROR): New value.
(iscons_dev): Extend to detect all the console device types.
* devices.in: Set aside storage for FH_ERROR.
* dtable.cc (dtable::init_std_file_from_handle): Use iscons_dev to detect when
device is a console.
(fh_alloc): Pass device to console constructor.
(build_fh_pc): Short circuit when we detect that the constructor saw an error.
* fhandler.h (fhandler_console::fhandler_console): Accept fh_devices parameter.
(get_tty_stuff): Change to void.
* fhandler_console (fhandler_console::set_unit): Set device to FH_ERROR on
attempt to access anything other than the current console.
(fhandler_console::get_tty_stuff): Change to void return.
(fhandler_console::open): Return EPERM on FH_ERROR device type.
(fhandler_console::fhandler_console): Set the device type appropriately before
calling get_tty_stuff and rely on that function to reset it if necessary.
2011-06-12 20:15:26 +00:00
..
2011-02-15 15:56:03 +00:00
2009-01-21 17:14:39 +00:00
2011-04-29 10:38:12 +00:00
2010-08-30 01:57:37 +00:00
2010-08-30 01:57:37 +00:00
2011-06-12 20:15:26 +00:00
2009-09-22 02:49:15 +00:00
2009-09-22 02:49:15 +00:00
2010-01-01 19:28:15 +00:00
2009-01-21 17:14:39 +00:00
2011-02-15 15:56:03 +00:00
2011-06-06 05:02:13 +00:00
2009-08-01 19:52:46 +00:00
2011-06-06 05:02:13 +00:00
2011-06-06 05:02:13 +00:00
2009-10-31 13:24:06 +00:00
2009-07-07 20:12:44 +00:00
2011-05-19 07:23:29 +00:00
2011-06-06 05:02:13 +00:00
2011-06-06 05:02:13 +00:00
2011-06-12 20:15:26 +00:00
2011-06-06 05:02:13 +00:00
2011-06-06 05:02:13 +00:00
2011-06-06 05:02:13 +00:00
2011-06-06 05:02:13 +00:00
2011-06-12 20:15:26 +00:00
2010-01-14 18:46:02 +00:00
2011-06-06 05:02:13 +00:00
2011-06-06 05:02:13 +00:00
2011-01-20 11:09:21 +00:00
2011-06-06 05:02:13 +00:00
2011-06-06 05:02:13 +00:00
2011-06-06 05:02:13 +00:00
2011-06-06 05:02:13 +00:00
2011-06-06 05:02:13 +00:00
2011-06-06 05:02:13 +00:00
2010-01-14 18:46:02 +00:00
2011-04-04 12:23:36 +00:00
2011-06-06 05:02:13 +00:00
2011-06-06 05:02:13 +00:00
2011-06-06 05:02:13 +00:00
2011-06-06 05:02:13 +00:00
2011-06-06 05:02:13 +00:00
2011-06-06 05:02:13 +00:00
2011-06-06 05:02:13 +00:00
2011-06-06 05:02:13 +00:00
2010-08-30 01:57:37 +00:00
2011-06-06 05:02:13 +00:00
2011-06-06 05:02:13 +00:00
2011-02-15 15:56:03 +00:00
2011-04-04 12:23:36 +00:00
2011-05-10 16:43:34 +00:00
2011-06-06 05:02:13 +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-06-12 20:15:26 +00:00
2011-06-06 05:02:13 +00:00
2009-01-21 17:14:39 +00:00
2011-06-06 05:02:13 +00:00
2011-06-06 05:02:13 +00:00
2011-06-06 05:02:13 +00:00
2011-06-06 05:02:13 +00:00
2011-03-29 10:42:11 +00:00
2011-06-06 05:02:13 +00:00
2011-05-28 18:17:09 +00:00
2011-05-28 18:17:09 +00:00
2011-04-18 12:00:05 +00:00
2011-06-06 05:02:13 +00:00
2010-08-30 01:57:37 +00:00
2011-06-06 05:02:13 +00:00
2011-06-06 05:02:13 +00:00
2011-04-29 10:38:12 +00:00
2011-06-06 05:02:13 +00:00
2011-04-29 10:38:12 +00:00
2011-06-06 05:02:13 +00:00
2011-04-29 10:38:12 +00:00
2009-01-21 17:14:39 +00:00
2011-06-06 05:02:13 +00:00
2011-06-06 05:02:13 +00:00
2011-06-06 05:02:13 +00:00
2011-06-06 05:02:13 +00:00
2011-05-04 22:12:15 +00:00
2010-03-13 19:34:35 +00:00
2011-06-06 05:02:13 +00:00
2011-06-06 05:02:13 +00:00
2010-08-30 01:57:37 +00:00
2010-08-30 01:57:37 +00:00
2011-06-06 05:02:13 +00:00
2011-06-06 05:02:13 +00:00
2010-06-21 19:55:12 +00:00
2011-05-28 18:17:09 +00:00
2011-06-06 05:02:13 +00:00
2011-06-06 05:02:13 +00:00
2009-08-01 19:52:46 +00:00
2011-01-20 11:09:21 +00:00
2011-03-16 21:10:51 +00:00