diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2010-04-26 13:48:04 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2010-04-26 13:48:04 +0000 |
commit | 002a34fa147303ed79c1cc88fde0ae9e3b1ae4eb (patch) | |
tree | 21be9f32e360e4efc57cb662266ddb7b939a1f80 /winsup/cygwin/mount.h | |
parent | 3134b8ad36723477097ecf80be29b6960b9f0b3c (diff) | |
download | cygnal-002a34fa147303ed79c1cc88fde0ae9e3b1ae4eb.tar.gz cygnal-002a34fa147303ed79c1cc88fde0ae9e3b1ae4eb.tar.bz2 cygnal-002a34fa147303ed79c1cc88fde0ae9e3b1ae4eb.zip |
* mount.h (fs_info::inited): New inline method.
* path.cc (path_conv::check): Clear filesystem info if following a
symlink. Use new fs_info::inited method to check if FS info is already
available.
(symlink_info::check): Drop fs_update_called. Use fs_info::inited
method instead. Streamline test for leading space and trailing dot or
space. Add comments.
Diffstat (limited to 'winsup/cygwin/mount.h')
-rw-r--r-- | winsup/cygwin/mount.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/mount.h b/winsup/cygwin/mount.h index 0138e28a4..7133cc412 100644 --- a/winsup/cygwin/mount.h +++ b/winsup/cygwin/mount.h @@ -97,6 +97,7 @@ class fs_info const char *fsname () const { return fsn[0] ? fsn : "unknown"; } bool update (PUNICODE_STRING, HANDLE) __attribute__ ((regparm (3))); + bool inited () const { return !!status.flags; } }; /* Mount table entry */ |