From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/10821 Path: news.gmane.org!.POSTED!not-for-mail From: Felix Janda Newsgroups: gmane.linux.lib.musl.general Subject: Re: [PATCH] implement strftime GNU extension padding specifiers '_', '-' and '0' Date: Tue, 20 Dec 2016 19:27:30 -0500 Message-ID: <20161221002730.GA28248@nyan> References: <20161122082908.11584-1-timo.teras@iki.fi> <20161220201339.GL1555@brightrain.aerifal.cx> 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 1482280144 26189 195.159.176.226 (21 Dec 2016 00:29:04 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 21 Dec 2016 00:29:04 +0000 (UTC) User-Agent: Mutt/1.7.1 (2016-10-04) To: musl@lists.openwall.com Original-X-From: musl-return-10834-gllmg-musl=m.gmane.org@lists.openwall.com Wed Dec 21 01:28:52 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 1cJUlw-0004Ll-Ah for gllmg-musl@m.gmane.org; Wed, 21 Dec 2016 01:28:44 +0100 Original-Received: (qmail 25846 invoked by uid 550); 21 Dec 2016 00:28:46 -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 25828 invoked from network); 21 Dec 2016 00:28:46 -0000 Mail-Followup-To: musl@lists.openwall.com Content-Disposition: inline In-Reply-To: <20161220201339.GL1555@brightrain.aerifal.cx> Xref: news.gmane.org gmane.linux.lib.musl.general:10821 Archived-At: 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 Felix