This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


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

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.

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