diff options
author | Juanma Barranquero <lekktu@gmail.com> | 2002-07-19 21:26:14 +0000 |
---|---|---|
committer | Juanma Barranquero <lekktu@gmail.com> | 2002-07-19 21:26:14 +0000 |
commit | 8cfd6446cbc57bee699a788308281683a9175344 (patch) | |
tree | 2b06329558aabccd7f54acd12d29a7be3743e82a /src/fileio.c | |
parent | ab380f51c115821e380cedaa32c85d52c823a840 (diff) | |
download | emacs-8cfd6446cbc57bee699a788308281683a9175344.tar.gz |
(file_name_as_directory): Use literal '/' instead of DIRECTORY_SEP.
Diffstat (limited to 'src/fileio.c')
-rw-r--r-- | src/fileio.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fileio.c b/src/fileio.c index 74e97fc5dc7..f764bff2200 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -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 |