Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
From: jik@annex-1-slip-jik.cam.ov.com (Jonathan Kamens)
To: Edward J Sabol <sabol@thuban.gsfc.nasa.gov>
Cc: jik
Subject: Re: gmtime(): Doesn't account for leap seconds?!
Date: 1996/04/23	[thread overview]
Message-ID: <4lid0q$itq@jik.israel.net> (raw)
In-Reply-To: h4lojowbdg.fsf@dbsrv.gsfc.nasa.gov

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).



  reply	other threads:[~1996-04-23  4:00 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-04-22  4:00 gmtime(): Doesn't account for leap seconds?! Edward J Sabol
1996-04-23  4:00 ` Jonathan Kamens [this message]
1996-04-24  4:00   ` Chuck Karish
1996-04-24  4:00   ` Lawrence Kirby
1996-04-24  4:00     ` Chuck Karish
1996-04-25  4:00       ` Mark Brader
1996-04-24  4:00     ` Jonathan Kamens
1996-04-24  4:00       ` Chuck Karish
1996-04-25  4:00         ` Bill Marcum
1996-04-24  4:00           ` P.Bennett
1996-04-25  4:00           ` When do leap seconds occur? (was: Re: gmtime(): Doesn't account for leap seconds?!) Jonathan Kamens
1996-04-25  4:00   ` gmtime(): Doesn't account for leap seconds?! Geoff Clare
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox