aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/path.h
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/path.h')
-rw-r--r--winsup/cygwin/path.h17
1 files changed, 3 insertions, 14 deletions
diff --git a/winsup/cygwin/path.h b/winsup/cygwin/path.h
index eb3fb5d..fb654d0 100644
--- a/winsup/cygwin/path.h
+++ b/winsup/cygwin/path.h
@@ -110,20 +110,9 @@ struct fs_info
unsigned is_cdrom : 1;
} status;
public:
- void clear ()
- {
- flags () = 0;
- is_remote_drive (false);
- has_buggy_open (false);
- has_acls (false);
- hasgood_inode (false);
- is_fat (false);
- is_ntfs (false);
- is_samba (false);
- is_nfs (false);
- is_netapp (false);
- is_cdrom (false);
- }
+ void clear () { memset (this, 0 , sizeof *this); }
+ fs_info () { clear (); }
+
inline DWORD& flags () {return status.flags;};
IMPLEMENT_STATUS_FLAG (bool, is_remote_drive)