]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fexpand_file_name): When simplifying /foo/.., keep the initial slash.
authorRichard M. Stallman <rms@gnu.org>
Thu, 13 Jun 1996 19:09:32 +0000 (19:09 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 13 Jun 1996 19:09:32 +0000 (19:09 +0000)
src/fileio.c

index a05a72e97bd80c24db39796a0791b1c228b8f951..f5a800f6c16697d8521aac9b9b6e4b7feb952df4 100644 (file)
@@ -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