From 591d2ce85de124b6b5fab0ef0b64f0e69dc09384 Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Tue, 1 Jun 1993 08:14:22 +0000 Subject: [PATCH] (signal.h): FIx typo in last change. (signal.h): Don't mung #endif if nonwhite stuff precedes. From-SVN: r4619 --- gcc/fixincludes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2