From: ceriel Date: Wed, 20 Mar 1991 12:45:58 +0000 (+0000) Subject: Both aal and arch can read each others archives X-Git-Tag: release-5-5~1169 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=5c3b7086365612aea9250417e15a61eee1caa044;p=ack.git Both aal and arch can read each others archives --- 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;