getdate && Y2K
Ulrich Drepper
drepper@cygnus.com
Fri Dec 18 10:04:00 GMT 1998
Andreas Jaeger <aj@arthur.rhein-neckar.de> writes:
> I've downloaded some Y2K test programs from:
> ftp://ftp.rdg.opengroup.org/pub/unsupported/stdtools/y2k/
>
> and got a segmentation fault using the getdate.c program :-(.
>
> Could somebody check if either the testprogram (appended below) or the
> getdate implementation in glibc2.1 is broken and fix it?
I've fixed the problem. The check_mday function was incorrect.
Still we can only test until 2037 due to the time_t limit.
--
---------------. drepper at gnu.org ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com `------------------------
More information about the Libc-alpha
mailing list