Mercurial > emacs
changeset 46566:2f6929599b1a
(file_name_as_directory): Use literal '/' instead of DIRECTORY_SEP.
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Fri, 19 Jul 2002 21:22:14 +0000 |
parents | 0cda1beae474 |
children | 3dea67668bb0 |
files | src/fileio.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/fileio.c Fri Jul 19 20:55:05 2002 +0000 +++ b/src/fileio.c Fri Jul 19 21:22:14 2002 +0000 @@ -602,7 +602,8 @@ /* 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