From 69ac18912e1ccb67686f3d40ff1932d3f3efd2f1 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Fri, 25 Feb 2000 15:42:23 +0000 Subject: [PATCH] (Ffile_symlink_p): If result starts with a `/' and contains a `:', prepend `/:'. --- src/fileio.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/fileio.c b/src/fileio.c index 1d3da63ba5c..b731916f438 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -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; -- 2.39.5