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:
committed by
Jim Meyering
parent
edb5faa297
commit
35eca590ad
@@ -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.
|
||||
|
||||
@@ -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\
|
||||
|
||||
Reference in New Issue
Block a user