Commit graph

5 commits

Author SHA1 Message Date
he
585c7b6ef5 It looks like we need another round of changes to get_timestamp(),
this time from using gettimeofday() to using cloc_gettime(CLOCK_MONOTONIC),
to avoid the effects of UTC leap second insertion which IIUC steps
the system clock back one second, and will cause the single assert()
in dbeacon.cpp to fire.  Unfortunately, my core dump was incomplete
due to a full root file system...
PKGREVISION bumped.
2015-07-01 09:22:20 +00:00
he
54a079d607 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.
2015-01-13 20:25:13 +00:00
he
b2f62a0c77 It can happen that times() returns ((uint32_t)-1). If that happens,
retry a limited number of times, and log the events.  Export log() from
the main program for use in dbeacon_posix.cpp.

Fix the matrix.pl script since qw() no longer acts as parenteses, so add
some of our own where called for.

Bump PKGREVISION.
2014-12-09 10:45:51 +00:00
he
7a18a84abe Rename the old patch-aa patch to patch-dbeacon.cpp.
Add a patch for the matrix.pl script to quiet newer perl versions.
Fix the pointer to the sixxs flags, as asked for in 2010(!)
Bump PKGREVISION.
2014-10-06 10:04:17 +00:00
seb
67c0c4eb75 Fix pidfile option handling (in configuration file case).
Bump PKGREVISION to 1.
2008-08-26 17:18:14 +00:00