projects
/
platform
/
upstream
/
rpm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6ad7db
)
fixed bug
author
ewt
<devnull@localhost>
Tue, 27 Feb 1996 17:40:59 +0000
(17:40 +0000)
committer
ewt
<devnull@localhost>
Tue, 27 Feb 1996 17:40:59 +0000
(17:40 +0000)
CVS patchset: 432
CVS date: 1996/02/27 17:40:59
lib/package.c
patch
|
blob
|
history
diff --git
a/lib/package.c
b/lib/package.c
index
59f35d7
..
f6aafde
100644
(file)
--- a/
lib/package.c
+++ b/
lib/package.c
@@
-53,7
+53,7
@@
int pkgReadHeader(int fd, Header * hdr, int * isSource) {
if (lead.major == 1) {
readOldHeader(fd, hdr, isSource);
arch = getArchNum();
- addEntry(hdr, RPMTAG_ARCH, INT8_TYPE, &arch, 1);
+ addEntry(
*
hdr, RPMTAG_ARCH, INT8_TYPE, &arch, 1);
} else if (lead.major == 2) {
if (!readSignature(fd, lead.signature_type, NULL)) {
return 2;