Cygwin: path_conv: rename is_rep_symlink to is_known_reparse_point

...in preparation of reusing this flag for other types of
reparse points, not only symlinks.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
Corinna Vinschen
2018-03-01 16:41:45 +01:00
parent a27a7752ec
commit 7ae89fe708
5 changed files with 14 additions and 13 deletions

View File

@ -1013,7 +1013,7 @@ path_conv::check (const char *src, unsigned opt,
saw_symlinks = 1;
if (component == 0 && !need_directory
&& (!(opt & PC_SYM_FOLLOW)
|| (is_rep_symlink ()
|| (is_known_reparse_point ()
&& (opt & PC_SYM_NOFOLLOW_REP))))
{
/* last component of path is a symlink. */