diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2013-01-10 19:08:22 +0400 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2013-01-10 19:08:22 +0400 |
commit | 34ce80888a007336701d1df0ecadf739e751a67f (patch) | |
tree | d10ac0e834be245567d38f36c24871dce55effa6 /winsup/cygwin/path.h | |
parent | 211f1ec717030bf85fc7867b094f6ceaba28c72a (diff) |
* path.h (path_conv::fs_type): New method.
* syscalls.cc (rename): Check for cross-device situation before
touching anything. Explain why. Workaround NFS bug in call to
NtSetInformationFile(FileRenameInformation).
Diffstat (limited to 'winsup/cygwin/path.h')
-rw-r--r-- | winsup/cygwin/path.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/path.h b/winsup/cygwin/path.h index 4535c7e49..139cd86ee 100644 --- a/winsup/cygwin/path.h +++ b/winsup/cygwin/path.h @@ -362,6 +362,7 @@ class path_conv bool fs_is_cifs () const {return fs.is_cifs ();} bool fs_is_nwfs () const {return fs.is_nwfs ();} bool fs_is_ncfsd () const {return fs.is_ncfsd ();} + fs_info_type fs_type () const {return fs.what_fs ();} ULONG fs_serial_number () const {return fs.serial_number ();} inline const char *set_path (const char *p) { |