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/04/07 18:58:41 UTC

[jira] [Updated] (MESOS-6678) `os::temp` might fail on Windows

     [ https://issues.apache.org/jira/browse/MESOS-6678?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Schwartzmeyer updated MESOS-6678:
----------------------------------------
    Labels: stout windows  (was: stout)

> `os::temp` might fail on Windows
> --------------------------------
>
>                 Key: MESOS-6678
>                 URL: https://issues.apache.org/jira/browse/MESOS-6678
>             Project: Mesos
>          Issue Type: Bug
>          Components: stout
>            Reporter: Alex Clemmer
>            Assignee: Andrew Schwartzmeyer
>            Priority: Minor
>              Labels: stout, windows
>
> On Unix, `os::temp` is always `/tmp`. On Windows, we have to get this path from the OS. Unfortunately, this operation might fail, and we need to handle this.
> We should consider either:
> (1) Defaulting to something sane, or
> (2) Refactoring `os::temp` to return a `Try<std::string>`



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)