bug-gnulib
[Top][All Lists]
Advanced

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

Re: findutils 4.6.0 v. Tru64 (strftime() v. "%F"?)


From: Paul Eggert
Subject: Re: findutils 4.6.0 v. Tru64 (strftime() v. "%F"?)
Date: Thu, 25 May 2017 14:04:34 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0

On 05/25/2017 07:54 AM, Eric Blake wrote:
So yes, either findutils should be using nstrftime() and not strftime()
(which will guarantee that these sequences work), or it is indeed time
to patch gnulib to provide a replacement strftime() on platforms that
are not POSIX-compliant (and then still patch findutils to use the newer
gnulib).

It's actually probably easier it findutils just starts using
nstrftime(), regardless of what else gnulib does, but it's at least
pointing out that gnulib should be documenting the known pitfalls in
native strftime() implementations.


Yes to changing findutils to use nstrftime, and to documenting strftime gotchas in Gnulib.

Not sure if it's worth wasting people's time writing a replacement strftime. nstrftime provides more functionality and should be more portable.




reply via email to

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