diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2015-12-15 15:21:00 +0100 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2016-06-24 14:31:56 +0200 |
commit | 807a628ec6e2be78c58c0ea2e1c46cfc9f43c875 (patch) | |
tree | a7f878e35cea1260e00b25d0c39d4f691c18a61f /winsup/cygwin/fhandler_floppy.cc | |
parent | 166d3ddf5a04d6f915f9eb3c7befc50a2a40edfc (diff) | |
download | cygnal-807a628ec6e2be78c58c0ea2e1c46cfc9f43c875.tar.gz cygnal-807a628ec6e2be78c58c0ea2e1c46cfc9f43c875.tar.bz2 cygnal-807a628ec6e2be78c58c0ea2e1c46cfc9f43c875.zip |
Drop has_restricted_raw_disk_access flag
Diffstat (limited to 'winsup/cygwin/fhandler_floppy.cc')
-rw-r--r-- | winsup/cygwin/fhandler_floppy.cc | 1 |
1 files changed, 0 insertions, 1 deletions
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 |