mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Alexander Monakov <amonakov@ispras.ru>
To: Evan Shaw <edsrzf@gmail.com>
Cc: musl@lists.openwall.com
Subject: Re: glibc strftime extensions
Date: Tue, 29 Mar 2016 17:11:48 +0300 (MSK)	[thread overview]
Message-ID: <alpine.LNX.2.20.1603291706550.3022@monopod.intra.ispras.ru> (raw)
In-Reply-To: <CA+eHYJXs-vv+cTr7K6q2w1a_91Jnw1AsGS_h1zsXxCvTpZifZA@mail.gmail.com>

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


      reply	other threads:[~2016-03-29 14:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-29  2:29 Evan Shaw
2016-03-29 14:11 ` Alexander Monakov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.LNX.2.20.1603291706550.3022@monopod.intra.ispras.ru \
    --to=amonakov@ispras.ru \
    --cc=edsrzf@gmail.com \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).