From aaee2ffaed818ccaf248b4097a3b7c7bfa4ea82a Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Fri, 23 Feb 2007 10:51:59 +0000 Subject: * exceptions.cc (dummy_ctrl_c_handler): Remove. (init_console_handler): Drop has_null_console_handler_routine checks. * fhandler_raw.cc (fhandler_dev_raw::open): Drop has_raw_devices check. * fhandler_serial.cc (fhandler_serial::open): Drop .supports_reading_modem_output_lines check. * miscfuncs.cc (low_priority_sleep): Drop has_switch_to_thread check. * shared.cc (open_shared): Drop needs_memory_protection checks. * spawn.cc (spawn_guts): Drop start_proc_suspended check. * uname.cc (uname): Drop has_valid_processorlevel check. * wincap.cc: Remove has_raw_devices, has_valid_processorlevel, supports_reading_modem_output_lines, needs_memory_protection, has_switch_to_thread, start_proc_suspended and has_null_console_handler_routine throughout. * wincap.h: Ditto. --- winsup/cygwin/fhandler_raw.cc | 7 ------- 1 file changed, 7 deletions(-) (limited to 'winsup/cygwin/fhandler_raw.cc') diff --git a/winsup/cygwin/fhandler_raw.cc b/winsup/cygwin/fhandler_raw.cc index 9478ee788..13c8fa241 100644 --- a/winsup/cygwin/fhandler_raw.cc +++ b/winsup/cygwin/fhandler_raw.cc @@ -65,13 +65,6 @@ fhandler_dev_raw::fstat (struct __stat64 *buf) int fhandler_dev_raw::open (int flags, mode_t) { - if (!wincap.has_raw_devices ()) - { - set_errno (ENOENT); - debug_printf ("%s is accessible under NT/W2K only", get_win32_name ()); - return 0; - } - /* Check for illegal flags. */ if (get_major () != DEV_TAPE_MAJOR && (flags & (O_APPEND | O_EXCL))) { -- cgit v1.2.3