When system crashes while uptimed is updating his record file, all entries in the file are lost. This simple patch writes records into temporary file and rename it to original. Tested and works. How-To-Repeat: Press reset button while uptimed is running, if you are lucky, softupdates sets file length to zero. It happens to me 2 times on linux with reiserfs journaling and 3 times on freebsd with softupdates.
State Changed From-To: open->feedback The patch has been added to uptimed 0.3.1 http://www.unixcode.org/uptimed/download.html Waiting for an uptimed update.
State Changed From-To: feedback->closed The port was updated to 0.3.1, which incorporated your fix, thanks.