FWIW, GPS time, AFAIR, like POSIX's struct tm, ignores leap seconds.
The GNU timezone data (which in glibc-2.0.5 come from the tzcode1997a
and tzdata1997a packages by Arthur David Olsen et.al., acording to
glibc-2.0.5/time/README) do take leap seconds into consideration.
The date(1) manpage explicitly says that second (%S, and by extension
tm_sec) can run from 00 to 61.
There was a long and interesting discussion about this in, IIRC,
gnu.misc.discuss back in '87, '88 or '89. (I've not checked whether
dejanews's archive goes back that far.) There have probably been a
few more such discussions since then. :)
-JimC
-- James H. Cloos, Jr. <cloos@jhcloos.com>- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu