This is the mail archive of the
cygwin-cvs@cygwin.com
mailing list for the Cygwin project.
[newlib-cygwin] Drop has_broken_fnoi flag
- From: Corinna Vinschen <corinna at sourceware dot org>
- To: cygwin-cvs at sourceware dot org
- Date: 27 Jan 2016 14:43:24 -0000
- Subject: [newlib-cygwin] Drop has_broken_fnoi flag
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=78549742de0186223302f84997199a871999aded
commit 78549742de0186223302f84997199a871999aded
Author: Corinna Vinschen <corinna@vinschen.de>
Date: Wed Jan 27 15:39:11 2016 +0100
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>
Diff:
---
winsup/cygwin/mount.cc | 4 ----
winsup/cygwin/mount.h | 2 --
winsup/cygwin/path.h | 1 -
3 files changed, 7 deletions(-)
diff --git a/winsup/cygwin/mount.cc b/winsup/cygwin/mount.cc
index df96c2d..569328f 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 c78fbc1..172a0b0 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 730f943..23139a6 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)