bugGuile - Bugs: bug #24130, `strftime' broken on AIX, Tru64,...

 
 

bug #24130: `strftime' broken on AIX, Tru64, and Solaris

Submitted by:  Ludovic Courtès <civodul>
Submitted on:  Mon 25 Aug 2008 08:37:10 AM UTC
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment (Rich Markup)
   

Comment Type & Canned Response:
       No canned response available

 

( Jump to the original submission )

  Spam posted by anonymous
  Spam posted by anonymous
  Spam posted by susancai
Mon 11 May 2009 10:16:30 PM UTC, comment #3: 

Fixed in `master' thanks to Gnulib.

In 1.8, not a fix but an improvement:

  http://git.savannah.gnu.org/cgit/guile.git/commit/?id=1011599792302b356195663a3efd68a234c11f69

We could use `AC_LIBOBJ' et al. to provide a real fix, though...

Thanks,
Ludo'.

Ludovic Courtès <civodul>
Project Administrator
Mon 11 May 2009 08:37:14 PM UTC, comment #2: 

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'.

Ludovic Courtès <civodul>
Project Administrator
Mon 25 Aug 2008 08:38:50 AM UTC, comment #1: 
Ludovic Courtès <civodul>
Project Administrator
Mon 25 Aug 2008 08:37:10 AM UTC, original submission:  

Hi,

`strftime' was reported to be broken on AIX:

  http://thread.gmane.org/gmane.lisp.guile.bugs/3796

It is also said to be broken on Solaris.

Gnulib has an `strftime' module, which we should use in HEAD and borrow in 1.8.

Thanks,
Ludovic.

Ludovic Courtès <civodul>
Project Administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by susancai (Posted a comment)
  • -email is unavailable- added by civodul (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

     

     

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-05-11 civodul Summary`strftime\' broken on AIX and Solaris => `strftime' broken on AIX, Tru64, and Solaris

    Back to the top


    Powered by Savane 3.9