diff options
author | Paul Smith <psmith@gnu.org> | 2023-04-01 15:57:04 -0400 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2023-04-02 10:02:18 -0400 |
commit | c2792d6129fe9b13efba159126430d657f447033 (patch) | |
tree | e17008438550ba148ae1fb7fc15426b3aac388e6 /src/job.c | |
parent | a0d1e76d604df5bd006fd5ed6a69963d3c6b4d7a (diff) | |
download | make-git-c2792d6129fe9b13efba159126430d657f447033.tar.gz |
Adjust output strings to be aligned
Change error and fatal messages to start with lowercase and not
end with a period. Note a few very common messages were left
as-is, just in case some other tools parse them.
Also modify the test known-good-output to satisfy the messages.
Diffstat (limited to 'src/job.c')
-rw-r--r-- | src/job.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1110,7 +1110,7 @@ free_child (struct child *child) output_close (&child->output); if (!jobserver_tokens) - ONS (fatal, NILF, "INTERNAL: Freeing child %p (%s) but no tokens left", + ONS (fatal, NILF, "INTERNAL: freeing child %p (%s) but no tokens left", child, child->file->name); /* If we're using the jobserver and this child is not the only outstanding @@ -2242,7 +2242,7 @@ child_execute_job (struct childbase *child, int good_stdin, char **argv) if (save_fdin >= 0) { if (dup2 (save_fdin, FD_STDIN) != FD_STDIN) - O (fatal, NILF, _("Could not restore stdin")); + O (fatal, NILF, _("could not restore stdin")); else close (save_fdin); } @@ -2250,7 +2250,7 @@ child_execute_job (struct childbase *child, int good_stdin, char **argv) if (save_fdout >= 0) { if (dup2 (save_fdout, FD_STDOUT) != FD_STDOUT) - O (fatal, NILF, _("Could not restore stdout")); + O (fatal, NILF, _("could not restore stdout")); else close (save_fdout); } @@ -2258,7 +2258,7 @@ child_execute_job (struct childbase *child, int good_stdin, char **argv) if (save_fderr >= 0) { if (dup2 (save_fderr, FD_STDERR) != FD_STDERR) - O (fatal, NILF, _("Could not restore stderr")); + O (fatal, NILF, _("could not restore stderr")); else close (save_fderr); } |