On Feb 17, 2008, at 13:22 , Daniel Fischer wrote:

Am Sonntag, 17. Februar 2008 17:26 schrieb Daniel Fischer:
Looking at the code in HsTime.c, it might be a difference between localtime
and localtime_r.

Indeed, mucking about a bit with HsTime.c, so that either
a) localtime is called instead of localtime_r
or
b) tzset() is done before localtime_r,
it works as it should (on my box at least).

Yes, some platforms require tzset() to recognize timezone changes.

--
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] [EMAIL PROTECTED]
system administrator [openafs,heimdal,too many hats] [EMAIL PROTECTED]
electrical and computer engineering, carnegie mellon university    KF8NH


_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to