<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><br><div><div>On Aug 13, 2014, at 7:57 , Rafael Espíndola <<a href="mailto:rafael.espindola@gmail.com">rafael.espindola@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><blockquote type="cite">It looks like OS X always has TMPDIR set these days (to the value of<br>_CS_DARWIN_USER_TEMP_DIR), so I think we should just go with TMPDIR if it's<br>set and non-empty, and then fall back to confstr. However, we should not be<br>using TMPDIR if ErasedOnReboot is false (i.e. if we'd prefer<br>_CS_DARWIN_USER_CACHE_DIR). Unfortunately there's no canonical environment<br>variable for that.<br><br>CCing Greg to see if that makes sense.<br></blockquote><br>OK, so I guess something like this?<br></blockquote></div><br><div>Well, that changes behavior on Linux; previously it <i>did</i> honor TMPDIR when looking for a cache directory. Is that okay? (The Windows version is also honoring TEMP in this case.)</div><div><br></div><div>What are we using the cache dir for besides the module cache?</div><div><br></div><div>Jordan</div></body></html>