From 08a74ca787bd4b528d61953f18b7ea72dead384a Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Tue, 2 Dec 2025 15:52:00 -0500 Subject: alf: Fix regression with 0-byte input files. --- src/crunch.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/crunch.c b/src/crunch.c index 480fb81..ada46e8 100644 --- a/src/crunch.c +++ b/src/crunch.c @@ -251,6 +251,7 @@ void crunch(void) { /* 0-byte input files don't get a TOK_RESET */ if(!input_len) { store_token(TOK_END); + inc_output_len(); return; } -- cgit v1.2.3