From 2228ff0267c1f2fad9f1991151a4b2c908474950 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Thu, 2 Nov 2006 13:39:44 +0000 Subject: [PATCH] * path.cc (symlink_info::posixify): Fix comment. --- winsup/cygwin/ChangeLog | 4 ++++ winsup/cygwin/path.cc | 4 ++-- 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,3 +1,7 @@ +2006-11-02 Corinna Vinschen + + * path.cc (symlink_info::posixify): Fix comment. + 2006-11-02 Corinna Vinschen * path.cc (symlink_info::check): Eliminate PATH_REP bit from pflags. 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. */ -- 2.43.5