maint: fix typos in comments and ChangeLog
authorJim Meyering <meyering@redhat.com>
Tue, 29 May 2012 11:45:10 +0000 (13:45 +0200)
committerJim Meyering <meyering@redhat.com>
Tue, 29 May 2012 11:45:10 +0000 (13:45 +0200)
Culprits identified and fixed mostly automatically using these commands:
git ls-files | misspellings -f - |grep -v '^ERROR:' |perl -pe \
's/^(.*?)\[(\d+)\]: (\w+) -> "(.*?)"$/sed -i '\''${2}s!$3!$4!'\'' $1/'
using http://github.com/lyda/misspell-check
* ChangeLog: Fix typos.
* doc/solaris-versions: Likewise.
* lib/regexec.c (re_search_stub): Likewise.
* m4/mmap-anon.m4 (gl_FUNC_MMAP_ANON): Likewise.

ChangeLog
doc/solaris-versions
lib/regexec.c
m4/mmap-anon.m4

index 647c832..1fb9e3e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+2012-05-29  Jim Meyering  <meyering@redhat.com>
+
+       maint: fix typos in comments and ChangeLog
+       Culprits identified and fixed mostly automatically using these commands:
+       git ls-files | misspellings -f - |grep -v '^ERROR:' |perl -pe \
+       's/^(.*?)\[(\d+)\]: (\w+) -> "(.*?)"$/sed -i '\''${2}s!$3!$4!'\'' $1/'
+       using http://github.com/lyda/misspell-check
+       * ChangeLog: Fix typos.
+       * doc/solaris-versions: Likewise.
+       * lib/regexec.c (re_search_stub): Likewise.
+       * m4/mmap-anon.m4 (gl_FUNC_MMAP_ANON): Likewise.
+
 2012-05-27  Paul Eggert  <eggert@cs.ucla.edu>
 
        manywarnings: remove duplicate -Wmultichar entry
 2012-05-27  Paul Eggert  <eggert@cs.ucla.edu>
 
        manywarnings: remove duplicate -Wmultichar entry
        behavior match Linux.
        * tests/test-c-stack.c (main): Prefer NULL for pointers.
 
        behavior match Linux.
        * tests/test-c-stack.c (main): Prefer NULL for pointers.
 
-       stdbool-tests: accomodate Haiku
+       stdbool-tests: accommodate Haiku
        * tests/test-stdbool.c: Haiku's gcc 2.95 lacks native _Bool.
 
        binary-io: fix O_TEXT on Haiku
        * tests/test-stdbool.c: Haiku's gcc 2.95 lacks native _Bool.
 
        binary-io: fix O_TEXT on Haiku
        * tests/test-sys_wait.c (main): Relax test.
        * tests/test-stdlib.c (main): Likewise.
 
        * tests/test-sys_wait.c (main): Relax test.
        * tests/test-stdlib.c (main): Likewise.
 
-       init.sh: accomodate directory with no .exes
+       init.sh: accommodate directory with no .exes
        * tests/init.sh: Accomodate directory containing only scripts.
 
        tests: avoid compiler warning
        * tests/init.sh: Accomodate directory containing only scripts.
 
        tests: avoid compiler warning
 
 2009-11-14  John W. Eaton  <jwe@gnu.org>
 
 
 2009-11-14  John W. Eaton  <jwe@gnu.org>
 
-       strftime.h: wrap funtion declaration in extern "C" block
+       strftime.h: wrap function declaration in extern "C" block
        * lib/strftime.h (nstrftime) [__cplusplus]: Wrap declaration.
 
 2009-11-13  Eric Blake  <ebb9@byu.net>
        * lib/strftime.h (nstrftime) [__cplusplus]: Wrap declaration.
 
 2009-11-13  Eric Blake  <ebb9@byu.net>
        reversed sense of yes and no in prior patch.  Avoid confusing
        compilation failure with desired semantics.
 
        reversed sense of yes and no in prior patch.  Avoid confusing
        compilation failure with desired semantics.
 
-       link-follow: accomodate mingw and cross-compilation
+       link-follow: accommodate mingw and cross-compilation
        * m4/link-follow.m4 (gl_AC_FUNC_LINK_FOLLOWS_SYMLINK): Rename...
        (gl_FUNC_LINK_FOLLOWS_SYMLINK): ...to this.  Change
        cross-compilation results to -1, to make linkat easier to
        * m4/link-follow.m4 (gl_AC_FUNC_LINK_FOLLOWS_SYMLINK): Rename...
        (gl_FUNC_LINK_FOLLOWS_SYMLINK): ...to this.  Change
        cross-compilation results to -1, to make linkat easier to
 
        test-getaddrinfo: fix usage of skip return code 77
        * tests/test-gettaddrinfo.c: Return skip code 77 only
 
        test-getaddrinfo: fix usage of skip return code 77
        * tests/test-gettaddrinfo.c: Return skip code 77 only
-       for first occurance of skip (4x77 is not 77)
+       for first occurrence of skip (4x77 is not 77)
 
 2009-02-25  Gary V. Vaughan  <gary@gnu.org>
 
 
 2009-02-25  Gary V. Vaughan  <gary@gnu.org>
 
 2007-12-01  Eric Blake  <ebb9@byu.net>
 
        * m4/stdio_h.m4 (gl_STDIN_LARGE_OFFSET) [__CYGWIN__]: Rewrite to
 2007-12-01  Eric Blake  <ebb9@byu.net>
 
        * m4/stdio_h.m4 (gl_STDIN_LARGE_OFFSET) [__CYGWIN__]: Rewrite to
-       accomodate fix in cygwin 1.5.25.
+       accommodate fix in cygwin 1.5.25.
 
 2007-12-01  Jim Meyering  <meyering@redhat.com>
 
 
 2007-12-01  Jim Meyering  <meyering@redhat.com>
 
        (SIZE): New macro.
        (FUNC): Compare only SIZE bytes of the value.
        * lib/vasnprintf.c: Include float+.h.
        (SIZE): New macro.
        (FUNC): Compare only SIZE bytes of the value.
        * lib/vasnprintf.c: Include float+.h.
-       (VASNPRINTF): When comparing agains +0.0L or +0.0, compare only
+       (VASNPRINTF): When comparing against +0.0L or +0.0, compare only
        SIZEOF_LDBL or SIZEOF_DBL bytes.
        * modules/isnan-nolibm (Files): Add lib/float+.h.
        * modules/isnanl-nolibm (Files): Add lib/float+.h.
        SIZEOF_LDBL or SIZEOF_DBL bytes.
        * modules/isnan-nolibm (Files): Add lib/float+.h.
        * modules/isnanl-nolibm (Files): Add lib/float+.h.
        (local_zone): Accumulate dsts_seen rather than relying on tm_isdst
        not being INT_MAX.
        (get_date): Initialize dsts_seen, and check that it doesn't go over 1.
        (local_zone): Accumulate dsts_seen rather than relying on tm_isdst
        not being INT_MAX.
        (get_date): Initialize dsts_seen, and check that it doesn't go over 1.
-       Use pc_rels_seen to decide whther a date is absolute.
+       Use pc_rels_seen to decide whether a date is absolute.
 
        * lib/getdate.y (number): Don't overwrite year.
        (get_date): Initialize pc.year.digits to 0, not 4, to enable above
 
        * lib/getdate.y (number): Don't overwrite year.
        (get_date): Initialize pc.year.digits to 0, not 4, to enable above
index 8fb3f25..dd391b1 100644 (file)
@@ -22,7 +22,7 @@ Starting with 4.1.1B of SunOS we have the 'Solaris 1.0' release.
        SunOS 4.1.3_U1B == Solaris 1.1.1B
        SunOS 4.1.4     == Solaris 1.1.2
 
        SunOS 4.1.3_U1B == Solaris 1.1.1B
        SunOS 4.1.4     == Solaris 1.1.2
 
-The SunOS 5.x uname output maps to the Solaris 2.x numbers thru 2.6
+The SunOS 5.x uname output maps to the Solaris 2.x numbers through 2.6
 
        SunOS 5.0       == Solaris 2.0
        SunOS 5.1       == Solaris 2.1
 
        SunOS 5.0       == Solaris 2.0
        SunOS 5.1       == Solaris 2.1
index 92efb44..7d130a0 100644 (file)
@@ -473,7 +473,7 @@ re_search_stub (struct re_pattern_buffer *bufp,
 
   rval = 0;
 
 
   rval = 0;
 
-  /* I hope we needn't fill ther regs with -1's when no match was found.  */
+  /* I hope we needn't fill their regs with -1's when no match was found.  */
   if (result != REG_NOERROR)
     rval = result == REG_NOMATCH ? -1 : -2;
   else if (regs != NULL)
   if (result != REG_NOERROR)
     rval = result == REG_NOMATCH ? -1 : -2;
   else if (regs != NULL)
index 4613cbe..579323f 100644 (file)
@@ -27,18 +27,18 @@ AC_DEFUN([gl_FUNC_MMAP_ANON],
   gl_have_mmap_anonymous=no
   if test $gl_have_mmap = yes; then
     AC_MSG_CHECKING([for MAP_ANONYMOUS])
   gl_have_mmap_anonymous=no
   if test $gl_have_mmap = yes; then
     AC_MSG_CHECKING([for MAP_ANONYMOUS])
-    AC_EGREP_CPP([I cant identify this map], [
+    AC_EGREP_CPP([I cannot identify this map], [
 #include <sys/mman.h>
 #ifdef MAP_ANONYMOUS
 #include <sys/mman.h>
 #ifdef MAP_ANONYMOUS
-    I cant identify this map
+    I cannot identify this map
 #endif
 ],
       [gl_have_mmap_anonymous=yes])
     if test $gl_have_mmap_anonymous != yes; then
 #endif
 ],
       [gl_have_mmap_anonymous=yes])
     if test $gl_have_mmap_anonymous != yes; then
-      AC_EGREP_CPP([I cant identify this map], [
+      AC_EGREP_CPP([I cannot identify this map], [
 #include <sys/mman.h>
 #ifdef MAP_ANON
 #include <sys/mman.h>
 #ifdef MAP_ANON
-    I cant identify this map
+    I cannot identify this map
 #endif
 ],
         [AC_DEFINE([MAP_ANONYMOUS], [MAP_ANON],
 #endif
 ],
         [AC_DEFINE([MAP_ANONYMOUS], [MAP_ANON],