summaryrefslogtreecommitdiff
path: root/lib/rpmlead.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2002-07-03 14:01:49 +0000
committerjbj <devnull@localhost>2002-07-03 14:01:49 +0000
commitaf3c677f06687e5ad1e33eb24f984c7ac5ff2a33 (patch)
tree9f18227a31e49ecccafa3852610d3346594dad69 /lib/rpmlead.c
parente5fb770e7d9aac53a513965c0f2bcf360934794b (diff)
downloadrpm-af3c677f06687e5ad1e33eb24f984c7ac5ff2a33.tar.gz
rpm-af3c677f06687e5ad1e33eb24f984c7ac5ff2a33.tar.bz2
rpm-af3c677f06687e5ad1e33eb24f984c7ac5ff2a33.zip
- use rpmfi in showQueryPackage(), eliminating headerGetEntry().
CVS patchset: 5538 CVS date: 2002/07/03 14:01:49
Diffstat (limited to 'lib/rpmlead.c')
-rw-r--r--lib/rpmlead.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/rpmlead.c b/lib/rpmlead.c
index 23560ec16..6d4efa62a 100644
--- a/lib/rpmlead.c
+++ b/lib/rpmlead.c
@@ -35,8 +35,10 @@ int writeLead(FD_t fd, const struct rpmlead *lead)
l.osnum = htons(l.osnum);
l.signature_type = htons(l.signature_type);
+/*@-boundswrite@*/
if (Fwrite(&l, 1, sizeof(l), fd) != sizeof(l))
return 1;
+/*@=boundswrite@*/
return 0;
}