This is the mail archive of the
libc-alpha@cygnus.com
mailing list for the glibc project.
Re: getdate && Y2K
- To: Andreas Jaeger <aj@arthur.rhein-neckar.de>
- Subject: Re: getdate && Y2K
- From: Ulrich Drepper <drepper@cygnus.com>
- Date: 18 Dec 1998 10:01:05 -0800
- Cc: libc-alpha@cygnus.com
- References: <13946.7047.550731.827957@arthur.rhein-neckar.de>
- Reply-To: drepper@cygnus.com (Ulrich Drepper)
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 `------------------------