aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1993-06-01 08:14:22 +0000
committerRichard Stallman <rms@gnu.org>1993-06-01 08:14:22 +0000
commit591d2ce85de124b6b5fab0ef0b64f0e69dc09384 (patch)
tree8bf9d2729ef814848c8e4840fa0841d4753c1583
parent6c7b9201752145b58351f44e0999b42509d154cb (diff)
downloadgcc-591d2ce85de124b6b5fab0ef0b64f0e69dc09384.zip
gcc-591d2ce85de124b6b5fab0ef0b64f0e69dc09384.tar.gz
gcc-591d2ce85de124b6b5fab0ef0b64f0e69dc09384.tar.bz2
(signal.h): FIx typo in last change.
(signal.h): Don't mung #endif if nonwhite stuff precedes. From-SVN: r4619
-rwxr-xr-xgcc/fixincludes2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fixincludes b/gcc/fixincludes
index 5bbffe5..f97c3d0 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