4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-30 19:10:36 +08:00

* path.cc (symlink_info::check): Eliminate PATH_REP bit from pflags.

This commit is contained in:
Corinna Vinschen 2006-11-02 12:19:16 +00:00
parent 5fc8f227dc
commit 4521c4bd0c
2 changed files with 6 additions and 2 deletions

View File

@ -1,6 +1,10 @@
2006-11-02 Corinna Vinschen <corinna@vinschen.de> 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. paths in symlinks to POSIX.
(symlink_info::check_shortcut): Allocate buf allowing for a trailing 0. (symlink_info::check_shortcut): Allocate buf allowing for a trailing 0.
Call posixify on the result. Call posixify on the result.

View File

@ -3394,7 +3394,7 @@ symlink_info::check (char *path, const suffix_info *suffixes, unsigned opt)
major = 0; major = 0;
minor = 0; minor = 0;
mode = 0; mode = 0;
pflags &= ~(PATH_SYMLINK | PATH_LNK); pflags &= ~(PATH_SYMLINK | PATH_LNK | PATH_REP);
case_clash = false; case_clash = false;
while (suffix.next ()) while (suffix.next ())