This is John Sauter's code for performing leapsecond-aware date and time arithmetic on struct tm. John didn't have a good place to host it, so I am hosting it here for him.
The code is available in two formats, .tar.gz and .zip, and via two protocols, HTTP and anonymous FTP.
HTTP downloads:
tmcode.tar.gz
tmcode.zip
FTP downloads:
tmcode.tar.gz
tmcode.zip
MD5 checksums:
tmcode.tar.gz: 65618aa5d17e3566c5b36640dd30dc00
tmcode.zip: 652849205a79e10c6d6db5ee100b427b