diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2009-01-29 23:32:08 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2009-01-29 23:32:08 +0300 |
commit | 43616e5526861e4e6afeafb2f9cf4d4626a237b6 (patch) | |
tree | 4578bfc345ff5b9720e1b40d675bee292e6b18f1 /winsup/cygwin/mount.h | |
parent | bacd5877baf38e412c61b47f9ea24a24e01814e8 (diff) |
* fhandler_disk_file.cc (fhandler_disk_file::readdir): Fix inode number
evaluation for faked "." entry.
* mount.cc (fs_info::update): Move setting of is_cdrom after checking
for caseinsensitivity. Recognize UDF in is_cdrom case and set
caseinsensitive flag according to UDF brokenness determined by OS.
Add comment to explain why.
* mount.h (class fs_info): Add is_udf status flag.
* path.cc (symlink_info::check): Add workaround for UDF bug in
terms of casesensitivity on certain OSes.
* wincap.h (wincaps::has_broken_udf): New element.
(wincaps::has_broken_udf): New element
Diffstat (limited to 'winsup/cygwin/mount.h')
-rw-r--r-- | winsup/cygwin/mount.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/cygwin/mount.h b/winsup/cygwin/mount.h index c6c0bb1e0..4537f465a 100644 --- a/winsup/cygwin/mount.h +++ b/winsup/cygwin/mount.h @@ -31,6 +31,7 @@ class fs_info unsigned is_nfs : 1; unsigned is_netapp : 1; unsigned is_cdrom : 1; + unsigned is_udf : 1; } status; ULONG sernum; public: @@ -52,6 +53,7 @@ class fs_info IMPLEMENT_STATUS_FLAG (bool, is_nfs) IMPLEMENT_STATUS_FLAG (bool, is_netapp) IMPLEMENT_STATUS_FLAG (bool, is_cdrom) + IMPLEMENT_STATUS_FLAG (bool, is_udf) ULONG serial_number () const { return sernum; } bool update (PUNICODE_STRING, HANDLE) __attribute__ ((regparm (3))); |