public inbox for cygwin-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] symlink_info::check fixup comment and two test for non-XP
@ 2016-06-24 19:59 Corinna Vinschen
0 siblings, 0 replies; only message in thread
From: Corinna Vinschen @ 2016-06-24 19:59 UTC (permalink / raw)
To: cygwin-cvs
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=a361f44c979da120cdc3c3286dc3b802c3a9422d
commit a361f44c979da120cdc3c3286dc3b802c3a9422d
Author: Corinna Vinschen <corinna@vinschen.de>
Date: Tue Dec 15 16:51:54 2015 +0100
symlink_info::check fixup comment and two test for non-XP
Diff:
---
winsup/cygwin/path.cc | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/winsup/cygwin/path.cc b/winsup/cygwin/path.cc
index 4ca8e08..7e7956d 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-06-24 19:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-24 19:59 [newlib-cygwin] symlink_info::check fixup comment and two test for non-XP Corinna Vinschen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).