Both aal and arch can read each others archives
authorceriel <none@none>
Wed, 20 Mar 1991 12:45:58 +0000 (12:45 +0000)
committerceriel <none@none>
Wed, 20 Mar 1991 12:45:58 +0000 (12:45 +0000)
util/arch/archiver.c

index 2f4bf91..dbe407f 100644 (file)
@@ -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;