changeset 15427:97557b39e3b7

(Fexpand_file_name): When simplifying /foo/.., keep the initial slash.
author Richard M. Stallman <rms@gnu.org>
date Thu, 13 Jun 1996 19:09:32 +0000
parents 28464b50adfb
children 55a2ea0e640c
files src/fileio.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/fileio.c	Thu Jun 13 16:41:20 1996 +0000
+++ b/src/fileio.c	Thu Jun 13 19:09:32 1996 +0000
@@ -1386,6 +1386,8 @@
 	{
 	  while (o != target && (--o) && !IS_DIRECTORY_SEP (*o))
 	    ;
+	  if (o == target && IS_ANY_SEP (*o))
+	    ++o;
 	  p += 3;
 	}
       else