From 6dc74846a972f5263cd9b5553d19d88237872e6b Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Mon, 8 Dec 2025 04:41:04 -0500 Subject: Fix WTFery in create_header(). --- src/alf.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/alf.c b/src/alf.c index 9ffb430..a19487c 100644 --- a/src/alf.c +++ b/src/alf.c @@ -140,6 +140,7 @@ void create_header(void) { output_buf[0] = 0x1a; output_buf[1] = 0x0f; + output_buf[2] = 0x00; memset(&output_buf[3], 0x20, 13); /* LZ.COM space-fills this field */ strncat((char *)&output_buf[2], hdr_filename, 13); store_quad(15, 0); /* compressed size, fill in later */ -- cgit v1.2.3