[ 
https://issues.apache.org/jira/browse/MESOS-6735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16272116#comment-16272116
 ] 

Andrew Schwartzmeyer commented on MESOS-6735:
---------------------------------------------

{noformat}
commit 4f0155877
Author: Andrew Schwartzmeyer <[email protected]>
Date:   Wed Nov 1 12:46:03 2017 -0700

    Windows: Fixed `os::realpath` to behave like POSIX version.

    The existing implementation (1) did not resolve symlinks and (2) did not
    check for existence of the path. This resulted in unexpected behaviors
    by users of the function.

    Review: https://reviews.apache.org/r/63812
{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)

Reply via email to