From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ludovic =?UTF-8?B?Q291cnTDqHM=?= Newsgroups: gmane.lisp.guile.bugs Subject: [bug #24130] `strftime' broken on AIX and Solaris Date: Mon, 11 May 2009 20:37:15 +0000 Message-ID: <20090511-203714.sv15145.88396@savannah.gnu.org> References: <20080825-083710.sv15145.35629@savannah.gnu.org> <20080825-083850.sv15145.65306@savannah.gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain;charset=UTF-8 X-Trace: ger.gmane.org 1242074260 24025 80.91.229.12 (11 May 2009 20:37:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 11 May 2009 20:37:40 +0000 (UTC) To: Ludovic =?UTF-8?B?Q291cnTDqHM=?= , bug-guile@gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Mon May 11 22:37:32 2009 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1M3cFf-0000iJ-Uw for guile-bugs@m.gmane.org; Mon, 11 May 2009 22:37:32 +0200 Original-Received: from localhost ([127.0.0.1]:44559 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M3cFf-00021v-Bq for guile-bugs@m.gmane.org; Mon, 11 May 2009 16:37:31 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M3cFb-0001yJ-24 for bug-guile@gnu.org; Mon, 11 May 2009 16:37:27 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M3cFW-0001sA-Im for bug-guile@gnu.org; Mon, 11 May 2009 16:37:26 -0400 Original-Received: from [199.232.76.173] (port=35470 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M3cFW-0001rq-Bz for bug-guile@gnu.org; Mon, 11 May 2009 16:37:22 -0400 Original-Received: from savannah.gnu.org ([199.232.41.3]:58992 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1M3cFQ-0006Sg-BN; Mon, 11 May 2009 16:37:16 -0400 Original-Received: from savannah.gnu.org ([199.232.41.3]) by sv.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1M3cFP-0005bi-QI; Mon, 11 May 2009 20:37:15 +0000 Original-Received: from www-data by savannah.gnu.org with local (Exim 4.69) (envelope-from ) id 1M3cFP-0005av-Ao; Mon, 11 May 2009 20:37:15 +0000 X-Savane-Server: savannah.gnu.org:443 [199.232.41.3] X-Savane-Project: guile X-Savane-Tracker: bugs X-Savane-Item-ID: 24130 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.9) Gecko/2009043014 IceCat/3.0.9-g1 X-Apparently-From: 80.67.176.83 (Savane authenticated user civodul) In-Reply-To: <20080825-083850.sv15145.65306@savannah.gnu.org> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:4215 Archived-At: Follow-up Comment #2, bug #24130 (project guile): On Tru64 5.1b, we get: #v+ FAIL: strftime: C99 %z format: GMT FAIL: strftime: C99 %z format: EST+5 #v- More precisely: #v+ (putenv "TZ=GMT+0") (tzset) (let ((tm (localtime 86400))) (strftime "%z" tm)) => "GMT" #v- and: #v+ (putenv "TZ=EST+5") (tzset) (let ((tm (localtime 86400))) (strftime "%z" tm)) => "EST" #v- The feature test in `time.test' goes like this: #v+ (strftime "%z" (gmtime 0)) => "EST" #v- Ludo'. _______________________________________________________ Reply to this item at: _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/