<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 11, 2015 at 1:30 AM, Mehdi Amini <span dir="ltr"><<a href="mailto:mehdi.amini@apple.com" target="_blank">mehdi.amini@apple.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">> On Feb 11, 2015, at 1:28 AM, Ilia K <<a href="mailto:ki.stfu@gmail.com">ki.stfu@gmail.com</a>> wrote:<br>
><br>
> In <a href="http://reviews.llvm.org/D7515#121843" target="_blank">http://reviews.llvm.org/D7515#121843</a>, @joker.eph wrote:<br>
><br>
>> FWIW, it seems to me that Python is doing it this way: <a href="https://github.com/enthought/Python-2.7.3/blob/master/Lib/posixpath.py" target="_blank">https://github.com/enthought/Python-2.7.3/blob/master/Lib/posixpath.py</a><br>
><br>
><br>
> As you see my fix does the same thing.<br>
><br>
> Are you interested in this patch? If so I can fix your remarks<br>
<br>
<br>
</span>I am completely neutral. It’s Chandler’s call...<br>
<br>
We'll see if Python has a strong influence on him :)</blockquote></div><br>FWIW, I'd rather not add the complexity. I'm not really swayed that this is important enough for us to add complex logic to handle the fallback case.</div><div class="gmail_extra"><br></div><div class="gmail_extra">What would convince me we should add it would be existing and hard to change settings where HOME was removed from the environment, and thus users who were negatively impacted by us not providing a fallback. Currently, it seems like any failure to find the home directory will likely just expose a flawed runtime environment that needs to be fixed. But if there are users that need LLVM tools to work without the HOME variable *and* who need to access the home directory, then that would motivate adding this support.</div><div class="gmail_extra"><br></div><div class="gmail_extra">-Chandler</div></div>