Subject: Re: 27.0.50; expand-file-name: default directory expanded twice if relative

From: Paul Eggert <[email-masked]>
Date: Fri, 23 Nov 2018 12:22:19 -0800

Glenn Morris wrote:
> So far all I see from POSIX is that it doesn't say anything about whether HOME is absolute or not.

By not saying anything POSIX gives permission to the application to set HOME to 
a relative name. When POSIX intends the requirement that an environment 
variable's value must be absolute (e.g., PWD), it says so. When it doesn't 
intend such a requirement (e.g., HOME, PATH, SHELL, TMPDIR) it says nothing.