aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-rw-r--r--contrib/ChangeLog4
-rwxr-xr-xcontrib/check_warning_flags.sh4
2 files changed, 6 insertions, 2 deletions
diff --git a/contrib/ChangeLog b/contrib/ChangeLog
index cd6fba6..46c1cc3 100644
--- a/contrib/ChangeLog
+++ b/contrib/ChangeLog
@@ -1,3 +1,7 @@
+2010-01-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+ * check_warning_flags.sh: Use \012 instead of \n with tr.
+
2010-01-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* dg-extract-results.sh: Don't use tail -n.
diff --git a/contrib/check_warning_flags.sh b/contrib/check_warning_flags.sh
index eb53832..d9c5735 100755
--- a/contrib/check_warning_flags.sh
+++ b/contrib/check_warning_flags.sh
@@ -3,7 +3,7 @@
# Check that the warning flags documented in invoke.texi match up
# with what the compiler accepts.
#
-# Copyright (C) 2008, 2009 Free Software Foundation, Inc.
+# Copyright (C) 2008, 2009, 2010 Free Software Foundation, Inc.
# Written by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
#
# This script is Free Software, and it can be copied, distributed and
@@ -147,7 +147,7 @@ remove_problematic_help_flags='
/-$/d
/=/d'
help_flags=`
- $CC --help -v 2>/dev/null | tr ' ' '\n' |
+ $CC --help -v 2>/dev/null | tr ' ' '\012' |
sed -n '
b a
:a