Fix duplicate argument to LogWrite.

The error message would not be written to the log file because
a duplicate log file name parameter was passed to the LogWrite
function, hiding the error message string.
Use stdint types to get sizes with known number of bits.

Several binary data structures read by the software will get
mangled if the data is not read properly.

This fixes data handling issues on 64-bit architectures.
Fix printf format strings for node numbers.

4D node number components were formatted with %ld or %lu (long integer),
despite them being declared as ushort. This worked fine on 32-bit
architectures, but not on 64-bit architectures.

This fixes log and error messages displaying 4D node numbers in 64-bit
builds.
Bug#592481: crashmail: FTBFS on GNU/kFreeBSD

Package: crashmail
Version: 0.71-3
Severity: important
Tags: patch
User: debian-bsd@lists.debian.org
Usertags: kfreebsd

Hi,

the current version fails to build on GNU/kFreeBSD.

It needs small tweak, see bellow.

Thanks in advance

Petr
Merge branch 'feature/debian-integration' into develop

This merges in a set of bug fixes from the Debian crashmail package.
inc version (and modify version handling)

version information is now isolated in crashmail/version.h
start work on unit tests
added test framework
removed some unnecessary debug output
added tests/Makefile
Merge branch 'feature/tests' into develop

This adds some basic tests to crashmail. You will need roundup
(http://bmizerany.github.com/roundup/) to run the tests.
Fix integer-length issues in crashwrite

Crashwrite declares pktnum as type ulong when it should really be
uint32_t.  Using "%lx" instead of "%x" to display this was resulting
in invalid packet filenames.
crashstats target was not consistent with others
Relase 0.83

This release integrates bug fixes from the Debian crashmail package
(thanks to RJ Clay for pointing these out).  These should correct
erroneous behavior on 64 bit systems.

This release also includes a simple test suite; you will need Roundup
(http://bmizerany.github.com/roundup/) to run the tests.