From 2bf68e87f2886ed3bad4815591d5287a68fe8d3a Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Mon, 20 Feb 2023 22:29:38 -0600 Subject: [PATCH] Bugfix: Set error status when link target is an empty string. Also update the printed message. --- level_3/fake/c/private-make-operate_validate_type.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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); } } -- 1.8.3.1