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
8cfd6446
Commit
8cfd6446
authored
Jul 19, 2002
by
Juanma Barranquero
Browse files
(file_name_as_directory): Use literal '/' instead of DIRECTORY_SEP.
parent
ab380f51
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
src/ChangeLog
src/ChangeLog
+1
-0
src/fileio.c
src/fileio.c
+2
-1
No files found.
src/ChangeLog
View file @
8cfd6446
...
...
@@ -37,6 +37,7 @@
2002-07-19 Juanma Barranquero <lektu@terra.es>
* fileio.c (Ffile_name_as_directory): Fix argument name in docstring.
(file_name_as_directory): Use literal '/' instead of DIRECTORY_SEP.
* xdisp.c (syms_of_xdisp): Remove redundant deprecation info.
...
...
src/fileio.c
View file @
8cfd6446
...
...
@@ -602,7 +602,8 @@ file_name_as_directory (out, in)
/* For Unix syntax, Append a slash if necessary */
if (!IS_DIRECTORY_SEP (out[size]))
{
out[size + 1] = DIRECTORY_SEP;
/* Cannot use DIRECTORY_SEP, which could have any value */
out[size + 1] = '/';
out[size + 2] = '\0';
}
#ifdef DOS_NT
...
...
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