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

Joshua Colp asteriskteam at digium.com
Tue Nov 16 05:39:57 CST 2021


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

Change subject: utils: Spelling fixes
......................................................................

utils: Spelling fixes

Correct typos of the following word families:

command-line
immediately
extensions
momentarily
mustn't
numbered
bytes
caching

ASTERISK-29714

Change-Id: I8b2b125c5d4d2f9e87a58515c97468ad47ca44f8
---
M utils/astman.1
M utils/db1-ast/hash/README
M utils/db1-ast/hash/hash.h
M utils/db1-ast/mpool/mpool.c
M utils/extconf.c
M utils/frame.c
M utils/frame.h
7 files changed, 9 insertions(+), 9 deletions(-)

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



diff --git a/utils/astman.1 b/utils/astman.1
index 3ce46c9..dd1539d 100644
--- a/utils/astman.1
+++ b/utils/astman.1
@@ -69,7 +69,7 @@
 .B hostname
 
 The host name or IP address to connect to (TCP port 5038). If astman
-fails to connect it will exit immidiately.
+fails to connect it will exit immediately.
 
 .SH USAGE
 If \fBastman\fR has successfully cunnected to the manager port it will
diff --git a/utils/db1-ast/hash/README b/utils/db1-ast/hash/README
index 321de7d..8104318 100644
--- a/utils/db1-ast/hash/README
+++ b/utils/db1-ast/hash/README
@@ -34,7 +34,7 @@
 		to standard out.
 	tread2.c
 		Takes
-			butes of cache (ncached).
+			bytes of cache (ncached).
 		Reads key/data pairs from standard in and looks them up
 		in the file hashtest.
 	tverify.c
diff --git a/utils/db1-ast/hash/hash.h b/utils/db1-ast/hash/hash.h
index d07db6f..5a22bb1 100644
--- a/utils/db1-ast/hash/hash.h
+++ b/utils/db1-ast/hash/hash.h
@@ -160,7 +160,7 @@
  * the table, we can allocate extra pages.  So, an overflow page number has
  * the top 5 bits indicate which split point and the lower 11 bits indicate
  * which page at that split point is indicated (pages within split points are
- * numberered starting with 1).
+ * numbered starting with 1).
  */
 
 #define SPLITSHIFT	11
diff --git a/utils/db1-ast/mpool/mpool.c b/utils/db1-ast/mpool/mpool.c
index f095b27..9312d40 100644
--- a/utils/db1-ast/mpool/mpool.c
+++ b/utils/db1-ast/mpool/mpool.c
@@ -463,7 +463,7 @@
 
 	(void)fprintf(stderr, "%lu pages in the file\n", mp->npages);
 	(void)fprintf(stderr,
-	    "page size %lu, cacheing %lu pages of %lu page max cache\n",
+	    "page size %lu, caching %lu pages of %lu page max cache\n",
 	    mp->pagesize, mp->curcache, mp->maxcache);
 	(void)fprintf(stderr, "%lu page puts, %lu page gets, %lu page new\n",
 	    mp->pageput, mp->pageget, mp->pagenew);
diff --git a/utils/extconf.c b/utils/extconf.c
index 2da33a8..e30015a 100644
--- a/utils/extconf.c
+++ b/utils/extconf.c
@@ -19,7 +19,7 @@
 
 /*!
  * \file
- * A condensation of the pbx_config stuff, to read into exensions.conf, and provide an interface to the data there,
+ * A condensation of the pbx_config stuff, to read into extensions.conf, and provide an interface to the data there,
  * for operations outside of asterisk. A huge, awful hack.
  *
  */
diff --git a/utils/frame.c b/utils/frame.c
index 97b9596..136cf82 100644
--- a/utils/frame.c
+++ b/utils/frame.c
@@ -314,7 +314,7 @@
 
 /* --------------------------------------------------------------------
    Tests the character 'coal' for being a command line option character,
-   momentarrily '-'.
+   momentarily '-'.
    -------------------------------------------------------------------- */
 int isoptionchar (char coal)
 {
@@ -885,7 +885,7 @@
 	 /* Problem: what about i/o-file, 32? You might want a header
 	    on that? Better ignore this case. */
 	 break;
-       case 8:    /* An application musn't ask for this */
+       case 8:    /* An application mustn't ask for this */
        default:   /* This can't happen */
 	 assert( FALSE);
        }
diff --git a/utils/frame.h b/utils/frame.h
index 4bbc219..a19b2c9 100644
--- a/utils/frame.h
+++ b/utils/frame.h
@@ -121,7 +121,7 @@
 
 /* --------------------------------------------------------------------
    Tests the character 'coal' for being a command line option character,
-   momentarrily '/' or '-'.
+   momentarily '/' or '-'.
    -------------------------------------------------------------------- */
 extern int isoptionchar (char coal);
 
@@ -175,7 +175,7 @@
    that does not start with the optionchar. The filename is copied to
    newly allocated memory, a pointer to which is returned.
    The argument is marked as used. Therefore repeated use of this function
-   will yield a complete list of filenames on the commandline.
+   will yield a complete list of filenames on the command-line.
    If malloc() fails, the function does not return.
    -------------------------------------------------------------------- */
 extern char *parsefilearg( int argcount, char *args[]);

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

Gerrit-Project: asterisk
Gerrit-Branch: 16
Gerrit-Change-Id: I8b2b125c5d4d2f9e87a58515c97468ad47ca44f8
Gerrit-Change-Number: 17453
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/9ac75489/attachment-0001.html>


More information about the asterisk-code-review mailing list