]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
syntax-check: fix violations and re-enable sc_prohibit_doubled_word.
authorGary V. Vaughan <gary@gnu.org>
Mon, 24 Oct 2011 11:24:11 +0000 (18:24 +0700)
committerGary V. Vaughan <gary@gnu.org>
Thu, 17 Nov 2011 12:20:28 +0000 (19:20 +0700)
* cfg.mk (local-checks-to-fix): Remove sc_prohibit_doubled_word
from list of disabled checks.
* build-aux/general.m4sh (func_quote_for_eval): Remove one of a
 pair of "and"s in a comment.
* tests/lt_dladvise.at (hint_global): Remove one of a pair of
consecutive "to"s split across lines in a comment.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
build-aux/general.m4sh
cfg.mk
tests/lt_dladvise.at

index b6e3d419333e0829cf403900a58038c5ad4e6c69..34940f7a8994566686861ec20ecc4abf6c79c528 100644 (file)
@@ -513,8 +513,8 @@ func_quote_for_eval ()
 
     case $func_quote_for_eval_unquoted_result in
       # Double-quote args containing shell metacharacters to delay
-      # word splitting, command substitution and and variable
-      # expansion for a subsequent eval.
+      # word splitting, command substitution and variable expansion
+      # for a subsequent eval.
       # Many Bourne shells cannot handle close brackets correctly
       # in scan sets, so we specify it separately.
       *[\@<:@\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*@:>@*|"")
diff --git a/cfg.mk b/cfg.mk
index f549ba3d4dc4cc8a41250fed4720468740e4fc40..e2568ee1f6d798b7a84a518ddf21ee5e43c1d2a2 100644 (file)
--- a/cfg.mk
+++ b/cfg.mk
@@ -40,7 +40,6 @@ VC_LIST_ALWAYS_EXCLUDE_REGEX = ^mail/
 local-checks-to-fix =                          \
        sc_prohibit_always-defined_macros       \
        sc_prohibit_always_true_header_tests    \
-       sc_prohibit_doubled_word                \
        sc_prohibit_empty_lines_at_EOF          \
        sc_prohibit_have_config_h               \
        sc_prohibit_magic_number_exit           \
index 18c2104f09ef922414e357bb1f6fe7b5ef007605..5ae9fbd990373637cdc5c6393c56313e45d48ab4 100644 (file)
@@ -174,7 +174,7 @@ hint_global (void)
 
       /* Don't attempt to load moddepend unless modglobal was successfully
          loaded and the symglobal hint was taken, and the system allows to
-        to have undefined symbols.  */
+        have undefined symbols.  */
       if (info && info->is_symglobal && HAVE_UNDEFINED_SYMBOLS)
         {
           hint_ext ();