Path to this page:
Subject: CVS commit: pkgsrc/mbone/dbeacon
From: Havard Eidnes
Date: 2015-01-13 21:25:13
Message id: 20150113202513.A4CB298@cvs.netbsd.org
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.
Files: