Commit 51b1d12e authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(Fexpand_file_name): When simplifying /foo/.., keep the initial slash.

parent d7a28201
......@@ -1386,6 +1386,8 @@ See also the function `substitute-in-file-name'.")
{
while (o != target && (--o) && !IS_DIRECTORY_SEP (*o))
;
if (o == target && IS_ANY_SEP (*o))
++o;
p += 3;
}
else
......
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