pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/mbone/dbeacon
Module Name: pkgsrc
Committed By: he
Date: Tue Jan 13 20:25:13 UTC 2015
Modified Files:
pkgsrc/mbone/dbeacon: Makefile distinfo
pkgsrc/mbone/dbeacon/patches: patch-dbeacon__posix.cpp
Log Message:
Re-do the get_timestamp() patch to instead of calling times() use
gettimeofday() directly. With a 32-bit clock_t and a 100Hz tick,
times() will wrap once every 497 days if my math isn't too far off,
and this will land us in an assert() in dbeacon and with a core dump.
So instead use gettimeofday() and save 2 x getrusage() per earlier
times() call. Retain some protection against gettimeofday() failing.
Bump PKGREVISION.
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/mbone/dbeacon/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/mbone/dbeacon/distinfo
cvs rdiff -u -r1.1 -r1.2 \
pkgsrc/mbone/dbeacon/patches/patch-dbeacon__posix.cpp
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index