diff options
| author | Karl Heuer | 1997-10-16 18:25:42 +0000 |
|---|---|---|
| committer | Karl Heuer | 1997-10-16 18:25:42 +0000 |
| commit | 0a59111cbce8734fc2ac9e611ade35b235bad6c0 (patch) | |
| tree | 26aa936584efd2c70a1698072273097b67a81cad /src | |
| parent | a59b7025400c0f0ab88ff72eb301f24a179a8714 (diff) | |
| download | emacs-0a59111cbce8734fc2ac9e611ade35b235bad6c0.tar.gz emacs-0a59111cbce8734fc2ac9e611ade35b235bad6c0.zip | |
(Fexpand_file_name): Avoid treating // specially
even in a relative file name.
Diffstat (limited to 'src')
| -rw-r--r-- | src/fileio.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/fileio.c b/src/fileio.c index 4636193e577..b701d83fcd2 100644 --- a/src/fileio.c +++ b/src/fileio.c | |||
| @@ -1378,17 +1378,6 @@ See also the function `substitute-in-file-name'.") | |||
| 1378 | { | 1378 | { |
| 1379 | *o++ = *p++; | 1379 | *o++ = *p++; |
| 1380 | } | 1380 | } |
| 1381 | else if (IS_DIRECTORY_SEP (p[0]) && IS_DIRECTORY_SEP (p[1]) | ||
| 1382 | #if defined (APOLLO) || defined (WINDOWSNT) | ||
| 1383 | /* // at start of filename is meaningful in Apollo | ||
| 1384 | and WindowsNT systems. */ | ||
| 1385 | && o != target | ||
| 1386 | #endif /* APOLLO || WINDOWSNT */ | ||
| 1387 | ) | ||
| 1388 | { | ||
| 1389 | o = target; | ||
| 1390 | p++; | ||
| 1391 | } | ||
| 1392 | else if (IS_DIRECTORY_SEP (p[0]) | 1381 | else if (IS_DIRECTORY_SEP (p[0]) |
| 1393 | && p[1] == '.' | 1382 | && p[1] == '.' |
| 1394 | && (IS_DIRECTORY_SEP (p[2]) | 1383 | && (IS_DIRECTORY_SEP (p[2]) |