changeset 17580:331ce9fbf08b

(Fsubstitute_in_file_name): Use xnm uniformly, never nm, when handling /~ and // at the end.
author Richard M. Stallman <rms@gnu.org>
date Sun, 27 Apr 1997 18:19:42 +0000
parents 8dd146dbe737
children 9df604cbe7cc
files src/fileio.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/fileio.c	Sun Apr 27 18:02:16 1997 +0000
+++ b/src/fileio.c	Sun Apr 27 18:19:42 1997 +0000
@@ -1922,7 +1922,7 @@
 	 || 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] == ':'