ref: 044ed044112af8996f280664833682a4f437016f
parent: b2537502d9aa8a69d9b4c2dfa1fd1c57116bba3e
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Sun Oct 31 00:58:45 EDT 2021
cc2: Prepend error lines with cc2 Error lines were printed without any prefix, making very confusing reading debug output of cc, where lines of different programs are printed.
--- a/src/cmd/cc/cc2/main.c
+++ b/src/cmd/cc/cc2/main.c
@@ -16,6 +16,7 @@
{
va_list va;
va_start(va, nerror);
+ fputs("cc2:", stderr);
vfprintf(stderr, errlist[nerror], va);
va_end(va);
putc('\n', stderr);