# HG changeset patch # User Richard M. Stallman # Date 834692972 0 # Node ID 97557b39e3b7405f08a474e2365b65fb4142a801 # Parent 28464b50adfb0ed72dd45a4a3e6ad40db8d14b9a (Fexpand_file_name): When simplifying /foo/.., keep the initial slash. diff -r 28464b50adfb -r 97557b39e3b7 src/fileio.c --- 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