From 2205fc6529f93237b1ea79d8d321a110e56d45ed Mon Sep 17 00:00:00 2001 From: Ralf Wildenhues Date: Sun, 5 Oct 2008 21:15:25 +0200 Subject: [PATCH] Fix some comment typos. * automake.in: Fix some comment typos. * lib/Automake/Condition.pm: Likewise. * lib/Automake/DisjConditions.pm: Likewise. * lib/Automake/Variable.pm: Likewise. * lib/Automake/tests/DisjConditions.pl: Likewise. Signed-off-by: Ralf Wildenhues --- ChangeLog | 9 +++++++++ automake.in | 4 ++-- lib/Automake/Condition.pm | 5 +++-- lib/Automake/DisjConditions.pm | 4 ++-- lib/Automake/Variable.pm | 4 ++-- lib/Automake/tests/DisjConditions.pl | 4 ++-- 6 files changed, 20 insertions(+), 10 deletions(-) diff --git a/ChangeLog b/ChangeLog index 20b76c699..55614d05e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2008-10-05 Ralf Wildenhues + + Fix some comment typos. + * automake.in: Fix some comment typos. + * lib/Automake/Condition.pm: Likewise. + * lib/Automake/DisjConditions.pm: Likewise. + * lib/Automake/Variable.pm: Likewise. + * lib/Automake/tests/DisjConditions.pl: Likewise. + 2008-09-22 Ralf Wildenhues * tests/aclibobj.test: Fix race condition. diff --git a/automake.in b/automake.in index 796f17d83..4e5348478 100755 --- a/automake.in +++ b/automake.in @@ -6004,7 +6004,7 @@ sub cond_stack_endif ($$$) # &define_pretty_variable ($VAR, $COND, $WHERE, @VALUE) # ----------------------------------------------------- # Like define_variable, but the value is a list, and the variable may -# be defined conditionally. The second argument is the Condition +# be defined conditionally. The second argument is the condition # under which the value should be defined; this should be the empty # string to define the variable unconditionally. The third argument # is a list holding the values to use for the variable. The value is @@ -7130,7 +7130,7 @@ sub am_install_var # Use the location of the currently processed variable as context. $where->push_context ("while processing `$one_name'"); - # The variable containing all file to distribute. + # The variable containing all files to distribute. my $distvar = "\$($one_name)"; $distvar = shadow_unconditionally ($one_name, $where) if ($dist_p && $one_var->has_conditional_contents); diff --git a/lib/Automake/Condition.pm b/lib/Automake/Condition.pm index fc90df439..129fc9854 100644 --- a/lib/Automake/Condition.pm +++ b/lib/Automake/Condition.pm @@ -1,4 +1,5 @@ -# Copyright (C) 1997, 2001, 2002, 2003, 2006 Free Software Foundation, Inc. +# Copyright (C) 1997, 2001, 2002, 2003, 2006, 2008 Free Software +# Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -272,7 +273,7 @@ sub conds ($ ) return sort @conds; } -# Undocumented, shouldn't be needed out of this class. +# Undocumented, shouldn't be needed outside of this class. sub has ($$) { my ($self, $cond) = @_; diff --git a/lib/Automake/DisjConditions.pm b/lib/Automake/DisjConditions.pm index 89759dcd1..1f09c0fd4 100644 --- a/lib/Automake/DisjConditions.pm +++ b/lib/Automake/DisjConditions.pm @@ -110,7 +110,7 @@ follows. (COND1 and COND2) or ((not COND3) and COND4) -That's indeed the condition into which C has a value. +That's indeed the condition in which C has a value. Like C objects, a C object is unique with respect to its conditions. Two C objects created @@ -176,7 +176,7 @@ sub new ($;@) # Else, create a new DisjConditions. # Store conditions as keys AND as values, because blessed - # objects are converted to string when used as keys (so + # objects are converted to strings when used as keys (so # at least we still have the value when we need to call # a method). my %h = map {$_ => $_} @filtered_conds; diff --git a/lib/Automake/Variable.pm b/lib/Automake/Variable.pm index eaf245b5c..e67d215c9 100644 --- a/lib/Automake/Variable.pm +++ b/lib/Automake/Variable.pm @@ -1,4 +1,4 @@ -# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc. +# Copyright (C) 2003, 2004, 2005, 2006, 2008 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -1267,7 +1267,7 @@ following arguments: during recursion If C is set, variable references occurring in filename -(as in C<$(BASE).ext>) are expansed before the filename is passed to +(as in C<$(BASE).ext>) are expanded before the filename is passed to C<&fun_item>. If C is set, Autoconf @substitutions@ will be skipped, diff --git a/lib/Automake/tests/DisjConditions.pl b/lib/Automake/tests/DisjConditions.pl index 8ce6b7b2f..6e186836b 100644 --- a/lib/Automake/tests/DisjConditions.pl +++ b/lib/Automake/tests/DisjConditions.pl @@ -1,4 +1,4 @@ -# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc. +# Copyright (C) 2001, 2002, 2003, 2008 Free Software Foundation, Inc. # # This file is part of GNU Automake. # @@ -235,7 +235,7 @@ sub test_simplify () return 1; } - # Also exercize invert() while we are at it. + # Also exercise invert() while we are at it. my $inv1 = $set->invert->simplify; my $inv2 = $sim->invert->simplify; -- 2.47.2