A revised time patch (fwd)

Ulrich Drepper drepper@cygnus.com
Tue Nov 3 15:51:00 GMT 1998


hjl@lucon.org (H.J. Lu) writes:

> Here is the testcase. My previous patch to time/mktime.c is incomplete.
> Please use this one. BTW, __mktime_internal mishandles the cases
> where tm_isdst is different from __daylight != 0. Basically when 
> tm_isdst == 0/__daylight != 0 and tm_isdst == 1/__daylight == 0, we 
> should check

I've checked in a patch for this now.  The test case HJ sent (thanks!) 
work now and I hopefully have't broken anything else.

I haven't used HJ's patch since the mktime file must work standalone
in other packages and therefore must not depend on any implementation
details of the other timezone functions.

-- 
---------------.      drepper at gnu.org  ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com   `------------------------



More information about the Libc-hacker mailing list