Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <alpine.LNX.2.20.1603291706550.3022@monopod.intra.ispras.ru>
Date: Tue, 29 Mar 2016 17:11:48 +0300 (MSK)
From: Alexander Monakov <amonakov@...ras.ru>
To: Evan Shaw <edsrzf@...il.com>
cc: musl@...ts.openwall.com
Subject: Re: glibc strftime extensions

On Tue, 29 Mar 2016, Evan Shaw wrote:
> glibc extends strftime as documented in [1]. Might musl implement some
> or all of these at some point, or have they been deliberately omitted?
> 
> OS X also partially implements the same extensions[2], and the glibc
> docs mention that "a few other systems provide similar features" but
> doesn't get specific. I haven't taken the time to look at other libc
> implementations yet.

In such cases it's usually useful to check what BSD libc implementations do;
for example, FreeBSD documents provision of '-', '_', '0' flags:
https://www.freebsd.org/cgi/man.cgi?query=strftime

Thus I think providing -_0 in musl makes sense to consider, given significant
precedent and low implementation cost.

Alexander

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.