From: Richard Stallman Date: Tue, 1 Jun 1993 08:14:22 +0000 (+0000) Subject: (signal.h): FIx typo in last change. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=591d2ce85de124b6b5fab0ef0b64f0e69dc09384;p=gcc.git (signal.h): FIx typo in last change. (signal.h): Don't mung #endif if nonwhite stuff precedes. From-SVN: r4619 --- diff --git a/gcc/fixincludes b/gcc/fixincludes index 5bbffe58433..f97c3d01713 100755 --- a/gcc/fixincludes +++ b/gcc/fixincludes @@ -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