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:
@ -594,9 +594,9 @@ fhandler_base::open (int flags, mode_t mode)
|
||||
|
||||
if (get_device () == FH_FS)
|
||||
{
|
||||
/* Add the reparse point flag to native symlinks, otherwise we open the
|
||||
target, not the symlink. This would break lstat. */
|
||||
if (pc.is_rep_symlink ())
|
||||
/* Add the reparse point flag to known repares points, otherwise we
|
||||
open the target, not the reparse point. This would break lstat. */
|
||||
if (pc.is_known_reparse_point ())
|
||||
options |= FILE_OPEN_REPARSE_POINT;
|
||||
|
||||
/* O_TMPFILE files are created with delete-on-close semantics, as well
|
||||
|
Reference in New Issue
Block a user