From ac5b7072163d90f3006cdc35bc96c5b0fe55b306 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 27 Apr 1997 18:19:42 +0000 Subject: [PATCH] (Fsubstitute_in_file_name): Use xnm uniformly, never nm, when handling /~ and // at the end. --- src/fileio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fileio.c b/src/fileio.c index 9bb1a10f229..a05dbd5f221 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -1922,7 +1922,7 @@ duplicates what `expand-file-name' does.") || IS_DIRECTORY_SEP (p[0]) #endif /* not (APOLLO || WINDOWSNT) */ ) - && p != nm && IS_DIRECTORY_SEP (p[-1])) + && p != xnm && IS_DIRECTORY_SEP (p[-1])) xnm = p; #ifdef DOS_NT else if (IS_DRIVE (p[0]) && p[1] == ':' -- 2.39.5