]> sourceware.org Git - newlib-cygwin.git/commitdiff
Drop has_restricted_raw_disk_access flag
authorCorinna Vinschen <corinna@vinschen.de>
Tue, 15 Dec 2015 14:21:00 +0000 (15:21 +0100)
committerCorinna Vinschen <corinna@vinschen.de>
Fri, 24 Jun 2016 12:31:56 +0000 (14:31 +0200)
winsup/cygwin/fhandler_floppy.cc
winsup/cygwin/wincap.cc
winsup/cygwin/wincap.h

index 1bb3aca6beeb3d8f2e91101a126b0f8ce483542f..ecf679b497eafafaff4799630aef87d7cc612328 100644 (file)
@@ -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
index 832d4e5af6612672a07c3d9c16f5914a9174dc54..5c62ea1fc103caa75190323d95e4d4e24f923bcd 100644 (file)
@@ -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,
index 9c05ac6a3b310a439337eba35f00a95204618ca5..e8983c4ce1fa85f97189bb878e62ddb02d8f2a58 100644 (file)
@@ -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)
This page took 0.036487 seconds and 5 git commands to generate.