From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/5859 Path: news.gmane.org!not-for-mail From: Alec Salazar Newsgroups: gmane.linux.lib.musl.general Subject: Re: XPG4 Date: Thu, 14 Aug 2014 20:56:41 -0400 Message-ID: References: <20140814194632.GK12888@brightrain.aerifal.cx> <20140814234004.GO12888@brightrain.aerifal.cx> <20140815004232.GA1767@newbook> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c16ec48aebd20500a07e3f X-Trace: ger.gmane.org 1408064220 9841 80.91.229.3 (15 Aug 2014 00:57:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 15 Aug 2014 00:57:00 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-5865-gllmg-musl=m.gmane.org@lists.openwall.com Fri Aug 15 02:56:54 2014 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1XI5p7-0001qS-Sl for gllmg-musl@plane.gmane.org; Fri, 15 Aug 2014 02:56:53 +0200 Original-Received: (qmail 15787 invoked by uid 550); 15 Aug 2014 00:56:53 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 15779 invoked from network); 15 Aug 2014 00:56:53 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=P3Uq+fcaDw8Vx7La7xiMvdJF/v/WtlU8Ip3R7qw/uHA=; b=cdF9WVBH4TxPskiWNdcrL0wvNKT90GPAypxkfNu1jnHPHNaxhf04LrA4h9UANu/Irr kujSCwjorQF36JzuExVnU+picanWFgzInLzrYqSM+ZY+2btF4HwqtbKbZNVlYD9wBwYj I7Mze2NM/RSAnne4oReQBezewa867C9+/K5PnA94tu4JcTS44dL0HSitp6rbz1WHd9qs jIHKl9FvhtCu0b/SNegy+d6y3lj5SK5+Fi0ZQVT3yPlhUEPDHDlHCOjTiKFO6a4T018Q xG8pubjseoDLX1K5uuG7eA5H1SFLIVNW8oHOV4HXP0flKXQYrxukOe9NUdjq+fpG/sjT MViQ== X-Received: by 10.140.102.117 with SMTP id v108mr21149097qge.93.1408064201346; Thu, 14 Aug 2014 17:56:41 -0700 (PDT) In-Reply-To: <20140815004232.GA1767@newbook> Xref: news.gmane.org gmane.linux.lib.musl.general:5859 Archived-At: --001a11c16ec48aebd20500a07e3f Content-Type: text/plain; charset=UTF-8 Ok, gtk thanks. Is there a functional difference between - fmt = nl_langinfo(_DATE_FMT); + fmt = "%c %Z"; as far as localization is concerned? fmt as the 3rd arg for strftime. I imagine there is otherwise what's the use of nl_langinfo, but I haven't been able to make sense of the locale docs yet. Or is it reasonable to suggest adding string.h to concat the %Z on the end of nl_langinfo(D_T_FMT)? On Thu, Aug 14, 2014 at 8:42 PM, Isaac Dunham wrote: > xpg4 is not the latest X/Open standard, it's the oldest (early 1990s if I > remember correctly). > SUSv4(TC1)/POSIX2013 is the latest, and that's what musl is written to. > > HTH, > Isaac Dunham > --001a11c16ec48aebd20500a07e3f Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Ok, gtk thanks.
Is there a functional differ= ence between
-=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 fmt =3D nl_langinfo(_DATE_FMT);
+=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= fmt =3D "%c %Z";
as far = as localization is concerned? fmt as the 3rd arg for strftime. I imagine th= ere is otherwise what's the use of nl_langinfo, but I haven't been = able to make sense of the locale docs yet. Or is it reasonable to suggest a= dding string.h to concat the %Z on the end of nl_langinfo(D_T_FMT)?

On Thu, Aug= 14, 2014 at 8:42 PM, Isaac Dunham <ibid.ag@gmail.com> wrote= :
xpg4 is not the latest X/Open standard, it's the oldest (early 1990s if= I
remember correctly).
SUSv4(TC1)/POSIX2013 is the latest, and that's what musl is written to.=

HTH,
Isaac Dunham

--001a11c16ec48aebd20500a07e3f--