From: Kevin Day Date: Tue, 21 Feb 2023 04:29:38 +0000 (-0600) Subject: Bugfix: Set error status when link target is an empty string. X-Git-Tag: 0.6.4~39 X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=2bf68e87f2886ed3bad4815591d5287a68fe8d3a;p=fll Bugfix: Set error status when link target is an empty string. Also update the printed message. --- diff --git a/level_3/fake/c/private-make-operate_validate_type.c b/level_3/fake/c/private-make-operate_validate_type.c index 64d69b5..921f305 100644 --- a/level_3/fake/c/private-make-operate_validate_type.c +++ b/level_3/fake/c/private-make-operate_validate_type.c @@ -1164,8 +1164,10 @@ extern "C" { } else { if (data_make->error.verbosity != f_console_verbosity_quiet_e && data_make->error.to.stream) { - fll_print_format("%r%[%QTarget filename argument must not be an empty string.%]%r", data_make->error.to.stream, f_string_eol_s, data_make->error.context, data_make->error.prefix, data_make->error.context, f_string_eol_s); + fll_print_format("%r%[%QTarget file name argument must not be an empty string.%]%r", data_make->error.to.stream, f_string_eol_s, data_make->error.context, data_make->error.prefix, data_make->error.context, f_string_eol_s); } + + status = F_status_set_error(F_failure); } }