Mercurial > hg > octave-nkf > gnulib-hg
changeset 16887:80e017adf024
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.
author | Jim Meyering <meyering@redhat.com> |
---|---|
date | Tue, 29 May 2012 13:45:10 +0200 |
parents | 360d4007c14f |
children | 6d8cc1b5db33 |
files | ChangeLog doc/solaris-versions lib/regexec.c m4/mmap-anon.m4 |
diffstat | 4 files changed, 26 insertions(+), 14 deletions(-) [+] |
line wrap: on
line diff
--- 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 @@ -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 <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> @@ -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 <gary@gnu.org> @@ -59373,7 +59385,7 @@ 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> @@ -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
--- a/doc/solaris-versions +++ b/doc/solaris-versions @@ -22,7 +22,7 @@ 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
--- a/lib/regexec.c +++ b/lib/regexec.c @@ -473,7 +473,7 @@ 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)
--- a/m4/mmap-anon.m4 +++ b/m4/mmap-anon.m4 @@ -27,18 +27,18 @@ 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 - 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 <sys/mman.h> #ifdef MAP_ANON - I cant identify this map + I cannot identify this map #endif ], [AC_DEFINE([MAP_ANONYMOUS], [MAP_ANON],