From b9ea8ac6acaf4cd58f1bcc2b1ec966ce2b491ab7 Mon Sep 17 00:00:00 2001 From: Marius Gerbershagen Date: Sat, 19 Nov 2022 20:38:12 +0100 Subject: [PATCH] rename-file: fix error message Don't use the filename encoded in utf8/utf16/whatever in the error message. --- src/c/unixfsys.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/c/unixfsys.d b/src/c/unixfsys.d index 89328e888..e5a1a64df 100644 --- a/src/c/unixfsys.d +++ b/src/c/unixfsys.d @@ -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';