* path.cc (symlink_info::check): Fix a comment.

This commit is contained in:
Corinna Vinschen 2010-04-22 09:43:29 +00:00
parent ebff53b339
commit c43e19442c
2 changed files with 9 additions and 5 deletions

View File

@ -1,3 +1,7 @@
2010-04-22 Corinna Vinschen <corinna@vinschen.de>
* path.cc (symlink_info::check): Fix a comment.
2010-04-21 Corinna Vinschen <corinna@vinschen.de> 2010-04-21 Corinna Vinschen <corinna@vinschen.de>
Christopher Faylor <me+cygwin@cgf.cx> Christopher Faylor <me+cygwin@cgf.cx>

View File

@ -2435,11 +2435,11 @@ symlink_info::check (char *path, const suffix_info *suffixes, unsigned opt,
if (res == -1) if (res == -1)
{ {
/* Volume mount point. The filesystem information for the top /* Volume mount point. The filesystem information for the top
level directory should be for the volume top level directory level directory should be for the volume top level directory,
itself, rather than for the reparse point itself. So we rather than for the reparse point itself. So we fetch the
fetch the filesystem information again, but with a NULL filesystem information again, but with a NULL handle.
handle. This does what we want because fs_info::update opens This does what we want because fs_info::update opens the
the handle without FILE_OPEN_REPARSE_POINT. */ handle without FILE_OPEN_REPARSE_POINT. */
fs.update (&upath, NULL); fs.update (&upath, NULL);
} }
else if (res) else if (res)