You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Andrew Schwartzmeyer (JIRA)" <ji...@apache.org> on 2017/11/30 03:36:00 UTC

[jira] [Commented] (MESOS-6735) `os::realpath` semantics differ between Windows and POSIX

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

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

{noformat}
commit b64ff8888
Author: Andrew Schwartzmeyer <an...@schwartzmeyer.com>
Date:   Wed Nov 1 12:28:54 2017 -0700

    Windows: Added internal `fullpath` API to normalize paths.

    This explicitly does not check for existence, nor does it follow
    symlinks. It simply normalizes a given path to an absolute path. This
    removes the `reparsepoint.hpp` and `symlink.hpp` dependency os
    `os::realpath`.

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