Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
34097368
Commit
34097368
authored
May 01, 1996
by
Richard M. Stallman
Browse files
(Fexpand_file_name) [DOS_NT]: Correct the `if' clause
to compile on all platforms.
parent
8b09e5d0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/fileio.c
src/fileio.c
+3
-3
No files found.
src/fileio.c
View file @
34097368
...
...
@@ -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])
#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, ':')
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment