(signal.h): FIx typo in last change.
authorRichard Stallman <rms@gnu.org>
Tue, 1 Jun 1993 08:14:22 +0000 (08:14 +0000)
committerRichard Stallman <rms@gnu.org>
Tue, 1 Jun 1993 08:14:22 +0000 (08:14 +0000)
(signal.h): Don't mung #endif if nonwhite stuff precedes.

From-SVN: r4619

gcc/fixincludes

index 5bbffe58433f8d568f63cc28562948e66bceb433..f97c3d01713902f08a1b6f553541dc316d3538ac 100755 (executable)
@@ -531,7 +531,7 @@ fi
 
 if [ -r ${LIB}/$file ]; then
   echo Fixing $file, nested comments
-  sed -e 's/#endif.*/#endif/' ${LIB}/$file > ${LIB}/${file}.sed
+  sed -e 's/^[         ]*#endif.*/#endif/' ${LIB}/$file > ${LIB}/${file}.sed
   rm -f ${LIB}/$file; mv ${LIB}/${file}.sed ${LIB}/$file
   if cmp $file ${LIB}/$file >/dev/null 2>&1; then
     rm -f ${LIB}/$file