This is the mail archive of the libc-alpha@cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: getdate && Y2K


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   `------------------------


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]