You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Alex Clemmer (JIRA)" <ji...@apache.org> on 2016/12/02 23:46:58 UTC

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

Alex Clemmer created MESOS-6678:
-----------------------------------

             Summary: `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: Alex Clemmer


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.4#6332)