diff options
author | jbj <devnull@localhost> | 1999-01-08 16:44:30 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 1999-01-08 16:44:30 +0000 |
commit | 303fa780d31fb4b408515e89e5bee43a7fc12632 (patch) | |
tree | 34f62773bdd598bbcc57edd2cdaa7cf63fdef67b /lib/package.c | |
parent | 401268b739cd07cb51c227456ee7e01dfbb6bff3 (diff) | |
download | rpm-303fa780d31fb4b408515e89e5bee43a7fc12632.tar.gz rpm-303fa780d31fb4b408515e89e5bee43a7fc12632.tar.bz2 rpm-303fa780d31fb4b408515e89e5bee43a7fc12632.zip |
EGCS cruft.
Use cpioStrerror when getNextHeader fails.
More const warnings removed.
binary rpms always have RPMTAG_SOURCERPM, source rpms do not.
CVS patchset: 2682
CVS date: 1999/01/08 16:44:30
Diffstat (limited to 'lib/package.c')
-rw-r--r-- | lib/package.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/package.c b/lib/package.c index b72bc057d..2559c38d5 100644 --- a/lib/package.c +++ b/lib/package.c @@ -95,6 +95,7 @@ static int readPackageHeaders(FD_t fd, struct rpmlead * leadPtr, &defaultPrefix, 1); } + /* XXX binary rpms always have RPMTAG_SOURCERPM, source rpms do not */ if (lead->type == RPMLEAD_SOURCE) { if (!headerIsEntry(*hdr, RPMTAG_SOURCEPACKAGE)) headerAddEntry(*hdr, RPMTAG_SOURCEPACKAGE, RPM_INT32_TYPE, |