From fc3597c0f80a4a7d7c0425285bdefa6f5fff87da Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 1 Sep 1998 18:58:12 +0000 Subject: Update. 1998-09-01 Ulrich Drepper * debug/catchsegv.sh: Add one more pair of quotes. --- debug/catchsegv.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'debug') diff --git a/debug/catchsegv.sh b/debug/catchsegv.sh index a813b6d..6ca404d 100755 --- a/debug/catchsegv.sh +++ b/debug/catchsegv.sh @@ -85,7 +85,7 @@ if test $exval -gt 128 && test -f "$segv_output"; then sed '1,/Backtrace/d' "$segv_output" | (while read line; do case "$line" in - [*) addr=`echo $line | sed 's/^\[\(.*\)\]$/\1/'` + [*) addr=`echo "$line" | sed 's/^\[\(.*\)\]$/\1/'` complete=`addr2line -f -e "$prog" $addr 2>/dev/null` if test $? -eq 0; then echo "`echo "$complete"|sed 'N;s/\(.*\)\n\(.*\)/\2(\1)/;'`$line" -- cgit v1.1