changeset 27870:a36c3e02f43b

(Ffile_symlink_p): If result starts with a `/' and contains a `:', prepend `/:'.
author Gerd Moellmann <gerd@gnu.org>
date Fri, 25 Feb 2000 15:42:23 +0000
parents 1322db65a230
children 210900dff9a5
files src/fileio.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/fileio.c	Fri Feb 25 15:41:43 2000 +0000
+++ b/src/fileio.c	Fri Feb 25 15:42:23 2000 +0000
@@ -3022,6 +3022,8 @@
       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;