public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Andreas Schwab <schwab@linux-m68k.org>
To: Bernd Edlinger <bernd.edlinger@hotmail.de>
Cc: Joseph Myers <joseph@codesourcery.com>,
	 "gcc\@gcc.gnu.org"	<gcc@gcc.gnu.org>
Subject: Re: Translated strings with sprintf %-directives
Date: Sun, 08 Sep 2019 09:56:00 -0000	[thread overview]
Message-ID: <875zm3nmbk.fsf@hase.home> (raw)
In-Reply-To: <AM6PR10MB2566842CC8B6D7B32EA29061E4B40@AM6PR10MB2566.EURPRD10.PROD.OUTLOOK.COM>	(Bernd Edlinger's message of "Sun, 8 Sep 2019 09:38:06 +0000")

On Sep 08 2019, Bernd Edlinger <bernd.edlinger@hotmail.de> wrote:

> Shouldn't there be an automatic check that the %-directives are given in
> the original and the translated message are exactly the same?

There is, but only if the original message is marked as a format string
in the first place.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

      reply	other threads:[~2019-09-08  9:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-08  9:38 Bernd Edlinger
2019-09-08  9:56 ` Andreas Schwab [this message]

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=875zm3nmbk.fsf@hase.home \
    --to=schwab@linux-m68k.org \
    --cc=bernd.edlinger@hotmail.de \
    --cc=gcc@gcc.gnu.org \
    --cc=joseph@codesourcery.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.
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 read-only IMAP folder(s) and NNTP newsgroup(s).