This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
Re: Two unexpected test failures.
> This test uses something like:
>
> (strftime "%Z" #(47 27 21 29 2 100 3 88 1 -3600 "ZOW"))
>
> What does that return on Solaris?
It returns "EST" or whatever the current time zone is.
The problem is that `struct tm' doesn't have any time zone fields on
Solaris, so it's difficult for scm_strftime to control what strftime
will emit for %Z.
I think there used to be code in there to temporarily set the "TZ"
environment variable, but that was always a hack-and-a-half. I'd
rather simply say "We don't support this on all systems" than do that.