1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-12 23:08:17 +02:00

Tell xgettext that "ARG1 % ARG2" is not a C format string.

* src/expr.c (usage): Add a comment to override xgettext's default
behavior, which would classify "ARG1 % ARG2" as a fprintf-style
format string.
This commit is contained in:
Micah Cowan
2007-10-25 08:59:30 +02:00
committed by Jim Meyering
parent edb5faa297
commit 35eca590ad
2 changed files with 9 additions and 0 deletions

View File

@@ -1,3 +1,10 @@
2007-10-24 Micah Cowan <micah@cowan.name>
Tell xgettext that "ARG1 % ARG2" is not a C format string.
* src/expr.c (usage): Add a comment to override xgettext's default
behavior, which would classify "ARG1 % ARG2" as a fprintf-style
format string.
2007-10-24 Jim Meyering <meyering@redhat.com>
Avoid diagnostics from sha1sum when there is no cached checksum.

View File

@@ -128,6 +128,8 @@ separates increasing precedence groups. EXPRESSION may be:\n\
ARG1 + ARG2 arithmetic sum of ARG1 and ARG2\n\
ARG1 - ARG2 arithmetic difference of ARG1 and ARG2\n\
"), stdout);
/* Tell xgettext that the "% A" below is not a printf-style
format string: xgettext:no-c-format */
fputs (_("\
\n\
ARG1 * ARG2 arithmetic product of ARG1 and ARG2\n\