From 41fd51eeeaa21448b7c93168d3359feab3232ba7 Mon Sep 17 00:00:00 2001 From: carl Date: Mon, 25 Mar 2019 01:41:04 +0800 Subject: [PATCH] Revert change. --- mach/proto/as/comm4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mach/proto/as/comm4.c b/mach/proto/as/comm4.c index 05255ba22..c7435f38b 100644 --- a/mach/proto/as/comm4.c +++ b/mach/proto/as/comm4.c @@ -244,7 +244,7 @@ archive(void) { fseek(input,offset,0); archsize = header.ar_size; // TODO: To check if this is correct. - header.ar_name[AR_NAME_MAX-1] = '\0'; + header.ar_name[AR_NAME_MAX] = '\0'; parse(remember(header.ar_name)); } offset += header.ar_size;