about summary refs log tree commit diff
path: root/debug/catchsegv.sh
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-09-01 18:58:12 +0000
committerUlrich Drepper <drepper@redhat.com>1998-09-01 18:58:12 +0000
commitfc3597c0f80a4a7d7c0425285bdefa6f5fff87da (patch)
treecf4b9255f086046772810d78947690f13dd17b43 /debug/catchsegv.sh
parent76156ea152d970103a4c69541d816cacaf0ebc74 (diff)
downloadglibc-fc3597c0f80a4a7d7c0425285bdefa6f5fff87da.tar.gz
glibc-fc3597c0f80a4a7d7c0425285bdefa6f5fff87da.tar.xz
glibc-fc3597c0f80a4a7d7c0425285bdefa6f5fff87da.zip
Update.
1998-09-01  Ulrich Drepper  <drepper@cygnus.com>

	* debug/catchsegv.sh: Add one more pair of quotes.
Diffstat (limited to 'debug/catchsegv.sh')
-rwxr-xr-xdebug/catchsegv.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/debug/catchsegv.sh b/debug/catchsegv.sh
index a813b6d614..6ca404da08 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"