public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d32109c
)
Both aal and arch can read each others archives
author
ceriel
<none@none>
Wed, 20 Mar 1991 12:45:58 +0000
(12:45 +0000)
committer
ceriel
<none@none>
Wed, 20 Mar 1991 12:45:58 +0000
(12:45 +0000)
util/arch/archiver.c
patch
|
blob
|
history
diff --git
a/util/arch/archiver.c
b/util/arch/archiver.c
index
2f4bf91
..
dbe407f
100644
(file)
--- 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;