Commit 69ac1891 authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(Ffile_symlink_p): If result starts with a `/'

and contains a `:', prepend `/:'.
parent 719eaeb1
......@@ -3022,6 +3022,8 @@ Otherwise returns nil.")
return Qnil;
}
val = make_string (buf, valsize);
if (buf[0] == '/' && index (buf, ':'))
val = concat2 (build_string ("/:"), val);
xfree (buf);
val = DECODE_FILE (val);
return val;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment