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 15:19:16 +0300
committerCorinna Vinschen <corinna@vinschen.de>2006-11-02 15:19:16 +0300
commit4521c4bd0cd8e52329b8439c9056d1932d4fccc3 (patch)
tree8c3a0b5e663d2f17b7d0c13a0560dffd58e72acf
parent5fc8f227dc316d00dda49c40fe1345505e6b82d2 (diff)
* path.cc (symlink_info::check): Eliminate PATH_REP bit from pflags.
-rw-r--r--winsup/cygwin/ChangeLog6
-rw-r--r--winsup/cygwin/path.cc2
2 files changed, 6 insertions, 2 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 0e3d70488..364935bab 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,6 +1,10 @@
2006-11-02 Corinna Vinschen <corinna@vinschen.de>
- * path.cc (symlink_info::posixify): New mothod converting NT and DOS
+ * path.cc (symlink_info::check): Eliminate PATH_REP bit from pflags.
+
+2006-11-02 Corinna Vinschen <corinna@vinschen.de>
+
+ * path.cc (symlink_info::posixify): New method converting NT and DOS
paths in symlinks to POSIX.
(symlink_info::check_shortcut): Allocate buf allowing for a trailing 0.
Call posixify on the result.
diff --git a/winsup/cygwin/path.cc b/winsup/cygwin/path.cc
index d7d0e12dd..a24403e12 100644
--- a/winsup/cygwin/path.cc
+++ b/winsup/cygwin/path.cc
@@ -3394,7 +3394,7 @@ symlink_info::check (char *path, const suffix_info *suffixes, unsigned opt)
major = 0;
minor = 0;
mode = 0;
- pflags &= ~(PATH_SYMLINK | PATH_LNK);
+ pflags &= ~(PATH_SYMLINK | PATH_LNK | PATH_REP);
case_clash = false;
while (suffix.next ())