[PATCH] Fix llvm::sys::path::home_directory on unix to get path from passwd.pw_dir when the $HOME variable isn't set

Mehdi Amini mehdi.amini at apple.com
Wed Feb 11 01:30:44 PST 2015


> On Feb 11, 2015, at 1:28 AM, Ilia K <ki.stfu at gmail.com> wrote:
> 
> In http://reviews.llvm.org/D7515#121843, @joker.eph wrote:
> 
>> FWIW, it seems to me that Python is doing it this way: https://github.com/enthought/Python-2.7.3/blob/master/Lib/posixpath.py
> 
> 
> As you see my fix does the same thing.
> 
> Are you interested in this patch? If so I can fix your remarks


I am completely neutral. It’s Chandler’s call...

We'll see if Python has a strong influence on him  :)

— 
Mehdi



More information about the llvm-commits mailing list