From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/10822 Path: news.gmane.org!.POSTED!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: [PATCH] implement strftime GNU extension padding specifiers '_', '-' and '0' Date: Tue, 20 Dec 2016 22:20:00 -0500 Message-ID: <20161221032000.GM1555@brightrain.aerifal.cx> References: <20161122082908.11584-1-timo.teras@iki.fi> <20161220201339.GL1555@brightrain.aerifal.cx> <20161221002730.GA28248@nyan> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1482290418 22746 195.159.176.226 (21 Dec 2016 03:20:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 21 Dec 2016 03:20:18 +0000 (UTC) User-Agent: Mutt/1.5.21 (2010-09-15) To: musl@lists.openwall.com Original-X-From: musl-return-10835-gllmg-musl=m.gmane.org@lists.openwall.com Wed Dec 21 04:20:14 2016 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1cJXRq-0004mG-RU for gllmg-musl@m.gmane.org; Wed, 21 Dec 2016 04:20:10 +0100 Original-Received: (qmail 28012 invoked by uid 550); 21 Dec 2016 03:20:13 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 27991 invoked from network); 21 Dec 2016 03:20:12 -0000 Content-Disposition: inline In-Reply-To: <20161221002730.GA28248@nyan> Original-Sender: Rich Felker Xref: news.gmane.org gmane.linux.lib.musl.general:10822 Archived-At: On Tue, Dec 20, 2016 at 07:27:30PM -0500, Felix Janda wrote: > Rich Felker wrote: > > On Tue, Nov 22, 2016 at 10:29:08AM +0200, Timo Teräs wrote: > > > --- > > > For review. GNU and most BSDs seem to implement these extensions. > > > > From what I can tell, only FreeBSD does and they call it a GNU > > extension. OpenBSD does not have them at all, and also lacks the > > POSIX-mandated width specifiers. Not sure if FreeBSD has those. > > Just to add one more data point: Solaris seems to support these > extensions since Solaris 11: > > https://docs.oracle.com/cd/E36784_01/html/E36874/strftime-3c.html Thanks. That suggests some interest in common adoption. Unfortunately it also includes the weird case-mapping ones that we hoped to omit. Rich