bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: strftime on solaris


From: Paul Eggert
Subject: Re: strftime on solaris
Date: Sun, 7 Oct 2001 15:55:58 -0700 (PDT)

> From: "Zvi Har'El" <address@hidden>
> Date: Sun, 7 Oct 2001 16:32:13 +0200 (IST)
> 
> In both I had the problem that the strftime() %z format was not recognized by
> gawk. The reason is that configure is not able to identify the fact that the
> native Solaris strftime() is not usable since it lacks a %z format

It may lack %z, but it has some other features that gawk's included
strftime lacks, e.g. support for dates in other locales (e.g.,
Japanese).  Overall, I think it's probably better to use the Solaris
strftime than the included one.

Perhaps Gawk should switch to the strftime.c that comes with, say, the
latest textutils patch
<ftp://alpha.gnu.org/gnu/fetish/textutils-2.0.16.tar.gz>
On Solaris, this strftime implementation supports %z, but it also
supports other locales, as it consults the underyling strftime
implementation for things like month names.



reply via email to

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