(decode_env_path): Use ".", not nil, for current dir.
This commit is contained in:
parent
b8e9a326c1
commit
d70fbccad6
1 changed files with 2 additions and 1 deletions
|
@ -1348,7 +1348,8 @@ decode_env_path (evarname, defalt)
|
|||
{
|
||||
p = index (path, SEPCHAR);
|
||||
if (!p) p = path + strlen (path);
|
||||
lpath = Fcons (p - path ? make_string (path, p - path) : Qnil,
|
||||
lpath = Fcons (p - path ? make_string (path, p - path)
|
||||
: build_string ("."),
|
||||
lpath);
|
||||
if (*p)
|
||||
path = p + 1;
|
||||
|
|
Loading…
Add table
Reference in a new issue