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>2006-11-02 16:39:44 +0300
committerCorinna Vinschen <corinna@vinschen.de>2006-11-02 16:39:44 +0300
commit2228ff0267c1f2fad9f1991151a4b2c908474950 (patch)
tree90c1ef044c3b49e47b5806632792cf65b54dc9eb
parent4521c4bd0cd8e52329b8439c9056d1932d4fccc3 (diff)
* path.cc (symlink_info::posixify): Fix comment.
-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. */