OSDN Git Service

(handle_braces): Rework last change.
[pf3gnuchains/gcc-fork.git] / gcc / fixproto
index 251c2a8..b7e8564 100755 (executable)
@@ -19,7 +19,8 @@
 #
 #      You should have received a copy of the GNU General Public License
 #      along with GNU CC; see the file COPYING.  If not, write to
-#      the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
+#      the Free Software Foundation, 59 Temple Place - Suite 330,
+#      Boston, MA 02111-1307, USA.
 #
 # DESCRIPTION
 #      Adjunct script for GNU CC to populate a directory with ANSI,
@@ -64,7 +65,7 @@ if [ `echo $1 | wc -w` = 0 ] ; then
   exit 1
 fi
 
-std_files="ctype.h dirent.h errno.h curses.h fcntl.h grp.h locale.h math.h pwd.h setjmp.h signal.h stdio.h stdlib.h string.h sys/stat.h sys/times.h sys/resource.h sys/utsname.h sys/wait.h tar.h termios.h time.h unistd.h"
+std_files="ctype.h dirent.h errno.h curses.h fcntl.h grp.h locale.h math.h pwd.h setjmp.h signal.h stdio.h stdlib.h string.h sys/socket.h sys/stat.h sys/times.h sys/resource.h sys/utsname.h sys/wait.h tar.h termios.h time.h unistd.h utime.h"
 
 rel_target_dir=$1
 # All files in $src_dir_all (normally same as $rel_target_dir) are
@@ -141,7 +142,7 @@ for code in ALL STD ; do
          # for C++, so skip those.
          subdirs="$subdirs "`cd $rel_source_dir/$d; find . -type d -print | \
                   sed -e '/^\.$/d' -e "s|^\./|${d}/|" -e 's|^\./||' \
-                    -e '/CC$/d' -e '/\+\+/d'`
+                    -e '/CC$/d' -e '/[+][+]/d'`
          links=
          links=`cd $rel_source_dir; find $d/. -type l -print | \
                       sed -e "s|$d/./|$d/|" -e 's|^\./||'`