<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 9, 2015 at 12:10 PM, Ilia K <span dir="ltr"><<a href="mailto:ki.stfu@gmail.com" target="_blank">ki.stfu@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Hello Chandler,</div><div><br></div>>RE: <span style="font-size:12.8000001907349px">Why is this useful?</span><div><span style="font-size:12.8000001907349px">It tries to get home_direictory by all ways. It's useful in case when HOME wasn't set (that was in my case).</span><br></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">>RE: </span><span style="font-size:12.8000001907349px">The documentation for getpwuid specifically suggests that applications should merely inspect the HOME environment variable.</span></div><div><span style="font-size:12.8000001907349px">I didn't see any references to HOME variable. (see <a href="http://pubs.opengroup.org/onlinepubs/009695399/functions/getpwuid.html" target="_blank">http://pubs.opengroup.org/onlinepubs/009695399/functions/getpwuid.html</a>)</span></div></blockquote></div><br>But what platform is it that we're hypothetically supporting? All the BSD and Linux flavors I know of rely heavily on the HOME environment variable. All the build bots I know of test under that assumption. I'm worried about adding code to support another variant that we have essentially no way of testing and no knowledge of why it was important.</div></div>