From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fc89c,cd35c069ae659c58 X-Google-Attributes: gidfc89c,public X-Google-Thread: fee84,cd35c069ae659c58 X-Google-Attributes: gidfee84,public X-Google-Thread: f678f,cd35c069ae659c58 X-Google-Attributes: gidf678f,public X-Google-Thread: 1014db,cd35c069ae659c58 X-Google-Attributes: gid1014db,public From: jik@annex-1-slip-jik.cam.ov.com (Jonathan Kamens) Subject: Re: gmtime(): Doesn't account for leap seconds?! Date: 1996/04/23 Message-ID: <4lid0q$itq@jik.israel.net>#1/1 X-Deja-AN: 151103389 sender: jik@jik.israel.net (Jonathan Kamens) references: to: Edward J Sabol cc: jik organization: jik's Linux box newsgroups: comp.unix.osf.misc,comp.unix.osf.osf1,comp.unix.programmer,comp.lang.c First of all, gmtime() is governed by POSIX specs, not by ISO or ANSI specs. Second, in fact, paying attention to leap seconds is a violation of the POSIX standard. That is, the POSIX definitions of the various time-related functions ignore leap seconds, and any C library which pays attention to them is in violation of the standards. Third, the time function that are in the Linux libc deal with leap seconds, and I'm sure they're free :-), so you can download the source code to them and take a look to see if they originate there or if they're actually part of some other package that is integrated into the Linux libc (I suspect the latter).