[SV #39028] Fix some small typos in messages.

This commit is contained in:
Paul Smith 2013-05-26 14:06:25 -04:00
parent bf60bbd67a
commit 2fc0f614be
4 changed files with 11 additions and 4 deletions

View file

@ -30,6 +30,13 @@
already does. Otherwise, the linker will look for, and fail to
find, gmk_* functions in some external dynamic library.
2013-05-17 Benno Schulenberg <bensberg@justemail.net>
* main.c (decode_output_sync_flags): Fix output message.
* read.c (EXTRANEOUS): Ditto.
(record_files): Ditto.
* remake.c (update_file_1): Ditto.
2013-05-17 Eli Zaretskii <eliz@gnu.org>
* main.c (prepare_mutex_handle_string): Define conditioned on

2
main.c
View file

@ -2793,7 +2793,7 @@ decode_switches (int argc, char **argv, int env)
if (i < 1 || cp[0] != '\0')
{
error (NILF, _("the '-%c' option requires a positive integral argument"),
error (NILF, _("the '-%c' option requires a positive integer argument"),
cs->c);
bad = 1;
}

4
read.c
View file

@ -1566,7 +1566,7 @@ conditional_line (char *line, int len, const gmk_floc *flocp)
/* Found one: skip past it and any whitespace after it. */
line = next_token (line + len);
#define EXTRANEOUS() error (flocp, _("Extraneous text after '%s' directive"), cmdname)
#define EXTRANEOUS() error (flocp, _("extraneous text after '%s' directive"), cmdname)
/* An 'endif' cannot contain extra text, and reduces the if-depth by 1 */
if (cmdtype == c_endif)
@ -2082,7 +2082,7 @@ record_files (struct nameseq *filenames, const char *pattern,
more than once. Just give a warning since this is harmless. */
if (cmds != 0 && cmds == f->cmds)
error (flocp,
_("target '%s' given more than once in the same rule."),
_("target '%s' given more than once in the same rule"),
f->name);
/* Check for two single-colon entries both with commands.

View file

@ -827,7 +827,7 @@ update_file_1 (struct file *file, unsigned int depth)
DBF (DB_BASIC, _("Successfully remade target file '%s'.\n"));
break;
case 1:
DBF (DB_BASIC, _("Target file '%s' needs remade under -q.\n"));
DBF (DB_BASIC, _("Target file '%s' needs to be remade under -q.\n"));
break;
default:
assert (file->update_status >= 0 && file->update_status <= 2);