Commit 8cfd6446 authored by Juanma Barranquero's avatar Juanma Barranquero

(file_name_as_directory): Use literal '/' instead of DIRECTORY_SEP.

parent ab380f51
......@@ -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.
......
......@@ -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
......
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