[SV #39028] Fix some small typos in messages.
authorPaul Smith <psmith@gnu.org>
Sun, 26 May 2013 18:06:25 +0000 (14:06 -0400)
committerPaul Smith <psmith@gnu.org>
Sun, 26 May 2013 18:06:25 +0000 (14:06 -0400)
ChangeLog
main.c
read.c
remake.c

index e4f91303f753ca8492a6b10c81ac1edc05e85b35..ff5bec59744c14e6d935f0da26f02212f12c0a3d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
        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
diff --git a/main.c b/main.c
index 2b302607fd210c23539c3a183f4c54c27ec9e3b7..16ed31808763f4284b298af2bc0767d210868175 100644 (file)
--- a/main.c
+++ b/main.c
@@ -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;
                         }
diff --git a/read.c b/read.c
index 87cd5548b6098a90c9ad4a8eae8b0761969d38d1..36d3a8fa38644a7ace2023e9168d811b0b7246b7 100644 (file)
--- a/read.c
+++ b/read.c
@@ -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.
index 95c97cb9374a0113a944c190d0fccb383f2aaed6..f56a8569504675ad20b07925a2a04eb5d697a090 100644 (file)
--- a/remake.c
+++ b/remake.c
@@ -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);