summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--winsup/cygwin/ChangeLog4
-rw-r--r--winsup/cygwin/path.cc4
2 files changed, 6 insertions, 2 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 364935bab..f0c170a91 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,5 +1,9 @@
2006-11-02 Corinna Vinschen <corinna@vinschen.de>
+ * path.cc (symlink_info::posixify): Fix comment.
+
+2006-11-02 Corinna Vinschen <corinna@vinschen.de>
+
* path.cc (symlink_info::check): Eliminate PATH_REP bit from pflags.
2006-11-02 Corinna Vinschen <corinna@vinschen.de>
diff --git a/winsup/cygwin/path.cc b/winsup/cygwin/path.cc
index a24403e12..29a006540 100644
--- a/winsup/cygwin/path.cc
+++ b/winsup/cygwin/path.cc
@@ -3155,8 +3155,8 @@ symlink_info::posixify (char *srcbuf)
A path starting with two slashes(!) or backslashes is converted into an
NT UNC path. Unfortunately, in contrast to POSIX rules, paths starting
with three or more (back)slashes are also converted into UNC paths,
- just incorrectly sticking to their redundant backslashes. We go along
- with this behaviour to avoid scenarios in which native tools access
+ just incorrectly sticking to one redundant leading backslashe. We go
+ along with this behaviour to avoid scenarios in which native tools access
other files than Cygwin.
The above rules are used exactly the same way on Cygwin specific symlinks
(sysfiles and shortcuts) to eliminate non-POSIX paths in the output. */