This is the mail archive of the libc-hacker@sourceware.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: A revised time patch (fwd)


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


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