Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2016-01-27 17:39:11 +0300
committerCorinna Vinschen <corinna@vinschen.de>2016-01-27 17:39:11 +0300
commit78549742de0186223302f84997199a871999aded (patch)
treed76663ef46543c8dc5b80c5d0c267b9b3c7cb182
parentd9accb0079ed6a8c9d2e90731644cb8e023c131f (diff)
Drop has_broken_fnoi flag
* mount.cc (fs_info::update): Don't set has_broken_fnoi. It's unused anyway. * mount.h (class fs_info): Remove has_broken_fnoi status flag. * path.h (class path_conv): Remove has_broken_fnoi method. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
-rw-r--r--winsup/cygwin/mount.cc4
-rw-r--r--winsup/cygwin/mount.h2
-rw-r--r--winsup/cygwin/path.h1
3 files changed, 0 insertions, 7 deletions
diff --git a/winsup/cygwin/mount.cc b/winsup/cygwin/mount.cc
index df96c2dc2..569328fd7 100644
--- a/winsup/cygwin/mount.cc
+++ b/winsup/cygwin/mount.cc
@@ -431,10 +431,6 @@ fs_info::update (PUNICODE_STRING upath, HANDLE in_vol)
only support this if the filename is non-null and the handle is
the handle to a directory. NcFsd IR10 is supposed to be ok. */
has_buggy_reopen (is_netapp () || is_nwfs ());
- /* Netapp and Parallels Desktop FS have problems with the
- FileNetworkOpenInformation info class. Netapp doesn't
- implement it at all, Parallels always returns a size of 0. */
- has_broken_fnoi (is_netapp () || is_prlfs ());
}
}
if (!got_fs ()
diff --git a/winsup/cygwin/mount.h b/winsup/cygwin/mount.h
index c78fbc137..172a0b03b 100644
--- a/winsup/cygwin/mount.h
+++ b/winsup/cygwin/mount.h
@@ -76,7 +76,6 @@ class fs_info
unsigned has_buggy_fileid_dirinfo : 1;
unsigned has_buggy_basic_info : 1;
unsigned has_dos_filenames_only : 1;
- unsigned has_broken_fnoi : 1;
} status;
ULONG sernum; /* Volume Serial Number */
char fsn[80]; /* Windows filesystem name */
@@ -102,7 +101,6 @@ class fs_info
IMPLEMENT_STATUS_FLAG (bool, has_buggy_fileid_dirinfo)
IMPLEMENT_STATUS_FLAG (bool, has_buggy_basic_info)
IMPLEMENT_STATUS_FLAG (bool, has_dos_filenames_only)
- IMPLEMENT_STATUS_FLAG (bool, has_broken_fnoi)
IMPLEMENT_FS_FLAG (fat)
IMPLEMENT_FS_FLAG (ntfs)
IMPLEMENT_FS_FLAG (refs)
diff --git a/winsup/cygwin/path.h b/winsup/cygwin/path.h
index 730f943c9..23139a643 100644
--- a/winsup/cygwin/path.h
+++ b/winsup/cygwin/path.h
@@ -158,7 +158,6 @@ class path_conv
int has_buggy_reopen () const {return fs.has_buggy_reopen ();}
int has_buggy_fileid_dirinfo () const {return fs.has_buggy_fileid_dirinfo ();}
int has_buggy_basic_info () const {return fs.has_buggy_basic_info ();}
- int has_broken_fnoi () const {return fs.has_broken_fnoi ();}
int binmode () const
{
if (path_flags & PATH_BINARY)