diff options
| author | B. Watson <urchlay@slackware.uk> | 2025-11-29 04:16:32 -0500 |
|---|---|---|
| committer | B. Watson <urchlay@slackware.uk> | 2025-11-29 04:16:32 -0500 |
| commit | 74a1a9dd870ab922b2dff03f8f18055060b95b32 (patch) | |
| tree | 7d3b632dffe6ff50821d75b895d39e38d32c982d | |
| parent | 25380d9b6846574b1bad03708226f7bf346b8391 (diff) | |
| download | alftools-74a1a9dd870ab922b2dff03f8f18055060b95b32.tar.gz | |
alf: Sanity-check in -v output, too.
| -rw-r--r-- | src/listalf.c | 5 |
1 files changed, 4 insertions, 1 deletions
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; |
