# HG changeset patch # User Richard M. Stallman # Date 846353771 0 # Node ID 1b3c7561d2866933e07ea2309b5e15d34354150e # Parent 4ef76e689d69d81e4e3142b1a2efe5800fb4b56a (Fexpand_file_name): No longer discard .../ before another / or ~. That is now only in Fsubstitute_in_file_name. diff -r 4ef76e689d69 -r 1b3c7561d286 src/fileio.c --- a/src/fileio.c Sat Oct 26 18:15:32 1996 +0000 +++ b/src/fileio.c Sat Oct 26 18:16:11 1996 +0000 @@ -901,29 +901,6 @@ } #endif /* DOS_NT */ - /* Handle // and /~ in middle of file name - by discarding everything through the first / of that sequence. */ - p = nm; - while (*p) - { - /* Since we are expecting the name to be absolute, we can assume - that each element starts with a "/". */ - - if (IS_DIRECTORY_SEP (p[0]) && IS_DIRECTORY_SEP (p[1]) -#if defined (APOLLO) || defined (WINDOWSNT) - /* // at start of filename is meaningful on Apollo - and WindowsNT systems */ - && nm != p -#endif /* APOLLO || WINDOWSNT */ - ) - nm = p + 1; - - if (IS_DIRECTORY_SEP (p[0]) && p[1] == '~') - nm = p + 1; - - p++; - } - #ifdef WINDOWSNT /* Discard any previous drive specifier if nm is now in UNC format. */ if (IS_DIRECTORY_SEP (nm[0]) && IS_DIRECTORY_SEP (nm[1]))