[Lsb-messages] /var/www/bzr/lsb/devel/misc-test r2395: squash a whole bunch of compilation warnings in rpmchk, needs testing

Mats Wichmann mats at linuxfoundation.org
Tue Sep 24 13:15:19 UTC 2013


------------------------------------------------------------
revno: 2395
committer: Mats Wichmann <mats at linuxfoundation.org>
branch nick: misc-test
timestamp: Tue 2013-09-24 07:15:19 -0600
message:
  squash a whole bunch of compilation warnings in rpmchk, needs testing
modified:
  package/Makefile
  rpmchk/archive.c
-------------- next part --------------
=== modified file 'package/Makefile'
--- a/package/Makefile	2013-09-05 23:57:56 +0000
+++ b/package/Makefile	2013-09-24 13:15:19 +0000
@@ -24,7 +24,7 @@
 
 # We define this here instead of directly in the spec file as
 # we need to be able to work out what the produced rpm files will be called
-RPM_PACKAGE_RELEASE=3
+RPM_PACKAGE_RELEASE=4
 
 # Derive date string for daily snapshots
 ISO_DATE:=$(shell date +"%Y%m%d")

=== modified file 'rpmchk/archive.c'
--- a/rpmchk/archive.c	2012-08-06 20:06:44 +0000
+++ b/rpmchk/archive.c	2013-09-24 13:15:19 +0000
@@ -109,10 +109,10 @@
 }
 
 void
-scanForLibs(gzFile *zfile, char *filename, int size,
+scanForLibs(gzFile zfile, char *filename, int size,
             struct tetj_handle *journal, int modules)
 {
-    int cur_offset = 0;
+    z_off_t cur_offset = 0;
     int isFileELF = 0;
     int elf_type;
     int i;
@@ -238,7 +238,7 @@
  * and examining them.
  */
 int
-scanArchive(gzFile *zfile, int check_app, struct tetj_handle *journal, int modules)
+scanArchive(gzFile zfile, int check_app, struct tetj_handle *journal, int modules)
 {
     RpmArchiveHeader ahdr;
     unsigned char md5sum[17], md5str[33];



More information about the lsb-messages mailing list