From 4521c4bd0cd8e52329b8439c9056d1932d4fccc3 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Thu, 2 Nov 2006 12:19:16 +0000 Subject: [PATCH] * path.cc (symlink_info::check): Eliminate PATH_REP bit from pflags. --- winsup/cygwin/ChangeLog | 6 +++++- winsup/cygwin/path.cc | 2 +- 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 - * 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 + + * 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 ())