summaryrefslogtreecommitdiff
path: root/runv
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2019-12-08 14:17:20 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2019-12-08 14:17:20 -0500
commit3db3e1a84fcded750ccf45732c6527e1581bc36e (patch)
treede1a4fb46c4272a7c6bb4678e2837df7999f9dbb /runv
parent5fd1048555c003c98633482ee4fb4b9df80fb455 (diff)
discovered a bug with flexible types while cleaning up args
Diffstat (limited to 'runv')
-rwxr-xr-xrunv2
1 files changed, 1 insertions, 1 deletions
diff --git a/runv b/runv
index 53a72c3..7f621fe 100755
--- a/runv
+++ b/runv
@@ -10,7 +10,7 @@ else
FLAGS="-q"
fi
-valgrind $FLAGS --track-origins=yes --error-exitcode=1 --malloc-fill=0xcd --free-fill=0xef --num-callers=100 ./toc $tocf || exit 1
+valgrind $FLAGS --track-origins=yes --exit-on-first-error=yes --error-exitcode=1 --malloc-fill=0xcd --free-fill=0xef --num-callers=100 ./toc $tocf || exit 1
if [ "$1" = "c" ]; then
gcc out.c -g && ./a.out
elif [ "$1" = "pc" ]; then