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

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

GAWK 3.1 - strftime on solaris


From: Kenny McCormack
Subject: GAWK 3.1 - strftime on solaris
Date: 4 Nov 2001 21:05:33 -0600

In article <address@hidden>,
Paul Eggert <address@hidden> wrote:
>> 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.

The "PD strftime" that comes with the GAWK 3.1 distrib also doesn't handle
DST correctly.  I may just try re-compiling GAWK with the strftime from
textutils.



reply via email to

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