Re: Build failure on M$ (using MSVC): Patch enclosed

From:

Stefan Monnier

Subject:

Re: Build failure on M$ (using MSVC): Patch enclosed

Date:

Thu, 22 May 2008 00:46:22 -0400

User-agent:

Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

> Well, I was not aware of that function. Looking a little deeper into
> it, it does not traverse above the current user $HOME (~/ or %HOME%).
> This code needs to go all the way till the top. Since it does a
> username comparison, it apprears a bit more expensive (based on gut
> feel though).
Indeed, it doesn't go up past the home directory and it doesn't lookup
past a directory with a different owner. It's all done on purpose to
try and avoid pathological cases.
I don't see that as a problem at all.
Stefan