rename-file: fix error message

Don't use the filename encoded in utf8/utf16/whatever in the error
message.
This commit is contained in:
Marius Gerbershagen 2022-11-19 20:38:12 +01:00
parent 220faae167
commit b9ea8ac6ac

View file

@ -561,7 +561,7 @@ ecl_file_len(int f)
@':supersede', /* continuable */
/* format */
ecl_make_constant_base_string(msg,strlen(msg)),
cl_list(2, oldn, new_filename), /* format args */
cl_list(2, oldn, newn), /* format args */
@':pathname', /* file-error options */
new_filename);
if (if_exists == ECL_T) if_exists= @':error';