ref: b2fdb4fc96e55083316e80a1c42dafea7b8184fc
parent: 2974c0654f4634a58fb6d6d588dd4eebd143a383
author: Quentin Rameau <quinq@fifth.space>
date: Tue Oct 8 08:44:18 EDT 2019
[cc] Only warn about unexpected internal failures
--- a/src/cmd/cc/posix/cc.c
+++ b/src/cmd/cc/posix/cc.c
@@ -391,7 +391,8 @@
goto fail;
internal:
- fprintf(stderr, "cc:%s: internal error\n", t->bin);
+ if (!failure)
+ fprintf(stderr, "cc:%s: internal error\n", t->bin);
fail:
failure = 1;
return 0;