[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] MiNTLib Non-Bug



Guido Flohr <gufl0000@stud.uni-sb.de> writes:

|> The problem arises only from the manner in which time_t values get
|> calculated.  If you don't consider leapseconds you will get a value
|> which is currently 21 less than values calculated with leapseconds
|> properly handled.

If you want to conform to POSIX you *must* ignore leapseconds.  I think
applications where you really need leapseconds are rather rare.  And the
best solution is to get the time from a time server anyway.

Andreas.

-- 
Andreas Schwab                                  "And now for something
schwab@suse.de                                   completely different."
SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg