X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=debug%2Fcatchsegv.sh;h=bd835176d9037c5dfc9fff0d91685e4960ffebe3;hb=187c3869ca6902a32a9c2ce8efba72a336604945;hp=6f47fab42a2250900362a5c2607be79e86b48097;hpb=11bf311edc76f5ddc469a8c396e313e82d76be15;p=platform%2Fupstream%2Fglibc.git diff --git a/debug/catchsegv.sh b/debug/catchsegv.sh index 6f47fab..bd83517 100755 --- a/debug/catchsegv.sh +++ b/debug/catchsegv.sh @@ -1,6 +1,5 @@ #! /bin/sh -# Copyright (C) 1998,1999,2001,2003,2004,2006,2007 -# Free Software Foundation, Inc. +# Copyright (C) 1998-2015 Free Software Foundation, Inc. # This file is part of the GNU C Library. # Contributed by Ulrich Drepper , 1998. @@ -15,9 +14,8 @@ # Lesser General Public License for more details. # You should have received a copy of the GNU Lesser General Public -# License along with the GNU C Library; if not, write to the Free -# Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -# 02111-1307 USA. +# License along with the GNU C Library; if not, see +# . if test $# -eq 0; then echo "$0: missing program name" >&2 @@ -34,13 +32,15 @@ if test $# -eq 0; then echo 'Usage: catchsegv PROGRAM ARGS...' echo ' --help print this help, then exit' echo ' --version print version number, then exit' - echo "For bug reporting instructions, please see:" - echo "." + echo 'For bug reporting instructions, please see:' + cat <<\EOF +@REPORT_BUGS_TO@. +EOF exit 0 ;; --v | --ve | --ver | --vers | --versi | --versio | --version) - echo 'catchsegv (GNU libc) @VERSION@' - echo 'Copyright (C) 2007 Free Software Foundation, Inc. + echo 'catchsegv @PKGVERSION@@VERSION@' + echo 'Copyright (C) 2015 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Written by Ulrich Drepper.' @@ -97,7 +97,7 @@ if test -s "$segv_output"; then echo "$line" fi ;; - *) echo "$line" + *) echo "$line" ;; esac done)