Subject: CVS commit: pkgsrc/security/tripwire
To: None <pkgsrc-changes@NetBSD.org>
From: Ben Collver <firstname.lastname@example.org>
Date: 12/09/2003 15:56:57
Module Name: pkgsrc
Committed By: ben
Date: Tue Dec 9 15:56:57 UTC 2003
pkgsrc/security/tripwire: Makefile distinfo
pkgsrc/security/tripwire/patches: patch-aj patch-ak
In include/config.h, uint32 was by default defined as an unsigned long.
However (because of -DTW_TYPE32='int' being added to CFLAGS for an LP64 fix
in revision 1.3 of patches/patch-aa) uint32 is defined as an unsigned int.
This caused two problems:
1) The format string in include/tripwire.h was not updated to match.
2) On NetBSD, off_t is __int64_t.
I am changing the format string in tripwire.h to match uint32. I also
changed the type of the variable "size" from uint32 to off_t, and changed
its format string to match intmax_t.
This fixes the sparc64 coredump mentioned in PR 19391.
To generate a diff of this commit:
cvs rdiff -r1.18 -r1.19 pkgsrc/security/tripwire/Makefile
cvs rdiff -r1.6 -r1.7 pkgsrc/security/tripwire/distinfo
cvs rdiff -r0 -r1.1 pkgsrc/security/tripwire/patches/patch-aj \
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.