At 12:48 PM -0400 4/5/99, Gilles Detillieux wrote:
>OK, taking a guess here.  The two tm structures that you pass to mktime
>aren't fully initialised, so mktime is probably doing something wierd.
>I don't think it cares about tm_wday or tm_yday, but it probably does
>care about all the time zone stuff.  How about if before you set any of
>the fields in the two tm structures, you intialise it to localtime's
>contents?  E.g:

Yeah, I agree with Gilles here. The man pages say that it ignores tm_wday
and tm_yday, but it expects the rest to be relatively consistent. Take a
look at the timegm stuff in htlib/.

-Geoff


------------------------------------
To unsubscribe from the htdig3-dev mailing list, send a message to
[EMAIL PROTECTED] containing the single word "unsubscribe" in
the SUBJECT of the message.

Reply via email to