scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | README | LICENSE

commit 5b3b40d46458f6599e47683ec11e67e5b4e96ede
parent 4533b8d7703c036ef84fcabd94a5b288209ade0a
Author: Eddie Thieda <eddie.thieda@gmail.com>
Date:   Tue,  8 Oct 2019 13:49:49 -0400

Fixed error message(s) wording

Diffstat:
Msrc/cmd/cc/posix/cc.c | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/cmd/cc/posix/cc.c b/src/cmd/cc/posix/cc.c @@ -119,7 +119,7 @@ path(char *s) } too_long: - die("cc: too long pathname"); + die("cc: pathname too long"); } static void @@ -176,12 +176,12 @@ inittool(int tool) fmt = (qbe(tool)) ? "%s-qbe_%s-%s" : "%s-%s-%s"; n = snprintf(t->bin, sizeof(t->bin), fmt, t->cmd, arch, abi); if (n < 0 || n >= sizeof(t->bin)) - die("cc: target tool name too long"); + die("cc: target tool name is too long"); n = snprintf(t->cmd, sizeof(t->cmd), "%s/libexec/scc/%s", prefix, t->bin); if (n < 0 || n >= sizeof(t->cmd)) - die("cc: target tool path too long"); + die("cc: target tool path is too long"); break; case LD: for (n = 0; ldflags[n]; ++n) @@ -375,7 +375,7 @@ toolfor(char *file) return CC1; } - die("cc: do not recognize filetype of %s", file); + die("cc: unrecognized filetype of %s", file); } static int