Mercurial > emacs
changeset 15124:b2c682fcd3ef
(Fexpand_file_name) [DOS_NT]: Correct the `if' clause
to compile on all platforms.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 01 May 1996 23:24:44 +0000 |
parents | d6106d651a71 |
children | 4dc406e38d68 |
files | src/fileio.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/fileio.c Wed May 01 21:25:49 1996 +0000 +++ b/src/fileio.c Wed May 01 23:24:44 1996 +0000 @@ -1164,13 +1164,13 @@ /* Finally, if no prefix has been specified and nm is not absolute, then it must be expanded relative to default_directory. */ - if ( + if (1 #ifndef DOS_NT /* /... alone is not absolute on DOS and Windows. */ - !IS_DIRECTORY_SEP (nm[0]) + && !IS_DIRECTORY_SEP (nm[0]) #endif #ifdef WINDOWSNT - !(IS_DIRECTORY_SEP (nm[0]) && IS_DIRECTORY_SEP (nm[1])) + && !(IS_DIRECTORY_SEP (nm[0]) && IS_DIRECTORY_SEP (nm[1])) #endif #ifdef VMS && !index (nm, ':')