From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/10823 Path: news.gmane.org!.POSTED!not-for-mail From: Timo Teras Newsgroups: gmane.linux.lib.musl.general Subject: Re: [PATCH] implement strftime GNU extension padding specifiers '_', '-' and '0' Date: Wed, 21 Dec 2016 08:01:43 +0200 Message-ID: <20161221080143.74f32b62@vostro> 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: quoted-printable X-Trace: blaine.gmane.org 1482300121 18370 195.159.176.226 (21 Dec 2016 06:02:01 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 21 Dec 2016 06:02:01 +0000 (UTC) Cc: musl@lists.openwall.com To: Felix Janda Original-X-From: musl-return-10836-gllmg-musl=m.gmane.org@lists.openwall.com Wed Dec 21 07:01:57 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 1cJZyO-00044M-AU for gllmg-musl@m.gmane.org; Wed, 21 Dec 2016 07:01:56 +0100 Original-Received: (qmail 1723 invoked by uid 550); 21 Dec 2016 06:01:58 -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 1698 invoked from network); 21 Dec 2016 06:01:58 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=CvtHKy2jMjZBy2Mxeq6C5e0Cm/1jW3xn21lmCp9JH3M=; b=P9Cwo6RiqT+a4r1BPUp5u1HG/Ma559gEsMHZ3lQtcCzv7eNDeC4xs2NhnABQz1nVKE ocP9XOgRF082sp8vjhts1NtAiP3+lfvMBT0oeRleY6rgYyZQoJ8D2PhdlTIm909wTSwL DdW72HqjS3RQPI9mZk5HSsWlpQf4zqD/gtYJeg4IcC5vx0tfbL3z3Jjp1LkMYxoE1l/c MEbn7K65DqxLsUNWFlOGKPGWwUAc7pEgMQ2pW69aJV5BHBu6CkbFFw6HdPS+KhJBsdna 2wFA+et9m7l6kFDbmgsweiZlDcs1SVqxVqnKFhHovY8P+AHOrjVP37hwuC4vhq0Tpeok kwXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=CvtHKy2jMjZBy2Mxeq6C5e0Cm/1jW3xn21lmCp9JH3M=; b=G3SRcy+t9E2bdarIy2CAL4VZztw7YW1xuKEx7HyShWyZke6ATDHqHkp2PC+shkeCdp ffmTUprKxgJJIXo4/rTaEP+iebBmlwbDz16CVO0hoz1i0uHef0TcClD4yRz+bpYDvC8C OdvhEZ83pXPRA02b6CvsgBBzFFRlOx6jUyw0WPQFhNw1j313/P/ZV25G77iQkDd6vvYZ D4/vdqVjaCRIpnnaFQmm/HjwkCfaru/Cqdak4zFKHvgnj7WAhoms07ty8HPQro/wny87 WZPwnu9mQC5H8j1lePn2iujbwSYhPPP2sl+SOqJFI7I9XqdDp331b6TYyPY9WQFlDJY9 hyTw== X-Gm-Message-State: AIkVDXJgZxaH/8DK5ZJwO1/Y0GBfy7jBPiCcO6Sttj7QFGRndDpv6HP1aNZ0yGM4KpNrBg== X-Received: by 10.46.32.7 with SMTP id g7mr1257628ljg.35.1482300106431; Tue, 20 Dec 2016 22:01:46 -0800 (PST) Original-Sender: =?UTF-8?Q?Timo_Ter=C3=A4s?= In-Reply-To: <20161221002730.GA28248@nyan> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.28; x86_64-alpine-linux-musl) Xref: news.gmane.org gmane.linux.lib.musl.general:10823 Archived-At: On Tue, 20 Dec 2016 19:27:30 -0500 Felix Janda wrote: > Rich Felker wrote: > > On Tue, Nov 22, 2016 at 10:29:08AM +0200, Timo Ter=C3=A4s wrote: =20 > > > --- > > > For review. GNU and most BSDs seem to implement these > > > extensions. =20 > >=20 > > 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. =20 >=20 > Just to add one more data point: Solaris seems to support these > extensions since Solaris 11: >=20 > https://docs.oracle.com/cd/E36784_01/html/E36874/strftime-3c.html Also supported in: Mac OSX: https://developer.apple.com/legacy/library/documentation/Darwin/Reference/M= anPages/man3/strftime.3.html DragonflyBSD: https://www.dragonflybsd.org/cgi/web-man?command=3Dstrftime§ion=3D3