[
https://issues.apache.org/jira/browse/MESOS-6735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16272115#comment-16272115
]
Andrew Schwartzmeyer commented on MESOS-6735:
---------------------------------------------
{noformat}
commit f1229891d
Author: Andrew Schwartzmeyer <[email protected]>
Date: Wed Nov 1 12:30:33 2017 -0700
Windows: Added internal `get_handle_follow` which follows symlinks.
This is the opposite of `get_handle_no_follow`. They both use the
inappropriately named Windows API `CreateFile` to retrieve a `HANDLE` to
an existing file or directory. This existing `get_handle_no_follow`
explicitly gets a handle to the symlink itself, and the new
`get_handle_follow` explicitly resolves symlinks and gets a handle to
the target.
This may fail if the target doesn't exist.
Review: https://reviews.apache.org/r/63811
{noformat}
> `os::realpath` semantics differ between Windows and POSIX
> ---------------------------------------------------------
>
> Key: MESOS-6735
> URL: https://issues.apache.org/jira/browse/MESOS-6735
> Project: Mesos
> Issue Type: Bug
> Components: stout
> Reporter: Alex Clemmer
> Assignee: Andrew Schwartzmeyer
> Labels: stout
> Fix For: 1.6.0
>
>
> `os::realpath` on Unix should error out if the path does not exist. On
> Windows, the implementation is backed by `_fullpath`, which does not error
> out if the path does not exist. In general, we'd like the semantics to be as
> similar as possible across the two.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)