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>2013-01-10 19:08:22 +0400
committerCorinna Vinschen <corinna@vinschen.de>2013-01-10 19:08:22 +0400
commit34ce80888a007336701d1df0ecadf739e751a67f (patch)
treed10ac0e834be245567d38f36c24871dce55effa6 /winsup/cygwin/path.h
parent211f1ec717030bf85fc7867b094f6ceaba28c72a (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.h1
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)
{