[Lsb-messages] /var/www/bzr/lsb/4.1/misc-test r2272: squash a whole bunch of compilation warnings in rpmchk, needs testing
Mats Wichmann
mats at linuxfoundation.org
Tue Sep 24 13:16:21 UTC 2013
------------------------------------------------------------
revno: 2272
committer: Mats Wichmann <mats at linuxfoundation.org>
branch nick: misc-test
timestamp: Tue 2013-09-24 07:16:21 -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-02-02 19:05:08 +0000
+++ b/package/Makefile 2013-09-24 13:16:21 +0000
@@ -13,7 +13,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=5
+RPM_PACKAGE_RELEASE=6
# 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 23:55:28 +0000
+++ b/rpmchk/archive.c 2013-09-24 13:16:21 +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