Alain Guibert <[EMAIL PROTECTED]> writes:

>> I find it strange that the cmpt.c mktime produces garbage when that
>> version is taken from glibc.
>
> Note that with TZ=GMT0 method and #undef HAVE_MKTIME, wget gives
> correct timestamps. Maybe cmpt.c mktime is failing because of
> incompatible timezone and daylight infos on the platform? It calls
> __tzset() but does not provide it.

It doesn't call __tzset() because _LIBC is undefined in Wget sources.

If you change __tzset() to tzset() and remove the surrounding #ifdef
_LIBC, does it then work?

Reply via email to