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

Ilia K ki.stfu at gmail.com
Wed Feb 11 01:28:01 PST 2015


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


REPOSITORY
  rL LLVM

http://reviews.llvm.org/D7515

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list