From 5dd7bdee141803099b5a9b4eba18c6f04048ba40 Mon Sep 17 00:00:00 2001 From: Patrik Nyblom Date: Mon, 28 Feb 2011 11:57:02 +0100 Subject: Make crypto.c work with valgrind 3.6 and correct cerl.src --- erts/etc/unix/cerl.src | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'erts/etc/unix') diff --git a/erts/etc/unix/cerl.src b/erts/etc/unix/cerl.src index b873f04dd3..69840daf69 100644 --- a/erts/etc/unix/cerl.src +++ b/erts/etc/unix/cerl.src @@ -238,7 +238,11 @@ if [ "x$GDB" = "x" ]; then else export VALGRIND_LOG_XML valgrind_xml="--xml=yes" - log_file_prefix="--xml-file=" + if [ $valmajor -gt 2 -a $valminor -gt 4 ]; then + log_file_prefix="--xml-file=" + else + log_file_prefix="--log-file=" + fi fi if [ "x$VALGRIND_LOG_DIR" = "x" ]; then valgrind_log= -- cgit v1.2.3