Both aal and arch can read each others archives
This commit is contained in:
parent
d32109c18d
commit
5c3b708636
1 changed files with 1 additions and 1 deletions
|
@ -161,7 +161,7 @@ register int mode;
|
||||||
}
|
}
|
||||||
lseek(fd, 0L, 0);
|
lseek(fd, 0L, 0);
|
||||||
magic = rd_unsigned2(fd);
|
magic = rd_unsigned2(fd);
|
||||||
if (magic != MAGIC_NUMBER)
|
if (magic != AALMAG && magic != ARMAG)
|
||||||
error(TRUE, "%s is not in ar format\n", name);
|
error(TRUE, "%s is not in ar format\n", name);
|
||||||
|
|
||||||
return fd;
|
return fd;
|
||||||
|
|
Loading…
Reference in a new issue