bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gmake build & gmake check errors on Solaris 10 SPARC


From: szgyg
Subject: Re: gmake build & gmake check errors on Solaris 10 SPARC
Date: Fri, 25 Apr 2008 14:45:10 +0200
User-agent: Thunderbird 2.0.0.12 (Windows/20080213)

Ludovic Courtès írta:
On Cygwin it is caused by incorrect TZ offset setting in
libguile/stime.c, line 682.

What is "it"?  I don't remember seeing such bug reports on Cygwin, only
on Solaris and HP-UX (IIRC).

(strftime "%z" (localtime ...)) returns constant "+0000",
because (on cygwin) libc's strftime takes offset from TZ envvar, and guile sets it to 0 in scm_strftime.

excerpt from libguile/stime.c:
/* it's not required that the TZ setting be correct, just that
   it has the right name.  so try something like TZ=EST0.
   using only TZ=EST would be simpler but it doesn't work on
   some OSs, e.g., Solaris.  */

s




reply via email to

[Prev in Thread] Current Thread [Next in Thread]