# HG changeset patch # User Juanma Barranquero # Date 1027113734 0 # Node ID 2f6929599b1aac7329e6d621aa60d4be0ba02734 # Parent 0cda1beae474bff25e28fb571550e390218fbcc7 (file_name_as_directory): Use literal '/' instead of DIRECTORY_SEP. diff -r 0cda1beae474 -r 2f6929599b1a src/fileio.c --- 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