This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 05/23] Fix spelling mistakes in comments in configure scripts


Hi!

(original thread here: https://sourceware.org/ml/gdb-patches/2016-11/msg00564.html)

On 11/20/2016 05:38 PM, Ambrogino Modigliani wrote:

> libiberty/ChangeLog:
> 
>         * libiberty/configure: Fix spelling in comments.
>         * libiberty/configure.ac: Fix spelling in comments.

This is maintained by gcc.  Could you send it to the gcc-patches list?

> diff --git a/bfd/configure b/bfd/configure
> index 68db12f..ab239fe 100755
> --- a/bfd/configure
> +++ b/bfd/configure
> @@ -12291,7 +12291,7 @@ fi
>  rm -f conftest*
>  
>  
> -# Verify CC_FOR_BUILD to be compatible with waring flags
> +# Verify CC_FOR_BUILD to be compatible with warning flags

This a generated file.  The typo is actually here:

bfd/warning.m4:# Verify CC_FOR_BUILD to be compatible with waring flags

I included that fix in the patch, and pushed it in for you, after
regenerating all touched configure's to make sure we're not
missing touching some other source file (that's how I found out
about warning.m4).

Below's what I pushed.  Adding binutils@ as this touches
files maintained by binutils.

Thanks!

>From 96fe45624e51f1bb747e36cf8bdaab216f31c5ec Mon Sep 17 00:00:00 2001
From: Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
Date: Tue, 22 Nov 2016 15:43:03 +0000
Subject: [PATCH] Fix spelling mistakes in comments in configure scripts

All changes are limited to comments, and no run-time behavior is
affected.

bfd/ChangeLog:
2016-11-22  Ambrogino Modigliani  <ambrogino.modigliani@gmail.com>

        * warning.m4: Fix spelling in comments.
        * configure.ac: Fix spelling in comments.
        * configure: Regenerate.

binutils/ChangeLog:
2016-11-22  Ambrogino Modigliani  <ambrogino.modigliani@gmail.com>

        * configure: Regenerate.

gdb/ChangeLog:
2016-11-22  Ambrogino Modigliani  <ambrogino.modigliani@gmail.com>

        * configure.ac: Fix spelling in comments.
        * configure: Regenerate.

gas/ChangeLog:
2016-11-22  Ambrogino Modigliani  <ambrogino.modigliani@gmail.com>

        * configure: Regenerate.

gold/ChangeLog:
2016-11-22  Ambrogino Modigliani  <ambrogino.modigliani@gmail.com>

        * configure: Regenerate.

gprof/ChangeLog:
2016-11-22  Ambrogino Modigliani  <ambrogino.modigliani@gmail.com>

        * configure: Regenerate.

ld/ChangeLog:
2016-11-22  Ambrogino Modigliani  <ambrogino.modigliani@gmail.com>

        * configure: Regenerate.

opcodes/ChangeLog:
2016-11-22  Ambrogino Modigliani  <ambrogino.modigliani@gmail.com>

        * configure: Regenerate.
---
 bfd/ChangeLog      | 6 ++++++
 binutils/ChangeLog | 4 ++++
 gas/ChangeLog      | 4 ++++
 gdb/ChangeLog      | 5 +++++
 gold/ChangeLog     | 4 ++++
 gprof/ChangeLog    | 4 ++++
 ld/ChangeLog       | 4 ++++
 opcodes/ChangeLog  | 4 ++++
 bfd/configure      | 4 ++--
 bfd/configure.ac   | 2 +-
 bfd/warning.m4     | 2 +-
 binutils/configure | 2 +-
 gas/configure      | 2 +-
 gdb/configure      | 2 +-
 gdb/configure.ac   | 2 +-
 gold/configure     | 2 +-
 gprof/configure    | 2 +-
 ld/configure       | 2 +-
 opcodes/configure  | 2 +-
 19 files changed, 47 insertions(+), 12 deletions(-)

diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index ebf8279..93d39df 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,9 @@
+2016-11-22  Ambrogino Modigliani  <ambrogino.modigliani@gmail.com>
+
+        * warning.m4: Fix spelling in comments.
+        * configure.ac: Fix spelling in comments.
+        * configure: Regenerate.
+
 2016-11-22  Alan Modra  <amodra@gmail.com>
 
 	PR 20744
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index ef923cb..0f3d167 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,7 @@
+2016-11-22  Ambrogino Modigliani  <ambrogino.modigliani@gmail.com>
+
+        * configure: Regenerate.
+
 2016-11-22  Alan Modra  <amodra@gmail.com>
 
 	PR 20744
diff --git a/gas/ChangeLog b/gas/ChangeLog
index b2f6040..33b59d0 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,7 @@
+2016-11-22  Ambrogino Modigliani  <ambrogino.modigliani@gmail.com>
+
+        * configure: Regenerate.
+
 2016-11-22  Jose E. Marchesi  <jose.marchesi@oracle.com>
 
 	* config/tc-sparc.c: Move HWS_* and HWS2_* definitions to
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 9749031..3257bae 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2016-11-22  Ambrogino Modigliani  <ambrogino.modigliani@gmail.com>
+
+        * configure.ac: Fix spelling in comments.
+        * configure: Regenerate.
+
 2016-11-22  Yao Qi  <yao.qi@linaro.org>
 
 	* gdbarch.sh (software_single_step): Change parameter from frame_info
diff --git a/gold/ChangeLog b/gold/ChangeLog
index 63476cd..749ffdd 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,3 +1,7 @@
+2016-11-22  Ambrogino Modigliani  <ambrogino.modigliani@gmail.com>
+
+        * configure: Regenerate.
+
 2016-11-21  Cary Coutant  <ccoutant@gmail.com>
 
 	PR gold/20693
diff --git a/gprof/ChangeLog b/gprof/ChangeLog
index 52637ec..9079a4b 100644
--- a/gprof/ChangeLog
+++ b/gprof/ChangeLog
@@ -1,3 +1,7 @@
+2016-11-22  Ambrogino Modigliani  <ambrogino.modigliani@gmail.com>
+
+        * configure: Regenerate.
+
 2016-10-06  Tom Tromey  <tromey@sourceware.org>
 
 	PR gprof/20656
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 00b7ca9..1f4814d 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,7 @@
+2016-11-22  Ambrogino Modigliani  <ambrogino.modigliani@gmail.com>
+
+        * configure: Regenerate.
+
 2016-11-22  Alan Modra  <amodra@gmail.com>
 
 	PR 20744
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 834750f..a839a68 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,7 @@
+2016-11-22  Ambrogino Modigliani  <ambrogino.modigliani@gmail.com>
+
+        * configure: Regenerate.
+
 2016-11-22  Jose E. Marchesi  <jose.marchesi@oracle.com>
 
 	* sparc-opc.c (HWS_V8): Definition moved from
diff --git a/bfd/configure b/bfd/configure
index 68db12f..ab239fe 100755
--- a/bfd/configure
+++ b/bfd/configure
@@ -12291,7 +12291,7 @@ fi
 rm -f conftest*
 
 
-# Verify CC_FOR_BUILD to be compatible with waring flags
+# Verify CC_FOR_BUILD to be compatible with warning flags
 
 # Add -Wshadow if the compiler is a sufficiently recent version of GCC.
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -15805,7 +15805,7 @@ fi
 
 
 
-# Determine the host dependant file_ptr a.k.a. off_t type.  In order
+# Determine the host dependent file_ptr a.k.a. off_t type.  In order
 # prefer: off64_t - if ftello64 and fseeko64, off_t - if ftello and
 # fseeko, long.  This assumes that sizeof off_t is .ge. sizeof long.
 # Hopefully a reasonable assumption since fseeko et.al. should be
diff --git a/bfd/configure.ac b/bfd/configure.ac
index 6f11d29..3254dae 100644
--- a/bfd/configure.ac
+++ b/bfd/configure.ac
@@ -1156,7 +1156,7 @@ fi
 AC_SUBST(supports_plugins)
 AC_SUBST(lt_cv_dlopen_libs)
 
-# Determine the host dependant file_ptr a.k.a. off_t type.  In order
+# Determine the host dependent file_ptr a.k.a. off_t type.  In order
 # prefer: off64_t - if ftello64 and fseeko64, off_t - if ftello and
 # fseeko, long.  This assumes that sizeof off_t is .ge. sizeof long.
 # Hopefully a reasonable assumption since fseeko et.al. should be
diff --git a/bfd/warning.m4 b/bfd/warning.m4
index 3fe4340..1022364 100644
--- a/bfd/warning.m4
+++ b/bfd/warning.m4
@@ -56,7 +56,7 @@ AC_EGREP_CPP([^[0-4]$],[__GNUC__],,GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wstack-usa
 WARN_WRITE_STRINGS=""
 AC_EGREP_CPP([^[0-3]$],[__GNUC__],,WARN_WRITE_STRINGS="-Wwrite-strings")
 
-# Verify CC_FOR_BUILD to be compatible with waring flags
+# Verify CC_FOR_BUILD to be compatible with warning flags
 
 # Add -Wshadow if the compiler is a sufficiently recent version of GCC.
 AC_EGREP_CPP_FOR_BUILD([^[0-3]$],[__GNUC__],,GCC_WARN_CFLAGS_FOR_BUILD="$GCC_WARN_CFLAGS_FOR_BUILD -Wshadow")
diff --git a/binutils/configure b/binutils/configure
index 610d07e..fe314e4 100755
--- a/binutils/configure
+++ b/binutils/configure
@@ -11996,7 +11996,7 @@ fi
 rm -f conftest*
 
 
-# Verify CC_FOR_BUILD to be compatible with waring flags
+# Verify CC_FOR_BUILD to be compatible with warning flags
 
 # Add -Wshadow if the compiler is a sufficiently recent version of GCC.
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
diff --git a/gas/configure b/gas/configure
index dbd986a..98da0db 100755
--- a/gas/configure
+++ b/gas/configure
@@ -11803,7 +11803,7 @@ fi
 rm -f conftest*
 
 
-# Verify CC_FOR_BUILD to be compatible with waring flags
+# Verify CC_FOR_BUILD to be compatible with warning flags
 
 # Add -Wshadow if the compiler is a sufficiently recent version of GCC.
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
diff --git a/gdb/configure b/gdb/configure
index 2abfbff..6df88d9 100755
--- a/gdb/configure
+++ b/gdb/configure
@@ -8855,7 +8855,7 @@ fi
 
 # Since GDB uses Readline, we need termcap functionality.  In many
 # cases this will be provided by the curses library, but some systems
-# have a seperate termcap library, or no curses library at all.
+# have a separate termcap library, or no curses library at all.
 
 case $host_os in
   cygwin*)
diff --git a/gdb/configure.ac b/gdb/configure.ac
index 585f147..4b931bf 100644
--- a/gdb/configure.ac
+++ b/gdb/configure.ac
@@ -597,7 +597,7 @@ fi
 
 # Since GDB uses Readline, we need termcap functionality.  In many
 # cases this will be provided by the curses library, but some systems
-# have a seperate termcap library, or no curses library at all.
+# have a separate termcap library, or no curses library at all.
 
 case $host_os in
   cygwin*)
diff --git a/gold/configure b/gold/configure
index a3ed5c9..cb020be 100755
--- a/gold/configure
+++ b/gold/configure
@@ -6774,7 +6774,7 @@ fi
 rm -f conftest*
 
 
-# Verify CC_FOR_BUILD to be compatible with waring flags
+# Verify CC_FOR_BUILD to be compatible with warning flags
 
 # Add -Wshadow if the compiler is a sufficiently recent version of GCC.
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
diff --git a/gprof/configure b/gprof/configure
index 97363ee..0d5f8a2 100755
--- a/gprof/configure
+++ b/gprof/configure
@@ -12152,7 +12152,7 @@ fi
 rm -f conftest*
 
 
-# Verify CC_FOR_BUILD to be compatible with waring flags
+# Verify CC_FOR_BUILD to be compatible with warning flags
 
 # Add -Wshadow if the compiler is a sufficiently recent version of GCC.
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
diff --git a/ld/configure b/ld/configure
index 3f82f35..e6bed08 100755
--- a/ld/configure
+++ b/ld/configure
@@ -15609,7 +15609,7 @@ fi
 rm -f conftest*
 
 
-# Verify CC_FOR_BUILD to be compatible with waring flags
+# Verify CC_FOR_BUILD to be compatible with warning flags
 
 # Add -Wshadow if the compiler is a sufficiently recent version of GCC.
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
diff --git a/opcodes/configure b/opcodes/configure
index 6ef3844..0e1dd18 100755
--- a/opcodes/configure
+++ b/opcodes/configure
@@ -11559,7 +11559,7 @@ fi
 rm -f conftest*
 
 
-# Verify CC_FOR_BUILD to be compatible with waring flags
+# Verify CC_FOR_BUILD to be compatible with warning flags
 
 # Add -Wshadow if the compiler is a sufficiently recent version of GCC.
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-- 
2.5.5



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]