Commit 34097368 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(Fexpand_file_name) [DOS_NT]: Correct the `if' clause

to compile on all platforms.
parent 8b09e5d0
......@@ -1164,13 +1164,13 @@ See also the function `substitute-in-file-name'.")
/* 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]) && IS_DIRECTORY_SEP (nm[1]))
#ifdef VMS
&& !index (nm, ':')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment