diff --git a/winsup/cygwin/fhandler_floppy.cc b/winsup/cygwin/fhandler_floppy.cc index 1bb3aca6b..ecf679b49 100644 --- a/winsup/cygwin/fhandler_floppy.cc +++ b/winsup/cygwin/fhandler_floppy.cc @@ -302,7 +302,6 @@ fhandler_dev_floppy::write_file (const void *buf, DWORD to_write, See http://support.microsoft.com/kb/942448 for details. What we do here is to lock the affected partition(s) and retry. */ if (*err == ERROR_ACCESS_DENIED - && wincap.has_restricted_raw_disk_access () && get_major () != DEV_FLOPPY_MAJOR && get_major () != DEV_CDROM_MAJOR && (get_flags () & O_ACCMODE) != O_RDONLY diff --git a/winsup/cygwin/wincap.cc b/winsup/cygwin/wincap.cc index 832d4e5af..5c62ea1fc 100644 --- a/winsup/cygwin/wincap.cc +++ b/winsup/cygwin/wincap.cc @@ -24,7 +24,6 @@ wincaps wincap_xpsp2 __attribute__((section (".cygwin_dll_common"), shared)) = { needs_count_in_si_lpres2:false, has_gaa_largeaddress_bug:false, has_broken_alloc_console:false, - has_restricted_raw_disk_access:false, use_dont_resolve_hack:true, has_console_logon_sid:false, wow64_has_secondary_stack:false, @@ -48,7 +47,6 @@ wincaps wincap_2003 __attribute__((section (".cygwin_dll_common"), shared)) = { needs_count_in_si_lpres2:false, has_gaa_largeaddress_bug:false, has_broken_alloc_console:false, - has_restricted_raw_disk_access:false, use_dont_resolve_hack:true, has_console_logon_sid:false, wow64_has_secondary_stack:true, @@ -72,7 +70,6 @@ wincaps wincap_vista __attribute__((section (".cygwin_dll_common"), shared)) = { needs_count_in_si_lpres2:true, has_gaa_largeaddress_bug:true, has_broken_alloc_console:false, - has_restricted_raw_disk_access:true, use_dont_resolve_hack:false, has_console_logon_sid:false, wow64_has_secondary_stack:false, @@ -96,7 +93,6 @@ wincaps wincap_7 __attribute__((section (".cygwin_dll_common"), shared)) = { needs_count_in_si_lpres2:false, has_gaa_largeaddress_bug:true, has_broken_alloc_console:true, - has_restricted_raw_disk_access:true, use_dont_resolve_hack:false, has_console_logon_sid:true, wow64_has_secondary_stack:false, @@ -120,7 +116,6 @@ wincaps wincap_8 __attribute__((section (".cygwin_dll_common"), shared)) = { needs_count_in_si_lpres2:false, has_gaa_largeaddress_bug:false, has_broken_alloc_console:true, - has_restricted_raw_disk_access:true, use_dont_resolve_hack:false, has_console_logon_sid:true, wow64_has_secondary_stack:false, @@ -144,7 +139,6 @@ wincaps wincap_10 __attribute__((section (".cygwin_dll_common"), shared)) = { needs_count_in_si_lpres2:false, has_gaa_largeaddress_bug:false, has_broken_alloc_console:true, - has_restricted_raw_disk_access:true, use_dont_resolve_hack:false, has_console_logon_sid:true, wow64_has_secondary_stack:false, @@ -168,7 +162,6 @@ wincaps wincap_10_1511 __attribute__((section (".cygwin_dll_common"), shared)) = needs_count_in_si_lpres2:false, has_gaa_largeaddress_bug:false, has_broken_alloc_console:true, - has_restricted_raw_disk_access:true, use_dont_resolve_hack:false, has_console_logon_sid:true, wow64_has_secondary_stack:false, diff --git a/winsup/cygwin/wincap.h b/winsup/cygwin/wincap.h index 9c05ac6a3..e8983c4ce 100644 --- a/winsup/cygwin/wincap.h +++ b/winsup/cygwin/wincap.h @@ -17,7 +17,6 @@ struct wincaps unsigned needs_count_in_si_lpres2 : 1; unsigned has_gaa_largeaddress_bug : 1; unsigned has_broken_alloc_console : 1; - unsigned has_restricted_raw_disk_access : 1; unsigned use_dont_resolve_hack : 1; unsigned has_console_logon_sid : 1; unsigned wow64_has_secondary_stack : 1; @@ -66,7 +65,6 @@ public: bool IMPLEMENT (needs_count_in_si_lpres2) bool IMPLEMENT (has_gaa_largeaddress_bug) bool IMPLEMENT (has_broken_alloc_console) - bool IMPLEMENT (has_restricted_raw_disk_access) bool IMPLEMENT (use_dont_resolve_hack) bool IMPLEMENT (has_console_logon_sid) bool IMPLEMENT (wow64_has_secondary_stack)