Re: [PATCH] config --get --path: check for unset $HOME
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Jul 26, 2010, 17:08 UTC
- Message-ID
- <20100726170837.GC4399@burratino>
- In-Reply-To
- <AANLkTimf73aczIILlQ5N_id97kJNmGAUf0QLlMl8my2r@mail.gmail.com>
Ævar Arnfjörð Bjarmason wrote:
> Should we maybe fall back on checking pw_dir in getpwuid() if $HOME isn't set?
Maybe. Why? On Unix I suspect it is such a rare case as to not justify complicating the rules, but I do not know if it would help on other platforms.
Jonathan