[Asterisk-code-review] menuselect: Spelling fixes (asterisk[16])

Joshua Colp asteriskteam at digium.com
Tue Nov 16 05:36:13 CST 2021


Joshua Colp has submitted this change. ( https://gerrit.asterisk.org/c/asterisk/+/17450 )

Change subject: menuselect: Spelling fixes
......................................................................

menuselect: Spelling fixes

Correct typos of the following word families:

dependency
unless
random
dependencies
delimited
randomly
modules

ASTERISK-29714

Change-Id: I3920603a8dc7c0a1852d2f885e06b1144692d40e
---
M menuselect/README
M menuselect/contrib/menuselect-dummy
2 files changed, 11 insertions(+), 11 deletions(-)

Approvals:
  George Joseph: Looks good to me, approved
  Joshua Colp: Approved for Submit



diff --git a/menuselect/README b/menuselect/README
index 37b0e19..3114e08 100644
--- a/menuselect/README
+++ b/menuselect/README
@@ -148,7 +148,7 @@
    when the cursor is on it in the menu.
 
    remove_on_change="apps/app_meetme.o apps/app_meetme.so"
-   This attribute can contain a space delimeted list of files to be deleted
+   This attribute can contain a space delimited list of files to be deleted
    when it is time to build an output file if the value of this member has
    changed from its value in any existing input when the application was
    started.
diff --git a/menuselect/contrib/menuselect-dummy b/menuselect/contrib/menuselect-dummy
index 4c3952e..cc47f9b 100755
--- a/menuselect/contrib/menuselect-dummy
+++ b/menuselect/contrib/menuselect-dummy
@@ -65,7 +65,7 @@
 use strict;
 use Getopt::Long;
 
-# Holds global dependncy information. Keys are module names.
+# Holds global dependency information. Keys are module names.
 my %ModInfo = ();
 
 # extract configuration from kernel modules:
@@ -79,8 +79,8 @@
 
 my $DumpFile = 'build_tools/dump_deps';
 
-# Modules removed randomely:
-my $RandomeModsFile = "build_tools/mods_removed_random";
+# Modules removed randomly:
+my $RandomModsFile = "build_tools/mods_removed_random";
 
 my $MakedepsFile = "menuselect.makedeps";
 
@@ -99,7 +99,7 @@
 # Do try building those. Overrides 'exclude' and 'defaultenable: no'
 my @IncludedModules = ();
 
-# A chance to rule-out a module randomely.
+# A chance to rule-out a module randomly.
 my $RandomKnockoutFactor = 0;
 
 sub warning($) {
@@ -354,9 +354,9 @@
 }
 
 # generate menuselect.makedeps.
-# In this file menuselect writes dependecies of each module. CFLAGS will
+# In this file menuselect writes dependencies of each module. CFLAGS will
 # then automatically include for each module the _INCLUDE and LDFLAGS
-# will include the _LIBS from all the depedencies of the module.
+# will include the _LIBS from all the dependencies of the module.
 sub gen_makedeps() {
 	open MAKEDEPSS, ">$MakedepsFile" or
 		die "Failed to open deps file $MakedepsFile for writing. Aborting: $!\n";
@@ -409,8 +409,8 @@
 sub apply_random_drop() {
 	return if ($RandomKnockoutFactor <= 0);
 
-	open MODS_LIST, ">$RandomeModsFile" or
-		die "Failed to open modules list file $RandomeModsFile for writing. Aborting: $!\n";
+	open MODS_LIST, ">$RandomModsFile" or
+		die "Failed to open modules list file $RandomModsFile for writing. Aborting: $!\n";
 	for my $mod (keys %ModInfo) {
 		next unless ($ModInfo{$mod}{Type} eq 'module');
 		next unless (rand() < $RandomKnockoutFactor);
@@ -531,7 +531,7 @@
 
 # generate menuselect.makeopts.
 # The values in this file obey to different semantics:
-# 1. For modules, a module will be built unles listed here
+# 1. For modules, a module will be built unless listed here
 # 2. For XML values (sounds, CFLAGS) it will be enabled if listed here
 sub gen_makeopts() {
 	open MAKEDEPS, ">$MakeoptsFile" or
@@ -703,7 +703,7 @@
 	print "\n";
 	print "Usage:\n";
 	print "$0  # menuselect processing\n";
-	print "$0 -m|--modinfo|--moduls-info PATTERN # Status of modules\n";
+	print "$0 -m|--modinfo|--modules-info PATTERN # Status of modules\n";
 	print "$0 -v|--verbose                       # verbose (modinfo)\n";
 	print "$0 -c|--check-deps                    # Check for dependencies\n";
 	print "\n";

-- 
To view, visit https://gerrit.asterisk.org/c/asterisk/+/17450
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 16
Gerrit-Change-Id: I3920603a8dc7c0a1852d2f885e06b1144692d40e
Gerrit-Change-Number: 17450
Gerrit-PatchSet: 2
Gerrit-Owner: Josh Soref <jsoref at gmail.com>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Joshua Colp <jcolp at sangoma.com>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20211116/c4160c5a/attachment.html>


More information about the asterisk-code-review mailing list