OSDN Git Service

Do not fix <syndev/ipi_error.h> to avoid problems with SunOS sed
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 28 Dec 1993 03:15:25 +0000 (03:15 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 28 Dec 1993 03:15:25 +0000 (03:15 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6339 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/fixincludes

index 008a61e..f05bbf9 100755 (executable)
@@ -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`