From 5c3b7086365612aea9250417e15a61eee1caa044 Mon Sep 17 00:00:00 2001 From: ceriel Date: Wed, 20 Mar 1991 12:45:58 +0000 Subject: [PATCH] Both aal and arch can read each others archives --- util/arch/archiver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/arch/archiver.c b/util/arch/archiver.c index 2f4bf912d..dbe407fc4 100644 --- a/util/arch/archiver.c +++ b/util/arch/archiver.c @@ -161,7 +161,7 @@ register int mode; } lseek(fd, 0L, 0); magic = rd_unsigned2(fd); - if (magic != MAGIC_NUMBER) + if (magic != AALMAG && magic != ARMAG) error(TRUE, "%s is not in ar format\n", name); return fd; -- 2.34.1