OSDN Git Service

2009-03-27 Vladimir Makarov <vmakarov@redhat.com>
[pf3gnuchains/gcc-fork.git] / gcc / fixproto
index 8a958d5..7c42d9c 100755 (executable)
@@ -4,13 +4,13 @@
 #      fixproto TARGET-DIR SOURCE-DIR-ALL SOURCE-DIR-STD
 #
 # COPYRIGHT
-#      Copyright (C) 1993, 1994, 1997, 1998, 2002, 2003
+#      Copyright (C) 1993, 1994, 1997, 1998, 2002, 2003, 2007, 2008
 #       Free Software Foundation, Inc.
 #      This file is part of GCC.
 #
 #      GCC is free software; you can redistribute it and/or modify
 #      it under the terms of the GNU General Public License as published by
-#      the Free Software Foundation; either version 2, or (at your option)
+#      the Free Software Foundation; either version 3, or (at your option)
 #      any later version.
 #
 #      GCC is distributed in the hope that it will be useful,
@@ -19,9 +19,8 @@
 #      GNU General Public License for more details.
 #
 #      You should have received a copy of the GNU General Public License
-#      along with GCC; see the file COPYING.  If not, write to
-#      the Free Software Foundation, 51 Franklin Street, Fifth Floor,
-#      Boston, MA 02110-1301, USA.
+#      along with GCC; see the file COPYING3.  If not see
+#      <http://www.gnu.org/licenses/>.
 #
 # DESCRIPTION
 #      Adjunct script for GCC to populate a directory with ANSI,
@@ -198,7 +197,7 @@ for code in ALL STD ; do
        fi
       fi
       # Append "/"; remove initial "./". Hence "." -> "" and "sys" -> "sys/".
-      rel_source_prefix=`echo $rel_source_subdir | sed -e 's|$|/|' -e 's|^./||'`
+      rel_source_prefix=`echo $rel_source_subdir | sed -e 's|$|/|' -e 's|^\./||'`
 
       case $code in
        ALL)