simple c99 compiler
git clone git://
Log | Files | Refs | Submodules | README | LICENSE

commit f4f5907f5e1083da2c49a79c1966c85b19d9a709
parent 06152a7f1543a2bcf9197672576f240ac9e692d6
Author: Roberto E. Vargas Caballero <>
Date:   Fri, 19 Jan 2024 17:37:27 +0100

cc2: Remove non needed make variable

The temporary in the trap code was added in a time when
we thougth that trap comamnd would affect the status
returned by the shell script, but this known to be false

Msrc/cmd/cc/cc2/Makefile | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/cmd/cc/cc2/Makefile b/src/cmd/cc/cc2/Makefile @@ -27,7 +27,7 @@ $(TARGET): error.h error.h: cc2.h rm -f $@;\ - trap 'r=$?;rm -f $$$$.h;exit $r' EXIT INT QUIT ;\ + trap 'rm -f $$$$.h' EXIT INT QUIT TERM HUP;\ awk -f generror.awk cc2.h > $$$$.h && mv $$$$.h $@ clean: