From: Jim Meyering Date: Tue, 29 May 2012 11:45:10 +0000 (+0200) Subject: maint: fix typos in comments and ChangeLog X-Git-Tag: v0.1~639 X-Git-Url: http://erislabs.net/gitweb/?p=gnulib.git;a=commitdiff_plain;h=77cef2022004c4066e805da09a83b2c77f17bdd3 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. --- diff --git a/ChangeLog b/ChangeLog index 647c83239..1fb9e3e17 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,15 @@ +2012-05-29 Jim Meyering + + 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 manywarnings: remove duplicate -Wmultichar entry @@ -21590,7 +21602,7 @@ 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 @@ -26043,7 +26055,7 @@ * 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 @@ -39159,7 +39171,7 @@ 2009-11-14 John W. Eaton - 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 @@ -41906,7 +41918,7 @@ 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 @@ -46919,7 +46931,7 @@ 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 @@ -59373,7 +59385,7 @@ 2007-12-01 Eric Blake * 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 @@ -67350,7 +67362,7 @@ (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. @@ -83753,7 +83765,7 @@ (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 diff --git a/doc/solaris-versions b/doc/solaris-versions index 8fb3f2577..dd391b109 100644 --- a/doc/solaris-versions +++ b/doc/solaris-versions @@ -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 -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 diff --git a/lib/regexec.c b/lib/regexec.c index 92efb4427..7d130a0a0 100644 --- a/lib/regexec.c +++ b/lib/regexec.c @@ -473,7 +473,7 @@ re_search_stub (struct re_pattern_buffer *bufp, 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) diff --git a/m4/mmap-anon.m4 b/m4/mmap-anon.m4 index 4613cbe5b..579323f15 100644 --- a/m4/mmap-anon.m4 +++ b/m4/mmap-anon.m4 @@ -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]) - AC_EGREP_CPP([I cant identify this map], [ + AC_EGREP_CPP([I cannot identify this map], [ #include #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 - AC_EGREP_CPP([I cant identify this map], [ + AC_EGREP_CPP([I cannot identify this map], [ #include #ifdef MAP_ANON - I cant identify this map + I cannot identify this map #endif ], [AC_DEFINE([MAP_ANONYMOUS], [MAP_ANON],