diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2015-12-15 16:51:54 +0100 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2016-06-24 21:07:39 +0200 |
commit | a361f44c979da120cdc3c3286dc3b802c3a9422d (patch) | |
tree | 15c1e48289fed09f6a42a6b126d8a16d7d972f59 | |
parent | e855447fd2f468327f85955ca9ccc80dcfb28692 (diff) | |
download | cygnal-a361f44c979da120cdc3c3286dc3b802c3a9422d.tar.gz cygnal-a361f44c979da120cdc3c3286dc3b802c3a9422d.tar.bz2 cygnal-a361f44c979da120cdc3c3286dc3b802c3a9422d.zip |
symlink_info::check fixup comment and two test for non-XP
-rw-r--r-- | winsup/cygwin/path.cc | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/winsup/cygwin/path.cc b/winsup/cygwin/path.cc index 4ca8e0872..7e7956d34 100644 --- a/winsup/cygwin/path.cc +++ b/winsup/cygwin/path.cc @@ -2702,9 +2702,8 @@ restart: manages them. I really hope it's streamlined enough not to slow down normal operation. This extra check only kicks in if we encountered a STATUS_OBJECT_NAME_NOT_FOUND *and* we didn't - already attach a suffix *and* the above special case for UDF - on XP didn't succeeed. */ - if (!restarted && !*ext_here && !(pflags & PATH_DOS) && !fs.inited ()) + already attach a suffix. */ + if (!restarted && !*ext_here && !(pflags & PATH_DOS)) { /* Check for trailing dot or space or leading space in last component. */ @@ -2720,8 +2719,7 @@ restart: { /* If so, check if file resides on one of the known broken FSes only supporting filenames following DOS rules. */ - if (!fs.inited ()) - fs.update (&upath, NULL); + fs.update (&upath, NULL); if (fs.has_dos_filenames_only ()) { /* If so, try again. Since we now know the FS, the |