]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
utils: Spelling fixes
authorJosh Soref <jsoref@users.noreply.github.com>
Sun, 31 Oct 2021 01:04:32 +0000 (21:04 -0400)
committerFriendly Automation <jenkins2@gerrit.asterisk.org>
Tue, 16 Nov 2021 12:34:09 +0000 (06:34 -0600)
Correct typos of the following word families:

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

ASTERISK-29714

Change-Id: I8b2b125c5d4d2f9e87a58515c97468ad47ca44f8

utils/astman.1
utils/db1-ast/hash/README
utils/db1-ast/hash/hash.h
utils/db1-ast/mpool/mpool.c
utils/extconf.c
utils/frame.c
utils/frame.h

index 3ce46c9bea3bc88e4cf7fbbb48b523fc7b201f5e..dd1539d476245bbfd362fa3bad6d677adfac8c5b 100644 (file)
@@ -69,7 +69,7 @@ interface.
 .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
index 321de7d5dae7171f51305719518a5f5e6d9104b4..8104318737fe8615a35e4a4b8aec194e0def14b5 100644 (file)
@@ -34,7 +34,7 @@ Test Programs:
                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
index d07db6f071ba6ee4deb5852413eca7eaa6d2eaae..5a22bb16dff00619569ec524583496d988dbce0a 100644 (file)
@@ -160,7 +160,7 @@ typedef struct htab  {              /* Memory resident data structure */
  * 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
index f095b27f5a030dfdea6b8b84d43dec9d8b363ee5..9312d408502389578dd29c093ad72309c7ab0abe 100644 (file)
@@ -463,7 +463,7 @@ mpool_stat(mp)
 
        (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);
index 2da33a82f0ae30246155883c160c80032306e670..e30015acf40e78ef724f91a7edf5516e0682d0cf 100644 (file)
@@ -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.
  *
  */
index 97b9596617bf39d402dc21482fdc76e33311b62e..136cf8255012127795186bc5a0af37fd2d2401fd 100644 (file)
@@ -314,7 +314,7 @@ void startstopwatch(void)
 
 /* --------------------------------------------------------------------
    Tests the character 'coal' for being a command line option character,
-   momentarrily '-'.
+   momentarily '-'.
    -------------------------------------------------------------------- */
 int isoptionchar (char coal)
 {
@@ -885,7 +885,7 @@ void parseargs( int argcount, char *args[], int fileswitch)
         /* 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);
        }
index 4bbc2199b030b9224a9eecd193c1bda1dd2cbfaf..a19b2c9600f4d13735d2c29615f8e2ddd70abab1 100644 (file)
@@ -121,7 +121,7 @@ extern void makewavheader( void);
 
 /* --------------------------------------------------------------------
    Tests the character 'coal' for being a command line option character,
-   momentarrily '/' or '-'.
+   momentarily '/' or '-'.
    -------------------------------------------------------------------- */
 extern int isoptionchar (char coal);
 
@@ -175,7 +175,7 @@ extern int parseintarg( int argcount, char *args[], char *string,
    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[]);