From 74a1a9dd870ab922b2dff03f8f18055060b95b32 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Sat, 29 Nov 2025 04:16:32 -0500 Subject: alf: Sanity-check in -v output, too. --- src/listalf.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/listalf.c b/src/listalf.c index 21aef79..fa469d7 100644 --- a/src/listalf.c +++ b/src/listalf.c @@ -1,5 +1,6 @@ #include "unalf.h" #include "addrs.h" +#include "sanity.h" static const char *monthnames[] = { "???", @@ -86,7 +87,9 @@ void list_alf(void) { comp_size = getquad(alf_hdr_compsize0); out_filename = (char *)(mem + alf_hdr_filename); - if(!opts.verbose_list) + if(opts.verbose_list) + sanity_check_filename(out_filename); + else fix_filename(); total_osize += orig_size; -- cgit v1.2.3