aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>1993-12-28 03:15:25 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>1993-12-28 03:15:25 +0000
commitbb7c21a564da5e0fbc1ab4cc3bf3702b232dd3e6 (patch)
tree52a5a12dd4b8a2c8e6d29a47ed690b0e3c385f7a
parent2bbc163fd3252347d205212c6393e3d74e4af820 (diff)
downloadgcc-bb7c21a564da5e0fbc1ab4cc3bf3702b232dd3e6.zip
gcc-bb7c21a564da5e0fbc1ab4cc3bf3702b232dd3e6.tar.gz
gcc-bb7c21a564da5e0fbc1ab4cc3bf3702b232dd3e6.tar.bz2
Do not fix <syndev/ipi_error.h> to avoid problems with SunOS sed
From-SVN: r6339
-rwxr-xr-xgcc/fixincludes10
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/fixincludes b/gcc/fixincludes
index 008a61e..f05bbf9 100755
--- a/gcc/fixincludes
+++ b/gcc/fixincludes
@@ -1408,6 +1408,16 @@ do
fi
done
+# This file on SunOS 4 has a very large macro. When the sed loop
+# tries pull it in, it overflows the pattern space size of the SunOS
+# sed (GNU sed does not have this problem). Since the file does not
+# require fixing, we remove it from the fixed directory.
+file=sundev/ipi_error.h
+if [ -r ${LIB}/$file ]; then
+ echo "Removing incorrect fix to SunOS <sundev/ipi_error.h>"
+ rm -f ${LIB}/$file
+fi
+
echo 'Removing unneeded directories:'
cd $LIB
files=`find . -type d -print | sort -r`