diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2015-12-15 15:04:26 +0100 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2016-06-23 22:21:23 +0200 |
commit | e931b1a0eb33170980558a3768a8091d50227bc7 (patch) | |
tree | 48423336a96ac738753b284a56f7e3c2edea07ab /winsup/cygwin/path.cc | |
parent | 222e412f8de7b8296442b22afe510c5c0f995928 (diff) | |
download | cygnal-e931b1a0eb33170980558a3768a8091d50227bc7.tar.gz cygnal-e931b1a0eb33170980558a3768a8091d50227bc7.tar.bz2 cygnal-e931b1a0eb33170980558a3768a8091d50227bc7.zip |
Drop has_broken_udf flag
Diffstat (limited to 'winsup/cygwin/path.cc')
-rw-r--r-- | winsup/cygwin/path.cc | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/winsup/cygwin/path.cc b/winsup/cygwin/path.cc index f926ff6ee..77117fca9 100644 --- a/winsup/cygwin/path.cc +++ b/winsup/cygwin/path.cc @@ -2703,32 +2703,6 @@ restart: } if (status == STATUS_OBJECT_NAME_NOT_FOUND) { - if (ci_flag == 0 && wincap.has_broken_udf () - && (!fs.inited () || fs.is_udf ())) - { - /* On NT 5.x UDF is broken (at least) in terms of case - sensitivity. When trying to open a file case sensitive, - the file appears to be non-existant. Another bug is - described in fs_info::update. */ - attr.Attributes = OBJ_CASE_INSENSITIVE; - status = NtOpenFile (&h, READ_CONTROL | FILE_READ_ATTRIBUTES, - &attr, &io, FILE_SHARE_VALID_FLAGS, - FILE_OPEN_REPARSE_POINT - | FILE_OPEN_FOR_BACKUP_INTENT); - debug_printf ("%y = NtOpenFile (broken-UDF, %S)", status, &upath); - attr.Attributes = 0; - if (NT_SUCCESS (status)) - { - if (!fs.inited ()) - fs.update (&upath, h); - if (!fs.is_udf ()) - { - NtClose (h); - h = NULL; - status = STATUS_OBJECT_NAME_NOT_FOUND; - } - } - } /* There are filesystems out in the wild (Netapp, NWFS, and others) which are uncapable of generating pathnames outside the Win32 rules. That means, filenames on these FSes must not have a |