mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Rich Felker <dalias@libc.org>
To: Masanori Ogino <masanori.ogino@gmail.com>,
	musl@lists.openwall.com, bug-gnu-gettext@gnu.org
Subject: Re: Re: [bug-gettext] AM_GNU_GETTEXT without referring internal symbols?
Date: Thu, 7 Apr 2016 09:53:36 -0400	[thread overview]
Message-ID: <20160407135336.GN21636@brightrain.aerifal.cx> (raw)
In-Reply-To: <20160407105746.GF9862@port70.net>

On Thu, Apr 07, 2016 at 12:57:47PM +0200, Szabolcs Nagy wrote:
> * Masanori Ogino <masanori.ogino@gmail.com> [2016-04-07 16:12:39 +0900]:
> > 2016-04-07 15:26 GMT+09:00 Rich Felker <dalias@libc.org>:
> > > I'm not sure what the %Id thing you're referring to is; can you point
> > > me to a description of it?
> > 
> > %Id is essentially an extension of printf(3) in glibc 2.2 and later.
> > It can be implemented by the same way as how sysdep is implemented; it
> > just depends on the current locale, not the ABI.
> > 
> > Search http://man7.org/linux/man-pages/man3/sprintf.3.html by "glibc
> > 2.2 adds" for details.
> 
> i think it is not acceptable that glibc introduces
> extensions that can collide with future versions of
> the c and posix standards.
> 
> but it is even worse if a translation file format
> depends on such extensions which makes it hard to
> fix the problem once the collision happens
> (like it happened with scanf %a).
> 
> there are other problems with this flag, so gettext
> manual should recommend some other solution.

In that case this has nothing to do with gettext capabilities; gettext
does not process format strings but simply translates one format
strign to another, and if a program is using non-portable format
strings, it's going to break whether it's using gettext or not. So I
don't think it's relevant to this discussion of whether _gettext_ is
compatible.

Rich


  reply	other threads:[~2016-04-07 13:53 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-01 12:56 Masanori Ogino
     [not found] ` <CAA-4+jeUF8c+Kmv0UQi0akMAtc2hmi3pC_8=nBNcsfuRcjSgNA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-04-04  2:23   ` Daiki Ueno
     [not found]     ` <m3h9fit8lg.fsf-ueno-mXXj517/zsQ@public.gmane.org>
2016-04-04  4:23       ` Masanori Ogino
     [not found]         ` <CAA-4+jcpfOXoYx1g_48M0B7punK7r2AOU7YU-V_pdQNGYcFmng-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-04-07  2:26           ` [musl] " Daiki Ueno
2016-04-07  5:34             ` Re: [bug-gettext] " Masanori Ogino
2016-04-07  6:26               ` Rich Felker
2016-04-07  7:12                 ` Masanori Ogino
2016-04-07 10:57                   ` Szabolcs Nagy
2016-04-07 13:53                     ` Rich Felker [this message]
     [not found]               ` <CAA-4+jfbUEi1bBBP7iT2_9zaxyR+XvRb00yrWsoFj7iWiN3uUw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-04-07  5:36                 ` [musl] " Masanori Ogino
2016-05-26  6:09                 ` Daiki Ueno
2016-05-26 12:53                   ` Re: [bug-gettext] " Masanori Ogino
2016-05-26 19:36                     ` Rich Felker
     [not found]                       ` <20160526193658.GA21636-C3MtFaGISjmo6RMmaWD+6Sb1p8zYI1N1@public.gmane.org>
2016-05-27  8:48                         ` [musl] " Daiki Ueno

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=20160407135336.GN21636@brightrain.aerifal.cx \
    --to=dalias@libc.org \
    --cc=bug-gnu-gettext@gnu.org \
    --cc=masanori.ogino@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).