On 11/23/2011 10:11 AM, Greg Wooledge wrote:
> On Wed, Nov 23, 2011 at 12:00:34PM -0500, Chet Ramey wrote:
>> I wonder if a better way to handle this is to require the %s expansion
>> at configure time and use the strftime replacement in lib/sh if the C
>> library's strftime doesn't implement it.  What systems, if you know, do
>> not handle %s?
> 
> HP-UX 10.20 and 11.11 are the ones I have.  It's a somewhat commonly
> requested feature among Solaris users too, but I don't know which
> versions of Solaris they are using.  There are probably many others.
> At a guess, I would assume everything that isn't GNU/Linux or BSD.

Gnulib already provides a strftime replacement that guarantees %s, which
is handy since the next version of POSIX is considering requiring %s in
strftime().

-- 
Eric Blake   ebl...@redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to