This is the mail archive of the
libc-alpha@cygnus.com
mailing list for the glibc project.
Re: getdate && Y2K
>>>>> Ulrich Drepper writes:
Ulrich> 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?
Ulrich> I've fixed the problem. The check_mday function was incorrect.
Thanks for the fast patch! Now the test program works for me.
Ulrich> Still we can only test until 2037 due to the time_t limit.
That's ok.
Andreas
--
Andreas Jaeger aj@arthur.rhein-neckar.de jaeger@informatik.uni-kl.de
for pgp-key finger ajaeger@aixd1.rhrk.uni-kl.de