public inbox for libc-ports@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] Fix typos.
@ 2013-08-13  8:27 Ondřej Bílka
  2013-08-14 19:18 ` Roland McGrath
  2013-08-18 16:50 ` Ondřej Bílka
  0 siblings, 2 replies; 24+ messages in thread
From: Ondřej Bílka @ 2013-08-13  8:27 UTC (permalink / raw)
  To: libc-alpha, libc-ports

Hi,

This is one of things from my backlog until freeze ends. I wrote stylepp
to simplify refactoring to get around style issues. 

I also realized that a good spellchecker for comments is needed. I wrote
one that filters words that happen in code which identifies likely
typos. Then I looked througth that list (you can do same by running
stylepp_dictionary) and fixed most typos that I encountered.

As typical situation is that one typo is repeated 5 times I sorted patch
to simplify review. Splitting in other way than alphabetic would be
counterproductive as number of different typos would be routhly same,
only less duplicated.

OK to commit?


./nptl/Changelog:


	* cancellation.c: Fix typos.
	* descr.h: Likewise.
	* perf.c: Likewise.
	* pthread_cond_wait.c: Likewise.
	* pthread_getattr_np.c: Likewise.
	* pthread_getschedparam.c: Likewise.
	* pthread_once.c: Likewise.
	* pthreadP.h: Likewise.
	* pthread_rwlock_timedrdlock.c: Likewise.
	* pthread_rwlock_timedwrlock.c: Likewise.
	* sysdeps/pthread/pthread.h: Likewise.
	* sysdeps/pthread/timer_create.c: Likewise.
	* sysdeps/unix/sysv/linux/allocrtsig.c: Likewise.
	* sysdeps/unix/sysv/linux/bits/local_lim.h: Likewise.
	* sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
	* sysdeps/unix/sysv/linux/fork.c: Likewise.
	* sysdeps/unix/sysv/linux/i386/not-cancel.h: Likewise.
	* sysdeps/unix/sysv/linux/internaltypes.h: Likewise.
	* sysdeps/unix/sysv/linux/mq_notify.c: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Likewise.
	* sysdeps/unix/sysv/linux/register-atfork.c: Likewise.
	* sysdeps/unix/sysv/linux/sem_timedwait.c: Likewise.
	* sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
	* sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sem_wait.c: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Likewise.
	* sysdeps/unix/sysv/linux/x86/elision-trylock.c: Likewise.
	* sysdeps/unix/sysv/linux/x86/hle.h: Likewise.
	* tst-cancel11.c: Likewise.
	* tst-cancel12.c: Likewise.
	* tst-cancel13.c: Likewise.
	* tst-cancel14.c: Likewise.
	* tst-cancel15.c: Likewise.
	* tst-cancel25.c: Likewise.
	* tst-cancel4.c: Likewise.
	* tst-cancel9.c: Likewise.
	* tst-cancel-wrappers.sh: Likewise.
	* tst-cond22.c: Likewise.
	* tst-kill4.c: Likewise.

./nptl_db/Changelog:


	* td_log.c: Fix typos.
	* td_thr_get_info.c: Likewise.

./localedata/Changelog:


	* gen-unicode-ctype.c: Fix typos.
	* tests-mbwc/dat_mblen.c: Likewise.
	* tests-mbwc/dat_strcoll.c: Likewise.
	* tests-mbwc/dat_strxfrm.c: Likewise.
	* tests-mbwc/dat_wcscmp.c: Likewise.
	* tests-mbwc/dat_wcsncat.c: Likewise.
	* tests-mbwc/dat_wcsxfrm.c: Likewise.
	* tests/test6.c: Likewise.
	* tst-digits.c: Likewise.

./Changelog:


	* argp/argp.h: Fix typos.
	* argp/argp-help.c: Likewise.
	* argp/argp-parse.c: Likewise.
	* benchtests/bench-memcmp.c: Likewise.
	* benchtests/bench-skeleton.c: Likewise.
	* benchtests/bench-strcmp.c: Likewise.
	* bits/sigstack.h: Likewise.
	* catgets/gencat.c: Likewise.
	* crypt/crypt_util.c: Likewise.
	* crypt/speeds.c: Likewise.
	* csu/check_fds.c: Likewise.
	* csu/init-first.c: Likewise.
	* csu/libc-start.c: Likewise.
	* debug/backtracesyms.c: Likewise.
	* debug/pcprofile.c: Likewise.
	* elf/cache.c: Likewise.
	* elf/dl-dst.h: Likewise.
	* elf/dl-fptr.c: Likewise.
	* elf/dl-load.c: Likewise.
	* elf/dl-open.c: Likewise.
	* elf/dl-profile.c: Likewise.
	* elf/dl-support.c: Likewise.
	* elf/dl-sysdep.c: Likewise.
	* elf/dl-tls.c: Likewise.
	* elf/dl-version.c: Likewise.
	* elf/dynamic-link.h: Likewise.
	* elf/elf.h: Likewise.
	* elf/ldconfig.c: Likewise.
	* elf/reldep2.c: Likewise.
	* elf/reldep3.c: Likewise.
	* elf/reldep.c: Likewise.
	* elf/rtld.c: Likewise.
	* elf/sprof.c: Likewise.
	* gmon/mcount.c: Likewise.
	* grp/initgroups.c: Likewise.
	* hesiod/hesiod.c: Likewise.
	* hurd/fd-close.c: Likewise.
	* hurd/hurdsig.c: Likewise.
	* hurd/lookup-retry.c: Likewise.
	* hurd/thread-cancel.c: Likewise.
	* iconvdata/bug-iconv8.c: Likewise.
	* iconvdata/gbbig5.c: Likewise.
	* iconvdata/gbgbk.c: Likewise.
	* iconvdata/ibm1364.c: Likewise.
	* iconvdata/ibm930.c: Likewise.
	* iconvdata/ibm933.c: Likewise.
	* iconvdata/ibm935.c: Likewise.
	* iconvdata/ibm937.c: Likewise.
	* iconvdata/ibm939.c: Likewise.
	* iconvdata/iso-2022-cn.c: Likewise.
	* iconvdata/iso-2022-cn-ext.c: Likewise.
	* iconvdata/iso-2022-jp-3.c: Likewise.
	* iconvdata/iso-2022-jp.c: Likewise.
	* iconvdata/iso-2022-kr.c: Likewise.
	* iconvdata/iso646.c: Likewise.
	* iconvdata/jis0208.c: Likewise.
	* iconvdata/sjis.c: Likewise.
	* iconvdata/tst-table.sh: Likewise.
	* iconv/gconv_int.h: Likewise.
	* iconv/iconv_charmap.c: Likewise.
	* iconv/iconv_prog.c: Likewise.
	* iconv/iconv_prog.h: Likewise.
	* iconv/loop.c: Likewise.
	* iconv/skeleton.c: Likewise.
	* iconv/strtab.c: Likewise.
	* include/limits.h: Likewise.
	* include/unistd.h: Likewise.
	* inet/arpa/inet.h: Likewise.
	* inet/arpa/tftp.h: Likewise.
	* inet/netinet/igmp.h: Likewise.
	* inet/protocols/timed.h: Likewise.
	* io/lockf64.c: Likewise.
	* libio/fileops.c: Likewise.
	* libio/fmemopen.c: Likewise.
	* libio/genops.c: Likewise.
	* libio/ioftell.c: Likewise.
	* libio/libio.h: Likewise.
	* libio/libioP.h: Likewise.
	* locale/localeinfo.h: Likewise.
	* locale/programs/config.h: Likewise.
	* locale/programs/ld-collate.c: Likewise.
	* locale/programs/linereader.c: Likewise.
	* locale/programs/simple-hash.c: Likewise.
	* login/programs/utmpdump.c: Likewise.
	* malloc/malloc.c: Likewise.
	* malloc/mcheck.c: Likewise.
	* malloc/memusage.c: Likewise.
	* malloc/obstack.h: Likewise.
	* manual/charset.texi: Likewise.
	* manual/contrib.texi: Likewise.
	* manual/crypt.texi: Likewise.
	* manual/fdl-1.3.texi: Likewise.
	* manual/filesys.texi: Likewise.
	* manual/message.texi: Likewise.
	* manual/socket.texi: Likewise.
	* manual/string.texi: Likewise.
	* manual/sysinfo.texi: Likewise.
	* math/bits/mathcalls.h: Likewise.
	* math/e_exp10.c: Likewise.
	* math/e_exp10l.c: Likewise.
	* math/fenv.h: Likewise.
	* math/tgmath.h: Likewise.
	* misc/hsearch_r.c: Likewise.
	* misc/tst-tsearch.c: Likewise.
	* nis/nis_checkpoint.c: Likewise.
	* nis/nis_ismember.c: Likewise.
	* nis/nis_ping.c: Likewise.
	* nis/nis_print.c: Likewise.
	* nis/nss_compat/compat-grp.c: Likewise.
	* nis/nss_compat/compat-initgroups.c: Likewise.
	* nis/nss_compat/compat-pwd.c: Likewise.
	* nis/nss_compat/compat-spwd.c: Likewise.
	* nis/rpcsvc/nis.h: Likewise.
	* nis/rpcsvc/nis_tags.h: Likewise.
	* nis/rpcsvc/yp_prot.h: Likewise.
	* nscd/connections.c: Likewise.
	* nscd/hstcache.c: Likewise.
	* nscd/initgrcache.c: Likewise.
	* nscd/nscd-client.h: Likewise.
	* nscd/nscd_helper.c: Likewise.
	* nscd/nscd_setup_thread.c: Likewise.
	* nscd/nscd_stat.c: Likewise.
	* nss/nss_db/db-open.c: Likewise.
	* nss/nss_db/nss_db.h: Likewise.
	* nss/nsswitch.c: Likewise.
	* posix/fnmatch.c: Likewise.
	* posix/fnmatch_loop.c: Likewise.
	* posix/globtest.c: Likewise.
	* posix/regcomp.c: Likewise.
	* posix/regex.c: Likewise.
	* posix/regexec.c: Likewise.
	* posix/regex.h: Likewise.
	* posix/regex_internal.c: Likewise.
	* posix/tst-exec.c: Likewise.
	* posix/tst-spawn.c: Likewise.
	* posix/wordexp.c: Likewise.
	* resolv/gai_misc.c: Likewise.
	* resolv/gai_misc.h: Likewise.
	* resolv/gai_notify.c: Likewise.
	* resolv/gai_suspend.c: Likewise.
	* resolv/getaddrinfo_a.c: Likewise.
	* resolv/ns_name.c: Likewise.
	* resolv/ns_samedomain.c: Likewise.
	* resolv/res_comp.c: Likewise.
	* resolv/res_init.c: Likewise.
	* resolv/resolv.h: Likewise.
	* resolv/res_send.c: Likewise.
	* rt/aio.h: Likewise.
	* socket/sockatmark.c: Likewise.
	* socket/sys/socket.h: Likewise.
	* soft-fp/op-common.h: Likewise.
	* soft-fp/testit.c: Likewise.
	* stdio-common/printf_fp.c: Likewise.
	* stdio-common/printf_size.c: Likewise.
	* stdio-common/vfscanf.c: Likewise.
	* stdlib/lldiv.c: Likewise.
	* stdlib/random.c: Likewise.
	* stdlib/stdlib.h: Likewise.
	* stdlib/tst-random.c: Likewise.
	* streams/stropts.h: Likewise.
	* string/string.h: Likewise.
	* string/strings.h: Likewise.
	* string/strverscmp.c: Likewise.
	* string/test-memcmp.c: Likewise.
	* string/test-strcmp.c: Likewise.
	* sunrpc/clnt_tcp.c: Likewise.
	* sunrpc/clnt_udp.c: Likewise.
	* sunrpc/clnt_unix.c: Likewise.
	* sunrpc/rpc_cout.c: Likewise.
	* sunrpc/rpc_main.c: Likewise.
	* sunrpc/rpc_svcout.c: Likewise.
	* sunrpc/rpc_thread.c: Likewise.
	* sunrpc/rpc/xdr.h: Likewise.
	* sunrpc/svc_auth.c: Likewise.
	* sunrpc/xdr_rec.c: Likewise.
	* sunrpc/xdr_ref.c: Likewise.
	* sysdeps/generic/dl-librecon.h: Likewise.
	* sysdeps/generic/inttypes.h: Likewise.
	* sysdeps/generic/ldsodefs.h: Likewise.
	* sysdeps/generic/netinet/tcp.h: Likewise.
	* sysdeps/generic/not-cancel.h: Likewise.
	* sysdeps/generic/pty-private.h: Likewise.
	* sysdeps/generic/unwind-dw2-fde-glibc.c: Likewise.
	* sysdeps/gnu/netinet/tcp.h: Likewise.
	* sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
	* sysdeps/i386/i386-mcount.S: Likewise.
	* sysdeps/i386/i686/hp-timing.h: Likewise.
	* sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
	* sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
	* sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
	* sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
	* sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
	* sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
	* sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
	* sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
	* sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
	* sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
	* sysdeps/i386/strpbrk.S: Likewise.
	* sysdeps/ieee754/dbl-64/branred.c: Likewise.
	* sysdeps/ieee754/k_standard.c: Likewise.
	* sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
	* sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
	* sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
	* sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
	* sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
	* sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
	* sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
	* sysdeps/mach/hurd/bits/socket.h: Likewise.
	* sysdeps/mach/hurd/check_fds.c: Likewise.
	* sysdeps/mach/hurd/dl-sysdep.c: Likewise.
	* sysdeps/mach/hurd/net/ethernet.h: Likewise.
	* sysdeps/mach/hurd/profil.c: Likewise.
	* sysdeps/mach/hurd/setitimer.c: Likewise.
	* sysdeps/posix/readdir.c: Likewise.
	* sysdeps/powerpc/bits/setjmp.h: Likewise.
	* sysdeps/powerpc/math-tests.h: Likewise.
	* sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
	* sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
	* sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
	* sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
	* sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
	* sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
	* sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
	* sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
	* sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
	* sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
	* sysdeps/pthread/aio_cancel.c: Likewise.
	* sysdeps/pthread/aio_misc.c: Likewise.
	* sysdeps/pthread/aio_notify.c: Likewise.
	* sysdeps/s390/dl-procinfo.h: Likewise.
	* sysdeps/s390/s390-32/s390-mcount.S: Likewise.
	* sysdeps/s390/s390-32/setjmp.S: Likewise.
	* sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
	* sysdeps/s390/s390-64/setjmp.S: Likewise.
	* sysdeps/sparc/fpu/feupdateenv.c: Likewise.
	* sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
	* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
	* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
	* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Likewise.
	* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
	* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
	* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
	* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
	* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
	* sysdeps/sparc/sparc32/sparcv9/rem.S: Likewise.
	* sysdeps/sparc/sparc32/sparcv9/sdiv.S: Likewise.
	* sysdeps/sparc/sparc32/sparcv9/udiv.S: Likewise.
	* sysdeps/sparc/sparc32/sparcv9/urem.S: Likewise.
	* sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
	* sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
	* sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
	* sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
	* sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
	* sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
	* sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
	* sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
	* sysdeps/sparc/sparc-mcount.S: Likewise.
	* sysdeps/unix/bsd/bsd4.4/bits/socket.h: Likewise.
	* sysdeps/unix/bsd/ptsname.c: Likewise.
	* sysdeps/unix/sockatmark.c: Likewise.
	* sysdeps/unix/syscall-template.S: Likewise.
	* sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Likewise.
	* sysdeps/unix/sysv/linux/bits/local_lim.h: Likewise.
	* sysdeps/unix/sysv/linux/dl-librecon.h: Likewise.
	* sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
	* sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
	* sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
	* sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
	* sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
	* sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
	* sysdeps/unix/sysv/linux/lutimes.c: Likewise.
	* sysdeps/unix/sysv/linux/net/ethernet.h: Likewise.
	* sysdeps/unix/sysv/linux/net/if_shaper.h: Likewise.
	* sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
	* sysdeps/unix/sysv/linux/nscd_setup_thread.c: Likewise.
	* sysdeps/unix/sysv/linux/pathconf.c: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
	* sysdeps/unix/sysv/linux/ptsname.c: Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
	* sysdeps/unix/sysv/linux/s390/system.c: Likewise.
	* sysdeps/unix/sysv/linux/scsi/sg.h: Likewise.
	* sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
	* sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
	* sysdeps/unix/sysv/linux/sh/sys/user.h: Likewise.
	* sysdeps/unix/sysv/linux/socketcall.h: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
	* sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Likewise.
	* sysdeps/unix/sysv/linux/sys/procfs.h: Likewise.
	* sysdeps/unix/sysv/linux/system.c: Likewise.
	* sysdeps/x86_64/cacheinfo.c: Likewise.
	* sysdeps/x86_64/dl-trampoline.S: Likewise.
	* sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
	* sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
	* sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
	* sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
	* sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Likewise.
	* sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
	* sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
	* sysdeps/x86_64/multiarch/strcspn-c.c: Likewise.
	* sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
	* sysdeps/x86_64/multiarch/strstr.c: Likewise.
	* sysdeps/x86_64/strcmp.S: Likewise.
	* sysdeps/x86/bits/mathdef.h: Likewise.
	* sysdeps/x86/fpu/bits/fenv.h: Likewise.
	* sysdeps/x86/fpu/bits/mathinline.h: Likewise.
	* time/asctime.c: Likewise.
	* time/getdate.c: Likewise.
	* time/strptime_l.c: Likewise.
	* time/time.h: Likewise.

./libidn/Changelog:


	* iconvme.c: Fix typos.
	* stringprep.c: Likewise.
	* toutf8.c: Likewise.

./ports/Changelog.aarch64:


	* bits/atomic.h: Fix typos.
	* strcmp.S: Likewise.
	* strlen.S: Likewise.
	* strnlen.S: Likewise.

./ports/Changelog.alpha:


	* bits/atomic.h: Fix typos.
	* fpu/bits/fenv.h: Likewise.
	* hp-timing.h: Likewise.
	* soft-fp/ots_cvtqux.c: Likewise.
	* soft-fp/ots_cvtqx.c: Likewise.

./ports/Changelog.am33:


	* fpu/feupdateenv.c: Fix typos.
	* fpu/fraiseexcpt.c: Likewise.

./ports/Changelog.arm:


	* armv6/strrchr.S: Fix typos.
	* armv7/multiarch/memcpy_impl.S: Likewise.
	* dl-machine.h: Likewise.
	* find_exidx.c: Likewise.

./ports/Changelog.hppa:


	* dl-fptr.c: Fix typos.
	* dl-lookupcfg.h: Likewise.
	* dl-machine.h: Likewise.
	* dl-trampoline.S: Likewise.
	* fpu/fraiseexcpt.c: Likewise.

./ports/Changelog.ia64:


	* fpu/e_acoshl.S: Fix typos.
	* fpu/e_acos.S: Likewise.
	* fpu/e_asin.S: Likewise.
	* fpu/e_atanhl.S: Likewise.
	* fpu/e_cosh.S: Likewise.
	* fpu/e_exp.S: Likewise.
	* fpu/e_log2l.S: Likewise.
	* fpu/e_logf.S: Likewise.
	* fpu/e_logl.S: Likewise.
	* fpu/e_log.S: Likewise.
	* fpu/e_powf.S: Likewise.
	* fpu/e_powl.S: Likewise.
	* fpu/e_pow.S: Likewise.
	* fpu/e_sinh.S: Likewise.
	* fpu/fraiseexcpt.c: Likewise.
	* fpu/libm_lgammaf.S: Likewise.
	* fpu/libm_lgammal.S: Likewise.
	* fpu/libm_reduce.S: Likewise.
	* fpu/libm_sincos_large.S: Likewise.
	* fpu/libm_sincosl.S: Likewise.
	* fpu/libm_support.h: Likewise.
	* fpu/s_cosl.S: Likewise.
	* fpu/s_erfcf.S: Likewise.
	* fpu/s_erfcl.S: Likewise.
	* fpu/s_erfc.S: Likewise.
	* fpu/s_erfl.S: Likewise.
	* fpu/s_expm1l.S: Likewise.
	* fpu/s_expm1.S: Likewise.
	* fpu/s_log1pl.S: Likewise.
	* fpu/s_log1p.S: Likewise.
	* fpu/s_tanhl.S: Likewise.
	* fpu/w_tgammaf.S: Likewise.
	* fpu/w_tgammal.S: Likewise.
	* fpu/w_tgamma.S: Likewise.
	* hp-timing.h: Likewise.
	* memchr.S: Likewise.
	* memmove.S: Likewise.
	* strchr.S: Likewise.

./ports/Changelog.m68k:


	* m680x0/fpu/fraiseexcpt.c: Fix typos.

./ports/Changelog.microblaze:


	* math_private.h: Fix typos.

./ports/Changelog.mips:


	* bits/atomic.h: Fix typos.
	* fpu/feupdateenv.c: Likewise.
	* memcpy.S: Likewise.
	* sys/asm.h: Likewise.

./ports/Changelog.powerpc:


	* powerpc32/405/memcpy.S: Fix typos.
	* powerpc32/405/memset.S: Likewise.
	* powerpc32/476/memset.S: Likewise.

./ports/Changelog.tile:


	* jmpbuf-offsets.h: Fix typos.
	* tilepro/bits/atomic.h: Likewise.

./ports/Changelog:


	* sysdeps/unix/alpha/sysdep.h: Fix typos.
	* sysdeps/unix/sysv/linux/aarch64/clone.S: Likewise.
	* sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Likewise.
	* sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Likewise.
	* sysdeps/unix/sysv/linux/aarch64/ucontext-internal.h: Likewise.
	* sysdeps/unix/sysv/linux/alpha/bits/netdb.h: Likewise.
	* sysdeps/unix/sysv/linux/alpha/getcontext.S: Likewise.
	* sysdeps/unix/sysv/linux/alpha/ioperm.c: Likewise.
	* sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Likewise.
	* sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Likewise.
	* sysdeps/unix/sysv/linux/alpha/sys/io.h: Likewise.
	* sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Likewise.
	* sysdeps/unix/sysv/linux/am33/bits/fcntl.h: Likewise.
	* sysdeps/unix/sysv/linux/am33/socket.S: Likewise.
	* sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Likewise.
	* sysdeps/unix/sysv/linux/arm/sigrestorer.S: Likewise.
	* sysdeps/unix/sysv/linux/generic/not-cancel.h: Likewise.
	* sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
	* sysdeps/unix/sysv/linux/hppa/internaltypes.h: Likewise.
	* sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Likewise.
	* sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Likewise.
	* sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
	* sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Likewise.
	* sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Likewise.
	* sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
	* sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
	* sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Likewise.
	* sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
	* sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Likewise.
	* sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
	* sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
	* sysdeps/unix/sysv/linux/mips/bits/endian.h: Likewise.
	* sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Likewise.
	* sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
	* sysdeps/unix/sysv/linux/tile/bits/local_lim.h: Likewise.

---

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [PATCH] Fix typos.
  2013-08-13  8:27 [PATCH] Fix typos Ondřej Bílka
@ 2013-08-14 19:18 ` Roland McGrath
  2013-08-18 16:50 ` Ondřej Bílka
  1 sibling, 0 replies; 24+ messages in thread
From: Roland McGrath @ 2013-08-14 19:18 UTC (permalink / raw)
  To: Ondřej Bílka; +Cc: libc-alpha, libc-ports

We can't review the patch without seeing it.  Please separate the patches
at least into ones touching files with only FSF copyright and ones touching
other files (like sunrpc).  If there are ancient typos in ancient code we
imported, we probably want to leave those alone.

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [PATCH] Fix typos.
  2013-08-13  8:27 [PATCH] Fix typos Ondřej Bílka
  2013-08-14 19:18 ` Roland McGrath
@ 2013-08-18 16:50 ` Ondřej Bílka
  2013-08-18 20:15   ` Joseph S. Myers
  1 sibling, 1 reply; 24+ messages in thread
From: Ondřej Bílka @ 2013-08-18 16:50 UTC (permalink / raw)
  To: libc-alpha, libc-ports

Here is version with patch
On Tue, Aug 13, 2013 at 10:27:14AM +0200, Ondřej Bílka wrote:
> Hi,
>
> This is one of things from my backlog until freeze ends. I wrote stylepp
> to simplify refactoring to get around style issues. 
>
> I also realized that a good spellchecker for comments is needed. I wrote
> one that filters words that happen in code which identifies likely
> typos. Then I looked througth that list (you can do same by running
> stylepp_dictionary) and fixed most typos that I encountered.
>
> As typical situation is that one typo is repeated 5 times I sorted patch
> to simplify review. Splitting in other way than alphabetic would be
> counterproductive as number of different typos would be routhly same,
> only less duplicated.
>
> OK to commit?


./nptl/Changelog:


	* cancellation.c: Fix typos.
	* descr.h: Likewise.
	* perf.c: Likewise.
	* pthread_cond_wait.c: Likewise.
	* pthread_getattr_np.c: Likewise.
	* pthread_getschedparam.c: Likewise.
	* pthread_once.c: Likewise.
	* pthreadP.h: Likewise.
	* pthread_rwlock_timedrdlock.c: Likewise.
	* pthread_rwlock_timedwrlock.c: Likewise.
	* sysdeps/pthread/pthread.h: Likewise.
	* sysdeps/pthread/timer_create.c: Likewise.
	* sysdeps/unix/sysv/linux/allocrtsig.c: Likewise.
	* sysdeps/unix/sysv/linux/bits/local_lim.h: Likewise.
	* sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
	* sysdeps/unix/sysv/linux/fork.c: Likewise.
	* sysdeps/unix/sysv/linux/i386/not-cancel.h: Likewise.
	* sysdeps/unix/sysv/linux/internaltypes.h: Likewise.
	* sysdeps/unix/sysv/linux/mq_notify.c: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Likewise.
	* sysdeps/unix/sysv/linux/register-atfork.c: Likewise.
	* sysdeps/unix/sysv/linux/sem_timedwait.c: Likewise.
	* sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
	* sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sem_wait.c: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Likewise.
	* sysdeps/unix/sysv/linux/x86/elision-trylock.c: Likewise.
	* sysdeps/unix/sysv/linux/x86/hle.h: Likewise.
	* tst-cancel11.c: Likewise.
	* tst-cancel12.c: Likewise.
	* tst-cancel13.c: Likewise.
	* tst-cancel14.c: Likewise.
	* tst-cancel15.c: Likewise.
	* tst-cancel25.c: Likewise.
	* tst-cancel4.c: Likewise.
	* tst-cancel9.c: Likewise.
	* tst-cancel-wrappers.sh: Likewise.
	* tst-cond22.c: Likewise.
	* tst-kill4.c: Likewise.

./nptl_db/Changelog:


	* td_log.c: Fix typos.
	* td_thr_get_info.c: Likewise.

./localedata/Changelog:


	* gen-unicode-ctype.c: Fix typos.
	* tests-mbwc/dat_mblen.c: Likewise.
	* tests-mbwc/dat_strcoll.c: Likewise.
	* tests-mbwc/dat_strxfrm.c: Likewise.
	* tests-mbwc/dat_wcscmp.c: Likewise.
	* tests-mbwc/dat_wcsncat.c: Likewise.
	* tests-mbwc/dat_wcsxfrm.c: Likewise.
	* tests/test6.c: Likewise.
	* tst-digits.c: Likewise.

./Changelog:


	* argp/argp.h: Fix typos.
	* argp/argp-help.c: Likewise.
	* argp/argp-parse.c: Likewise.
	* benchtests/bench-memcmp.c: Likewise.
	* benchtests/bench-skeleton.c: Likewise.
	* benchtests/bench-strcmp.c: Likewise.
	* bits/sigstack.h: Likewise.
	* catgets/gencat.c: Likewise.
	* crypt/crypt_util.c: Likewise.
	* crypt/speeds.c: Likewise.
	* csu/check_fds.c: Likewise.
	* csu/init-first.c: Likewise.
	* csu/libc-start.c: Likewise.
	* debug/backtracesyms.c: Likewise.
	* debug/pcprofile.c: Likewise.
	* elf/cache.c: Likewise.
	* elf/dl-dst.h: Likewise.
	* elf/dl-fptr.c: Likewise.
	* elf/dl-load.c: Likewise.
	* elf/dl-open.c: Likewise.
	* elf/dl-profile.c: Likewise.
	* elf/dl-support.c: Likewise.
	* elf/dl-sysdep.c: Likewise.
	* elf/dl-tls.c: Likewise.
	* elf/dl-version.c: Likewise.
	* elf/dynamic-link.h: Likewise.
	* elf/elf.h: Likewise.
	* elf/ldconfig.c: Likewise.
	* elf/reldep2.c: Likewise.
	* elf/reldep3.c: Likewise.
	* elf/reldep.c: Likewise.
	* elf/rtld.c: Likewise.
	* elf/sprof.c: Likewise.
	* gmon/mcount.c: Likewise.
	* grp/initgroups.c: Likewise.
	* hesiod/hesiod.c: Likewise.
	* hurd/fd-close.c: Likewise.
	* hurd/hurdsig.c: Likewise.
	* hurd/lookup-retry.c: Likewise.
	* hurd/thread-cancel.c: Likewise.
	* iconvdata/bug-iconv8.c: Likewise.
	* iconvdata/gbbig5.c: Likewise.
	* iconvdata/gbgbk.c: Likewise.
	* iconvdata/ibm1364.c: Likewise.
	* iconvdata/ibm930.c: Likewise.
	* iconvdata/ibm933.c: Likewise.
	* iconvdata/ibm935.c: Likewise.
	* iconvdata/ibm937.c: Likewise.
	* iconvdata/ibm939.c: Likewise.
	* iconvdata/iso-2022-cn.c: Likewise.
	* iconvdata/iso-2022-cn-ext.c: Likewise.
	* iconvdata/iso-2022-jp-3.c: Likewise.
	* iconvdata/iso-2022-jp.c: Likewise.
	* iconvdata/iso-2022-kr.c: Likewise.
	* iconvdata/iso646.c: Likewise.
	* iconvdata/jis0208.c: Likewise.
	* iconvdata/sjis.c: Likewise.
	* iconvdata/tst-table.sh: Likewise.
	* iconv/gconv_int.h: Likewise.
	* iconv/iconv_charmap.c: Likewise.
	* iconv/iconv_prog.c: Likewise.
	* iconv/iconv_prog.h: Likewise.
	* iconv/loop.c: Likewise.
	* iconv/skeleton.c: Likewise.
	* iconv/strtab.c: Likewise.
	* include/limits.h: Likewise.
	* include/unistd.h: Likewise.
	* inet/arpa/inet.h: Likewise.
	* inet/arpa/tftp.h: Likewise.
	* inet/netinet/igmp.h: Likewise.
	* inet/protocols/timed.h: Likewise.
	* io/lockf64.c: Likewise.
	* libio/fileops.c: Likewise.
	* libio/fmemopen.c: Likewise.
	* libio/genops.c: Likewise.
	* libio/ioftell.c: Likewise.
	* libio/libio.h: Likewise.
	* libio/libioP.h: Likewise.
	* locale/localeinfo.h: Likewise.
	* locale/programs/config.h: Likewise.
	* locale/programs/ld-collate.c: Likewise.
	* locale/programs/linereader.c: Likewise.
	* locale/programs/simple-hash.c: Likewise.
	* login/programs/utmpdump.c: Likewise.
	* malloc/malloc.c: Likewise.
	* malloc/mcheck.c: Likewise.
	* malloc/memusage.c: Likewise.
	* malloc/obstack.h: Likewise.
	* manual/charset.texi: Likewise.
	* manual/contrib.texi: Likewise.
	* manual/crypt.texi: Likewise.
	* manual/fdl-1.3.texi: Likewise.
	* manual/filesys.texi: Likewise.
	* manual/message.texi: Likewise.
	* manual/socket.texi: Likewise.
	* manual/string.texi: Likewise.
	* manual/sysinfo.texi: Likewise.
	* math/bits/mathcalls.h: Likewise.
	* math/e_exp10.c: Likewise.
	* math/e_exp10l.c: Likewise.
	* math/fenv.h: Likewise.
	* math/tgmath.h: Likewise.
	* misc/hsearch_r.c: Likewise.
	* misc/tst-tsearch.c: Likewise.
	* nis/nis_checkpoint.c: Likewise.
	* nis/nis_ismember.c: Likewise.
	* nis/nis_ping.c: Likewise.
	* nis/nis_print.c: Likewise.
	* nis/nss_compat/compat-grp.c: Likewise.
	* nis/nss_compat/compat-initgroups.c: Likewise.
	* nis/nss_compat/compat-pwd.c: Likewise.
	* nis/nss_compat/compat-spwd.c: Likewise.
	* nis/rpcsvc/nis.h: Likewise.
	* nis/rpcsvc/nis_tags.h: Likewise.
	* nis/rpcsvc/yp_prot.h: Likewise.
	* nscd/connections.c: Likewise.
	* nscd/hstcache.c: Likewise.
	* nscd/initgrcache.c: Likewise.
	* nscd/nscd-client.h: Likewise.
	* nscd/nscd_helper.c: Likewise.
	* nscd/nscd_setup_thread.c: Likewise.
	* nscd/nscd_stat.c: Likewise.
	* nss/nss_db/db-open.c: Likewise.
	* nss/nss_db/nss_db.h: Likewise.
	* nss/nsswitch.c: Likewise.
	* posix/fnmatch.c: Likewise.
	* posix/fnmatch_loop.c: Likewise.
	* posix/globtest.c: Likewise.
	* posix/regcomp.c: Likewise.
	* posix/regex.c: Likewise.
	* posix/regexec.c: Likewise.
	* posix/regex.h: Likewise.
	* posix/regex_internal.c: Likewise.
	* posix/tst-exec.c: Likewise.
	* posix/tst-spawn.c: Likewise.
	* posix/wordexp.c: Likewise.
	* resolv/gai_misc.c: Likewise.
	* resolv/gai_misc.h: Likewise.
	* resolv/gai_notify.c: Likewise.
	* resolv/gai_suspend.c: Likewise.
	* resolv/getaddrinfo_a.c: Likewise.
	* resolv/ns_name.c: Likewise.
	* resolv/ns_samedomain.c: Likewise.
	* resolv/res_comp.c: Likewise.
	* resolv/res_init.c: Likewise.
	* resolv/resolv.h: Likewise.
	* resolv/res_send.c: Likewise.
	* rt/aio.h: Likewise.
	* socket/sockatmark.c: Likewise.
	* socket/sys/socket.h: Likewise.
	* soft-fp/op-common.h: Likewise.
	* soft-fp/testit.c: Likewise.
	* stdio-common/printf_fp.c: Likewise.
	* stdio-common/printf_size.c: Likewise.
	* stdio-common/vfscanf.c: Likewise.
	* stdlib/lldiv.c: Likewise.
	* stdlib/random.c: Likewise.
	* stdlib/stdlib.h: Likewise.
	* stdlib/tst-random.c: Likewise.
	* streams/stropts.h: Likewise.
	* string/string.h: Likewise.
	* string/strings.h: Likewise.
	* string/strverscmp.c: Likewise.
	* string/test-memcmp.c: Likewise.
	* string/test-strcmp.c: Likewise.
	* sunrpc/clnt_tcp.c: Likewise.
	* sunrpc/clnt_udp.c: Likewise.
	* sunrpc/clnt_unix.c: Likewise.
	* sunrpc/rpc_cout.c: Likewise.
	* sunrpc/rpc_main.c: Likewise.
	* sunrpc/rpc_svcout.c: Likewise.
	* sunrpc/rpc_thread.c: Likewise.
	* sunrpc/rpc/xdr.h: Likewise.
	* sunrpc/svc_auth.c: Likewise.
	* sunrpc/xdr_rec.c: Likewise.
	* sunrpc/xdr_ref.c: Likewise.
	* sysdeps/generic/dl-librecon.h: Likewise.
	* sysdeps/generic/inttypes.h: Likewise.
	* sysdeps/generic/ldsodefs.h: Likewise.
	* sysdeps/generic/netinet/tcp.h: Likewise.
	* sysdeps/generic/not-cancel.h: Likewise.
	* sysdeps/generic/pty-private.h: Likewise.
	* sysdeps/generic/unwind-dw2-fde-glibc.c: Likewise.
	* sysdeps/gnu/netinet/tcp.h: Likewise.
	* sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
	* sysdeps/i386/i386-mcount.S: Likewise.
	* sysdeps/i386/i686/hp-timing.h: Likewise.
	* sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
	* sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
	* sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
	* sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
	* sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
	* sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
	* sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
	* sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
	* sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
	* sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
	* sysdeps/i386/strpbrk.S: Likewise.
	* sysdeps/ieee754/dbl-64/branred.c: Likewise.
	* sysdeps/ieee754/k_standard.c: Likewise.
	* sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
	* sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
	* sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
	* sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
	* sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
	* sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
	* sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
	* sysdeps/mach/hurd/bits/socket.h: Likewise.
	* sysdeps/mach/hurd/check_fds.c: Likewise.
	* sysdeps/mach/hurd/dl-sysdep.c: Likewise.
	* sysdeps/mach/hurd/net/ethernet.h: Likewise.
	* sysdeps/mach/hurd/profil.c: Likewise.
	* sysdeps/mach/hurd/setitimer.c: Likewise.
	* sysdeps/posix/readdir.c: Likewise.
	* sysdeps/powerpc/bits/setjmp.h: Likewise.
	* sysdeps/powerpc/math-tests.h: Likewise.
	* sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
	* sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
	* sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
	* sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
	* sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
	* sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
	* sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
	* sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
	* sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
	* sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
	* sysdeps/pthread/aio_cancel.c: Likewise.
	* sysdeps/pthread/aio_misc.c: Likewise.
	* sysdeps/pthread/aio_notify.c: Likewise.
	* sysdeps/s390/dl-procinfo.h: Likewise.
	* sysdeps/s390/s390-32/s390-mcount.S: Likewise.
	* sysdeps/s390/s390-32/setjmp.S: Likewise.
	* sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
	* sysdeps/s390/s390-64/setjmp.S: Likewise.
	* sysdeps/sparc/fpu/feupdateenv.c: Likewise.
	* sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
	* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
	* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
	* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Likewise.
	* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
	* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
	* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
	* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
	* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
	* sysdeps/sparc/sparc32/sparcv9/rem.S: Likewise.
	* sysdeps/sparc/sparc32/sparcv9/sdiv.S: Likewise.
	* sysdeps/sparc/sparc32/sparcv9/udiv.S: Likewise.
	* sysdeps/sparc/sparc32/sparcv9/urem.S: Likewise.
	* sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
	* sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
	* sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
	* sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
	* sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
	* sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
	* sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
	* sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
	* sysdeps/sparc/sparc-mcount.S: Likewise.
	* sysdeps/unix/bsd/bsd4.4/bits/socket.h: Likewise.
	* sysdeps/unix/bsd/ptsname.c: Likewise.
	* sysdeps/unix/sockatmark.c: Likewise.
	* sysdeps/unix/syscall-template.S: Likewise.
	* sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Likewise.
	* sysdeps/unix/sysv/linux/bits/local_lim.h: Likewise.
	* sysdeps/unix/sysv/linux/dl-librecon.h: Likewise.
	* sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
	* sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
	* sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
	* sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
	* sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
	* sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
	* sysdeps/unix/sysv/linux/lutimes.c: Likewise.
	* sysdeps/unix/sysv/linux/net/ethernet.h: Likewise.
	* sysdeps/unix/sysv/linux/net/if_shaper.h: Likewise.
	* sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
	* sysdeps/unix/sysv/linux/nscd_setup_thread.c: Likewise.
	* sysdeps/unix/sysv/linux/pathconf.c: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
	* sysdeps/unix/sysv/linux/ptsname.c: Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
	* sysdeps/unix/sysv/linux/s390/system.c: Likewise.
	* sysdeps/unix/sysv/linux/scsi/sg.h: Likewise.
	* sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
	* sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
	* sysdeps/unix/sysv/linux/sh/sys/user.h: Likewise.
	* sysdeps/unix/sysv/linux/socketcall.h: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
	* sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Likewise.
	* sysdeps/unix/sysv/linux/sys/procfs.h: Likewise.
	* sysdeps/unix/sysv/linux/system.c: Likewise.
	* sysdeps/x86_64/cacheinfo.c: Likewise.
	* sysdeps/x86_64/dl-trampoline.S: Likewise.
	* sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
	* sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
	* sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
	* sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
	* sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Likewise.
	* sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
	* sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
	* sysdeps/x86_64/multiarch/strcspn-c.c: Likewise.
	* sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
	* sysdeps/x86_64/multiarch/strstr.c: Likewise.
	* sysdeps/x86_64/strcmp.S: Likewise.
	* sysdeps/x86/bits/mathdef.h: Likewise.
	* sysdeps/x86/fpu/bits/fenv.h: Likewise.
	* sysdeps/x86/fpu/bits/mathinline.h: Likewise.
	* time/asctime.c: Likewise.
	* time/getdate.c: Likewise.
	* time/strptime_l.c: Likewise.
	* time/time.h: Likewise.

./libidn/Changelog:


	* iconvme.c: Fix typos.
	* stringprep.c: Likewise.
	* toutf8.c: Likewise.

./ports/Changelog.aarch64:


	* bits/atomic.h: Fix typos.
	* strcmp.S: Likewise.
	* strlen.S: Likewise.
	* strnlen.S: Likewise.

./ports/Changelog.alpha:


	* bits/atomic.h: Fix typos.
	* fpu/bits/fenv.h: Likewise.
	* hp-timing.h: Likewise.
	* soft-fp/ots_cvtqux.c: Likewise.
	* soft-fp/ots_cvtqx.c: Likewise.

./ports/Changelog.am33:


	* fpu/feupdateenv.c: Fix typos.
	* fpu/fraiseexcpt.c: Likewise.

./ports/Changelog.arm:


	* armv6/strrchr.S: Fix typos.
	* armv7/multiarch/memcpy_impl.S: Likewise.
	* dl-machine.h: Likewise.
	* find_exidx.c: Likewise.

./ports/Changelog.hppa:


	* dl-fptr.c: Fix typos.
	* dl-lookupcfg.h: Likewise.
	* dl-machine.h: Likewise.
	* dl-trampoline.S: Likewise.
	* fpu/fraiseexcpt.c: Likewise.

./ports/Changelog.ia64:


	* fpu/e_acoshl.S: Fix typos.
	* fpu/e_acos.S: Likewise.
	* fpu/e_asin.S: Likewise.
	* fpu/e_atanhl.S: Likewise.
	* fpu/e_cosh.S: Likewise.
	* fpu/e_exp.S: Likewise.
	* fpu/e_log2l.S: Likewise.
	* fpu/e_logf.S: Likewise.
	* fpu/e_logl.S: Likewise.
	* fpu/e_log.S: Likewise.
	* fpu/e_powf.S: Likewise.
	* fpu/e_powl.S: Likewise.
	* fpu/e_pow.S: Likewise.
	* fpu/e_sinh.S: Likewise.
	* fpu/fraiseexcpt.c: Likewise.
	* fpu/libm_lgammaf.S: Likewise.
	* fpu/libm_lgammal.S: Likewise.
	* fpu/libm_reduce.S: Likewise.
	* fpu/libm_sincos_large.S: Likewise.
	* fpu/libm_sincosl.S: Likewise.
	* fpu/libm_support.h: Likewise.
	* fpu/s_cosl.S: Likewise.
	* fpu/s_erfcf.S: Likewise.
	* fpu/s_erfcl.S: Likewise.
	* fpu/s_erfc.S: Likewise.
	* fpu/s_erfl.S: Likewise.
	* fpu/s_expm1l.S: Likewise.
	* fpu/s_expm1.S: Likewise.
	* fpu/s_log1pl.S: Likewise.
	* fpu/s_log1p.S: Likewise.
	* fpu/s_tanhl.S: Likewise.
	* fpu/w_tgammaf.S: Likewise.
	* fpu/w_tgammal.S: Likewise.
	* fpu/w_tgamma.S: Likewise.
	* hp-timing.h: Likewise.
	* memchr.S: Likewise.
	* memmove.S: Likewise.
	* strchr.S: Likewise.

./ports/Changelog.m68k:


	* m680x0/fpu/fraiseexcpt.c: Fix typos.

./ports/Changelog.microblaze:


	* math_private.h: Fix typos.

./ports/Changelog.mips:


	* bits/atomic.h: Fix typos.
	* fpu/feupdateenv.c: Likewise.
	* memcpy.S: Likewise.
	* sys/asm.h: Likewise.

./ports/Changelog.powerpc:


	* powerpc32/405/memcpy.S: Fix typos.
	* powerpc32/405/memset.S: Likewise.
	* powerpc32/476/memset.S: Likewise.

./ports/Changelog.tile:


	* jmpbuf-offsets.h: Fix typos.
	* tilepro/bits/atomic.h: Likewise.

./ports/Changelog:


	* sysdeps/unix/alpha/sysdep.h: Fix typos.
	* sysdeps/unix/sysv/linux/aarch64/clone.S: Likewise.
	* sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Likewise.
	* sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Likewise.
	* sysdeps/unix/sysv/linux/aarch64/ucontext-internal.h: Likewise.
	* sysdeps/unix/sysv/linux/alpha/bits/netdb.h: Likewise.
	* sysdeps/unix/sysv/linux/alpha/getcontext.S: Likewise.
	* sysdeps/unix/sysv/linux/alpha/ioperm.c: Likewise.
	* sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Likewise.
	* sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Likewise.
	* sysdeps/unix/sysv/linux/alpha/sys/io.h: Likewise.
	* sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Likewise.
	* sysdeps/unix/sysv/linux/am33/bits/fcntl.h: Likewise.
	* sysdeps/unix/sysv/linux/am33/socket.S: Likewise.
	* sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Likewise.
	* sysdeps/unix/sysv/linux/arm/sigrestorer.S: Likewise.
	* sysdeps/unix/sysv/linux/generic/not-cancel.h: Likewise.
	* sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
	* sysdeps/unix/sysv/linux/hppa/internaltypes.h: Likewise.
	* sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Likewise.
	* sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Likewise.
	* sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
	* sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Likewise.
	* sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Likewise.
	* sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
	* sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
	* sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Likewise.
	* sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
	* sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Likewise.
	* sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
	* sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
	* sysdeps/unix/sysv/linux/mips/bits/endian.h: Likewise.
	* sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Likewise.
	* sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
	* sysdeps/unix/sysv/linux/tile/bits/local_lim.h: Likewise.

---

-   will be surrounded by "[" and "]" appropiately if the argument is
-   optional.  The documentation string is word-wrapped appropiately, and if
+   will be surrounded by "[" and "]" appropriately if the argument is
+   optional.  The documentation string is word-wrapped appropriately, and if
-/* Shared RTM header.  Emulate TSX intrinsics for compilers and assemblers
-   that do not support the intrinsics and instructions yet.  */
+/* Shared RTM header.  Emulate TSX intrinsic for compilers and assemblers
+   that do not support the intrinsic and instructions yet.  */
-	   translate it ourself.  Since we should avoid short translation
-	   terms we artifically increase the length.  */
+	   translate it ourselves.  Since we should avoid short translation
+	   terms we artificially increase the length.  */
-//         0xFFFF we need to test only last bit of it. Also signifigand always
-//         has implicit bit set to 1 that can be exluded from comparison.
+//         0xFFFF we need to test only last bit of it. Also significand always
+//         has implicit bit set to 1 that can be excluded from comparison.
-// that a 128-bit signficand not to lose bits. So before the shift we put the
-// 128-bit significand into a 256-bit signficand and then shift.
+// that a 128-bit significand not to lose bits. So before the shift we put the
+// 128-bit significand into a 256-bit significand and then shift.
-// that a 128-bit signficand not to lose bits. So before the shift we put the
-// 128-bit significand into a 256-bit signficand and then shift.
+// that a 128-bit significand not to lose bits. So before the shift we put the
+// 128-bit significand into a 256-bit significand and then shift.
-       use dbcz to set memeory when we can
-       otherwsie do the follwoing
+       use dbcz to set memory when we can
+       otherwise do the following
-       use dbcz to set memeory when we can
-       otherwsie do the follwoing
+       use dbcz to set memory when we can
+       otherwise do the following
e new larger chunk.  We then carry on \n-accreting characters to the end of the 
e new larger chunk.  We then carry on \n+accrediting characters to the end of th
                                              ^^                               
If must still be around since we have \n-a implicit dependency.  */ \n if (dlclo
If must still be around since we have \n+an implicit dependency.  */ \n if (dlcl
                                          ^                                    
If must still be around since we have \n-a implicit dependency.  */ \n if (dlclo
If must still be around since we have \n+an implicit dependency.  */ \n if (dlcl
                                          ^                                    
ion is not complete.  It doesn't take \n-cancelation and fork into account.  */ 
ion is not complete.  It doesn't take \n+cancellation and fork into account.  */
                                              ^^                               
ed to read two to three more        \ \n-chracters.  If we have a match in the f
ed to read two to three more        \ \n+characters.  If we have a match in the 
                                           ^                                   
use uint32_t for the field and ensure \n-compatiblity by adding appropriate padd
use uint32_t for the field and ensure \n+compatibility by adding appropriate pad
                                                 ^                             
re clobbered by calls, we need not be \n-concernred about those, and thus is all
re clobbered by calls, we need not be \n+concerned about those, and thus is all 
                                               ^^                              
checking against localized digits, if \n-convertion is done correctly. */ \n whi
checking against localized digits, if \n+conversion is done correctly. */ \n whi
                                               ^                               
 to use them later for evaluating the \n-correspoding back references.  */ \n   
 to use them later for evaluating the \n+corresponding back references.  */ \n  
                                                 ^                             
as already thrown away, then the node \n-could't accept the current input `multi
as already thrown away, then the node \n+couldn't accept the current input `mult
                                              ^                                
DERR_FILENO are the three lowest file \n-decsriptor numbers, in this order.  */ 
DERR_FILENO are the three lowest file \n+descriptor numbers, in this order.  */ 
                                           ^^                                  
 of the list of all requests for this \n-desriptor.  */ \n req = __aio_find_req_
 of the list of all requests for this \n+descriptor.  */ \n req = __aio_find_req
                                            ^                                  
cter we are currently at has the same \n-equivalance class value.  */ \n int len
cter we are currently at has the same \n+equivalence class value.  */ \n int len
                                                ^                              
essage catalog handling provides easy \n-extendibility by using external data fi
essage catalog handling provides easy \n+extensibility by using external data fi
                                              ^                                
mparing integral part, S_F: comparing \n-fractionnal parts, S_Z: idem but with l
mparing integral part, S_F: comparing \n+fractional parts, S_Z: idem but with le
                                               ^ ^                             
 the result is denormal,  it will not \n-honour the double precision and generat
 the result is denormal,  it will not \n+honor the double precision and generate
                                            ^^                                 
nct chars in s2.  If byte 0 and 1 are \n-idential and the distinct value lies fa
nct chars in s2.  If byte 0 and 1 are \n+identical and the distinct value lies f
                                               ^                               
e filename for the profiling data, if \n-nececessary.  */ \n if (profdata == NUL
e filename for the profiling data, if \n+necessary.  */ \n if (profdata == NULL)
                                         ^   ^                                 
 /* Restore the default.  Better than \n-nother at all.  */ \n ctx->classes[0] =
 /* Restore the default.  Better than \n+other at all.  */ \n ctx->classes[0] = 
                                        ^^                                     
 to avoid a runtime check and use the \n-smae `if' as in gmon.c.  So keep these 
 to avoid a runtime check and use the \n+same `if' as in gmon.c.  So keep these 
                                          ^^                                   
g code is really complicated.  It has \n-seemlingly duplicated code paths which 
g code is really complicated.  It has \n+seemingly duplicated code paths which d
                                            ^^                                 
oot-owned symlinks; if that is deemed \n-undesireable, we can add a final check 
oot-owned symlinks; if that is deemed \n+undesirable, we can add a final check f
                                               ^^                              
ogram \n-we are about to start does not accidently use this \n descriptor.  */  
ogram \n+we are about to start does not accidentally use this \n descriptor.  */
                                                ^^                             
ogram we are \n-about to start does not accidently use this descriptor.  */ \n i
ogram we are \n+about to start does not accidentally use this descriptor.  */ \n
                                                ^^                             
* We save space for some extra state to accomodate future changes.  */ \n #defin
* We save space for some extra state to accommodate future changes.  */ \n #defi
                                            ^^                                 
-/* The test for "addr & 2" below is to accomodate old binaries which \n violate
+/* The test for "addr & 2" below is to accommodate old binaries which \n violat
                                            ^^                                 
0 0 0 d_5 ... d_14 \n-//        This is accomplised by integer multiplication. \
0 0 0 d_5 ... d_14 \n+//        This is accomplished by integer multiplication. 
                                                 ^                             
 d_9 d_10 ... d_14 \n-//        This is accomplised by integer multiplication. \
 d_9 d_10 ... d_14 \n+//        This is accomplished by integer multiplication. 
                                                 ^                             
d_14 \n-//                      This is accomplised by integer multiplication. \
d_14 \n+//                      This is accomplished by integer multiplication. 
                                                 ^                             
d_14 \n-//                      This is accomplised by integer multiplication. \
d_14 \n+//                      This is accomplished by integer multiplication. 
                                                 ^                             
0 0 0 d_5 ... d_14 \n-//        This is accomplised by integer multiplication. \
0 0 0 d_5 ... d_14 \n+//        This is accomplished by integer multiplication. 
                                                 ^                             
 d_9 d_10 ... d_14 \n-//        This is accomplised by integer multiplication. \
 d_9 d_10 ... d_14 \n+//        This is accomplished by integer multiplication. 
                                                 ^                             
 data packet */ \n-#define ACK 04    /* acknowledgement */ \n #define ERROR 05  
 data packet */ \n+#define ACK 04    /* acknowledgment */ \n #define ERROR 05   
                                                 ^^                            
me */ \n-#define TSP_ACK   2 /* generic acknowledgement */ \n #define TSP_MASTER
me */ \n+#define TSP_ACK   2 /* generic acknowledgment */ \n #define TSP_MASTERR
                                                 ^^                            
quence number */ \n-tcp_seq th_ack;  /* acknowledgement number */ \n #  if __BYT
quence number */ \n+tcp_seq th_ack;  /* acknowledgment number */ \n #  if __BYTE
                                                 ^^                            
uence number */ \n-tcp_seq th_ack;   /* acknowledgement number */ \n #if __BYTE_
uence number */ \n+tcp_seq th_ack;   /* acknowledgment number */ \n #if __BYTE_O
                                                 ^^                            
n-waiting to be sent.  Stop looking for acknowledgement of data already \n sent;
n+waiting to be sent.  Stop looking for acknowledgment of data already \n sent; 
                                                 ^^                            
nce and tone of each of the contributor acknowledgements and/or \n dedications g
nce and tone of each of the contributor acknowledgments and/or \n dedications gi
                                                 ^^                            
of the last path element.  When we come accross \n a DST we copy over the value 
of the last path element.  When we come across \n a DST we copy over the value o
                                        ^ ^                                    
                   .mfi \n-// get T_low adress \n shladd r3=r28,3,r3            
                   .mfi \n+// get T_low address \n shladd r3=r28,3,r3           
                                         ^^                                    
                        \n-/* If source adress alignment != destination adress a
                        \n+/* If source address alignment != destination address
                                          ^                               ^    
                        \n-/* If source adress alignment != destination adress a
                        \n+/* If source address alignment != destination address
                                          ^                               ^    
                        \n-/* If source adress alignment == destination adress a
                        \n+/* If source address alignment == destination address
                                          ^                               ^    
                        \n-/* If source adress alignment == destination adress a
                        \n+/* If source address alignment == destination address
                                          ^                               ^    
   \ \n-/* We loaded the jump table and adjuested ECX. Go.  */  \ \n jmp *%ecx  
   \ \n+/* We loaded the jump table and adjusted ECX. Go.  */  \ \n jmp *%ecx   
                                           ^^                                  
x; \ \n-/* We loaded the jump table and adjuested ECX. Go.  */ \ \n jmp *%ecx   
x; \ \n+/* We loaded the jump table and adjusted ECX. Go.  */ \ \n jmp *%ecx    
                                           ^^                                  
   \ \n-/* We loaded the jump table and adjuested EDX. Go.  */ \ \n jmp  *%ebx  
   \ \n+/* We loaded the jump table and adjusted EDX. Go.  */ \ \n jmp  *%ebx   
                                           ^^                                  
   \ \n-/* We loaded the jump table and adjuested EDX. Go.  */ \ \n jmp  *%ebx  
   \ \n+/* We loaded the jump table and adjusted EDX. Go.  */ \ \n jmp  *%ebx   
                                           ^^                                  
x; \ \n-/* We loaded the jump table and adjuested EDX/ESI. Go.  */ \ \n jmp *%eb
x; \ \n+/* We loaded the jump table and adjusted EDX/ESI. Go.  */ \ \n jmp *%ebx
                                           ^^                                  
 define LOCALE  12 /* Loaded before the adjustement.  */ \n # ifdef PIC         
 define LOCALE  12 /* Loaded before the adjustment.  */ \n # ifdef PIC          
                                             ^^                                
 define LOCALE  16 /* Loaded before the adjustement.  */ \n # ifdef PIC         
 define LOCALE  16 /* Loaded before the adjustment.  */ \n # ifdef PIC          
                                             ^^                                
 define LOCALE  12 /* Loaded before the adjustement.  */ \n # ifdef PIC         
 define LOCALE  12 /* Loaded before the adjustment.  */ \n # ifdef PIC          
                                             ^^                                
 define LOCALE  16 /* Loaded before the adjustement.  */ \n # ifdef PIC         
 define LOCALE  16 /* Loaded before the adjustment.  */ \n # ifdef PIC          
                                             ^^                                
riable.  If it was NULL but is not NULL afterwars we must \n start the profiling
riable.  If it was NULL but is not NULL afterwards we must \n start the profilin
                                                ^                              
be rewritten to use a balancing \n-tree algorith (AVL, red-black trees).  For no
be rewritten to use a balancing \n+tree algorithm (AVL, red-black trees).  For n
                                                ^                              
ne TSP_TEST  21 /* for testing election algo */ \n #define TSP_SETDATE  22 /* Ne
ne TSP_TEST  21 /* for testing election algorithm */ \n #define TSP_SETDATE  22 
                                            ^   ^                              
ccuracy we use precise division \n-//   algorythm output of which is a pair of t
ccuracy we use precise division \n+//   algorithm output of which is a pair of t
                                             ^                                 
    \n-/* lockf.c defines lockf64 as an lias if __OFF_T_MATCHES_OFF64_T.  */ \n 
    \n+/* lockf.c defines lockf64 as an alias if __OFF_T_MATCHES_OFF64_T.  */ \n
                                        ^                                      
 dest bdry  */ \n-clrlwi  r8,r8,32-4 /* aling to 16byte boundary  */ \n sub     
 dest bdry  */ \n+clrlwi  r8,r8,32-4 /* align to 16byte boundary  */ \n sub     
                                           ^^                                  
 dest bdry  */ \n-clrldi  r8,r8,64-4 /* aling to 16byte boundary  */ \n sub     
 dest bdry  */ \n+clrldi  r8,r8,64-4 /* align to 16byte boundary  */ \n sub     
                                           ^^                                  
            { \n-/* Adjust addr for 16B alginment in ensuing loop.  */ \n while 
            { \n+/* Adjust addr for 16B alignment in ensuing loop.  */ \n while 
                                          ^^                                   
                  \n-/* Free eventually alloated memory blocks for the object po
                  \n+/* Free eventually allocated memory blocks for the object p
                                            ^                                  
reading the template file, \n-6  memory allication failed (not enough memory ava
reading the template file, \n+6  memory allocation failed (not enough memory ava
                                           ^                                   
reading the template file, \n-6  memory allication failed (not enough memory ava
reading the template file, \n+6  memory allocation failed (not enough memory ava
                                           ^                                   
 \n-Otherwise we know that rSTR1 is not aready word aligned yet. \n So we can fo
 \n+Otherwise we know that rSTR1 is not already word aligned yet. \n So we can f
                                         ^                                     
 \n-Otherwise we know that rSTR1 is not aready word aligned yet. \n So we can fo
 \n+Otherwise we know that rSTR1 is not already word aligned yet. \n So we can f
                                         ^                                     
                 -1,4 +1,4 @@ \n-/* non alitivec (old) version of setjmp for Pow
                 -1,4 +1,4 @@ \n+/* non altivec (old) version of setjmp for Powe
                                         ^^                                    
                 -1,4 +1,4 @@ \n-/* non alitivec (old) version of setjmp for Pow
                 -1,4 +1,4 @@ \n+/* non altivec (old) version of setjmp for Powe
                                         ^^                                    
/* For platform which support the ISO C amendement 1 functionality we \n support
/* For platform which support the ISO C amendment 1 functionality we \n support 
                                            ^^                                 
classes \n-and the functions from ISO C amendement 1.  */ \n #  ifdef CHARCLASS_
classes \n+and the functions from ISO C amendment 1.  */ \n #  ifdef CHARCLASS_N
                                            ^^                                 
                             \n-/* Info abount the function itself.  */ \n n = p
                             \n+/* Info amount the function itself.  */ \n n = p
                                         ^                                     
ight unalign a buffer even though it is a aligned in the \n beginning, either do
ight unalign a buffer even though it is an aligned in the \n beginning, either d
                                         ^                                     
                        *% \n-* Convert a ascii string into an encoded domain na
                        *% \n+* Convert an ascii string into an encoded domain n
                                         ^                                     
             else \n-/* This is part of a asynchronous `getaddrinfo_a' operation
             else \n+/* This is part of an asynchronous `getaddrinfo_a' operatio
                                         ^                                     
             else \n-/* This is part of a asynchronous `lio_listio' operation.  
             else \n+/* This is part of an asynchronous `lio_listio' operation. 
                                         ^                                     
he _IO_JUMPS macro.  The jump table has a eccentric format, \n * so as to be com
he _IO_JUMPS macro.  The jump table has an eccentric format, \n * so as to be co
                                         ^                                     
iscrim structures, terminated with \n-* a entry with a null procedure pointer.  
iscrim structures, terminated with \n+* an entry with a null procedure pointer. 
                                         ^                                     
r/include/linux/net.h. \n-We cannot use a enum here because the values are used 
r/include/linux/net.h. \n+We cannot use an enum here because the values are used
                                         ^                                     
ou'll have to ensure the \n-* existence a environment variable: HZ giving how ma
ou'll have to ensure the \n+* existence an environment variable: HZ giving how m
                                         ^                                     
O_FILE* \n-parameter is used instead of a integer file descriptor;  the default 
O_FILE* \n+parameter is used instead of an integer file descriptor;  the default
                                         ^                                     
lues at all \n-times.  If the user uses a interface other than \n pthread_setsch
lues at all \n+times.  If the user uses an interface other than \n pthread_setsc
                                         ^                                     
                 { \n-/* One example of a invalid operation is 0 * Infinity.  */
                 { \n+/* One example of an invalid operation is 0 * Infinity.  *
                                         ^                                     
                 { \n-/* One example of a invalid operation is 0 * Infinity.  */
                 { \n+/* One example of an invalid operation is 0 * Infinity.  *
                                         ^                                     
                 { \n-/* One example of a invalid operation is 0 * Infinity.  */
                 { \n+/* One example of an invalid operation is 0 * Infinity.  *
                                         ^                                     
                 { \n-/* One example of a invalid operation is 0 * Infinity.  */
                 { \n+/* One example of an invalid operation is 0 * Infinity.  *
                                         ^                                     
                 { \n-/* One example of a invalid operation is 0.0 / 0.0.  */ \n
                 { \n+/* One example of an invalid operation is 0.0 / 0.0.  */ \
                                         ^                                     
                 { \n-/* One example of a invalid operation is 0.0 / 0.0.  */ \n
                 { \n+/* One example of an invalid operation is 0.0 / 0.0.  */ \
                                         ^                                     
                 { \n-/* One example of a invalid operation is 0.0 / 0.0.  */ \n
                 { \n+/* One example of an invalid operation is 0.0 / 0.0.  */ \
                                         ^                                     
                 { \n-/* One example of a invalid operation is 0/0.  */ \n __asm
                 { \n+/* One example of an invalid operation is 0/0.  */ \n __as
                                         ^                                     
                        { \n-/* This is a invalid sequence.  Skip the first byte
                        { \n+/* This is an invalid sequence.  Skip the first byt
                                         ^                                     
identical characters we \n-converted in a irreversible way.  */ \n *irreversible
identical characters we \n+converted in an irreversible way.  */ \n *irreversibl
                                         ^                                     
n-most NUM.  A short option recorded in a option following OPT is only \n valid 
n+most NUM.  A short option recorded in an option following OPT is only \n valid
                                         ^                                     
 * Inputs: \n-*\li a - the domain whose ancestory is being verified \n *\li b - 
 * Inputs: \n+*\li a - the domain whose ancestry is being verified \n *\li b - t
                                             ^^                                
two pointers are always rand_sep places aparts, as they \n cycle through the sta
two pointers are always rand_sep places apart, as they \n cycle through the stat
                                            ^^                                 
                 /* \n-* If the calling applicating has bailed out of \n * a pre
                 /* \n+* If the calling application has bailed out of \n * a pre
                                                 ^^                            
all assembly macros rely on finding the approriate \n SYSCALL_ERROR_LABEL or rat
all assembly macros rely on finding the appropriate \n SYSCALL_ERROR_LABEL or ra
                                             ^                                 
re them \n-directly, we have to use the appropiate clustering level too.  */ \n 
re them \n+directly, we have to use the appropriate clustering level too.  */ \n
                                              ^                                
hem *not* to exit, and should return an appropiate error after calling \n them. 
hem *not* to exit, and should return an appropriate error after calling \n them.
                                              ^                                
merged set of getopt options, with keys appropiately prefixed. */ \n static void
merged set of getopt options, with keys appropriately prefixed. */ \n static voi
                                              ^                                
 header line, with the margin lines set appropiately, and \n notes the fact that
 header line, with the margin lines set appropriately, and \n notes the fact tha
                                              ^                                
om the environment, and fill in UPARAMS appropiately.  */ \n static void        
om the environment, and fill in UPARAMS appropriately.  */ \n static void       
                                              ^                                
right root on [-3, -2] \n-// Lgammal is aproximated by polynomial within [-.0562
right root on [-3, -2] \n+// Lgammal is approximated by polynomial within [-.056
                                         ^^                                    
right root on [-7, -6] \n-// Lgammal is aproximated by polynomial within [-.1545
right root on [-7, -6] \n+// Lgammal is approximated by polynomial within [-.154
                                         ^^                                    
right root on [-8, -7] \n-// Lgammal is aproximated by polynomial within [-.1542
right root on [-8, -7] \n+// Lgammal is approximated by polynomial within [-.154
                                         ^^                                    
right root on [-9, -8] \n-// Lgammal is aproximated by polynomial within [-.1541
right root on [-9, -8] \n+// Lgammal is approximated by polynomial within [-.154
                                         ^^                                    
ight root on [-10, -9] \n-// Lgammal is aproximated by polynomial within [-.1541
ight root on [-10, -9] \n+// Lgammal is approximated by polynomial within [-.154
                                         ^^                                    
ght root on [-11, -10] \n-// Lgammal is aproximated by polynomial within [-.1541
ght root on [-11, -10] \n+// Lgammal is approximated by polynomial within [-.154
                                         ^^                                    
ght root on [-12, -11] \n-// Lgammal is aproximated by polynomial within [-.1541
ght root on [-12, -11] \n+// Lgammal is approximated by polynomial within [-.154
                                         ^^                                    
ght root on [-13, -12] \n-// Lgammal is aproximated by polynomial within [-.1541
ght root on [-13, -12] \n+// Lgammal is approximated by polynomial within [-.154
                                         ^^                                    
ght root on [-14, -13] \n-// Lgammal is aproximated by polynomial within [-.1541
ght root on [-14, -13] \n+// Lgammal is approximated by polynomial within [-.154
                                         ^^                                    
ght root on [-15, -14] \n-// Lgammal is aproximated by polynomial within [-.1541
ght root on [-15, -14] \n+// Lgammal is approximated by polynomial within [-.154
                                         ^^                                    
ght root on [-16, -15] \n-// Lgammal is aproximated by polynomial within [-.1541
ght root on [-16, -15] \n+// Lgammal is approximated by polynomial within [-.154
                                         ^^                                    
ght root on [-17, -16] \n-// Lgammal is aproximated by polynomial within [-.1541
ght root on [-17, -16] \n+// Lgammal is approximated by polynomial within [-.154
                                         ^^                                    
ght root on [-18, -17] \n-// Lgammal is aproximated by polynomial within [-.1541
ght root on [-18, -17] \n+// Lgammal is approximated by polynomial within [-.154
                                         ^^                                    
ght root on [-19, -18] \n-// Lgammal is aproximated by polynomial within [-.1541
ght root on [-19, -18] \n+// Lgammal is approximated by polynomial within [-.154
                                         ^^                                    
ght root on [-20, -19] \n-// Lgammal is aproximated by polynomial within [-.1541
ght root on [-20, -19] \n+// Lgammal is approximated by polynomial within [-.154
                                         ^^                                    
right root on [-6, -5] \n-// Lgammal is aproximated by polynomial within [-.1564
right root on [-6, -5] \n+// Lgammal is approximated by polynomial within [-.156
                                         ^^                                    
right root on [-5, -4] \n-// Lgammal is aproximated by polynomial within [-.1631
right root on [-5, -4] \n+// Lgammal is approximated by polynomial within [-.163
                                         ^^                                    
right root on [-4, -3] \n-// Lgammal is aproximated by polynomial within [-.1727
right root on [-4, -3] \n+// Lgammal is approximated by polynomial within [-.172
                                         ^^                                    
 left root on [-3, -2] \n-// Lgammal is aproximated by polynomial within [.08464
 left root on [-3, -2] \n+// Lgammal is approximated by polynomial within [.0846
                                         ^^                                    
 left root on [-4, -3] \n-// Lgammal is aproximated by polynomial within [.14714
 left root on [-4, -3] \n+// Lgammal is approximated by polynomial within [.1471
                                         ^^                                    
 left root on [-5, -4] \n-// Lgammal is aproximated by polynomial within [.15567
 left root on [-5, -4] \n+// Lgammal is approximated by polynomial within [.1556
                                         ^^                                    
 left root on [-6, -5] \n-// Lgammal is aproximated by polynomial within [.15742
 left root on [-6, -5] \n+// Lgammal is approximated by polynomial within [.1574
                                         ^^                                    
 left root on [-7, -6] \n-// Lgammal is aproximated by polynomial within [.15774
 left root on [-7, -6] \n+// Lgammal is approximated by polynomial within [.1577
                                         ^^                                    
 left root on [-8, -7] \n-// Lgammal is aproximated by polynomial within [.15779
 left root on [-8, -7] \n+// Lgammal is approximated by polynomial within [.1577
                                         ^^                                    
 left root on [-9, -8] \n-// Lgammal is aproximated by polynomial within [.15780
 left root on [-9, -8] \n+// Lgammal is approximated by polynomial within [.1578
                                         ^^                                    
left root on [-10, -9] \n-// Lgammal is aproximated by polynomial within [.15780
left root on [-10, -9] \n+// Lgammal is approximated by polynomial within [.1578
                                         ^^                                    
eft root on [-11, -10] \n-// Lgammal is aproximated by polynomial within [.15780
eft root on [-11, -10] \n+// Lgammal is approximated by polynomial within [.1578
                                         ^^                                    
eft root on [-12, -11] \n-// Lgammal is aproximated by polynomial within [.15780
eft root on [-12, -11] \n+// Lgammal is approximated by polynomial within [.1578
                                         ^^                                    
eft root on [-13, -12] \n-// Lgammal is aproximated by polynomial within [.15780
eft root on [-13, -12] \n+// Lgammal is approximated by polynomial within [.1578
                                         ^^                                    
eft root on [-14, -13] \n-// Lgammal is aproximated by polynomial within [.15780
eft root on [-14, -13] \n+// Lgammal is approximated by polynomial within [.1578
                                         ^^                                    
eft root on [-15, -14] \n-// Lgammal is aproximated by polynomial within [.15780
eft root on [-15, -14] \n+// Lgammal is approximated by polynomial within [.1578
                                         ^^                                    
eft root on [-16, -15] \n-// Lgammal is aproximated by polynomial within [.15780
eft root on [-16, -15] \n+// Lgammal is approximated by polynomial within [.1578
                                         ^^                                    
eft root on [-17, -16] \n-// Lgammal is aproximated by polynomial within [.15780
eft root on [-17, -16] \n+// Lgammal is approximated by polynomial within [.1578
                                         ^^                                    
eft root on [-18, -17] \n-// Lgammal is aproximated by polynomial within [.15780
eft root on [-18, -17] \n+// Lgammal is approximated by polynomial within [.1578
                                         ^^                                    
eft root on [-19, -18] \n-// Lgammal is aproximated by polynomial within [.15780
eft root on [-19, -18] \n+// Lgammal is approximated by polynomial within [.1578
                                         ^^                                    
             \n-// Near 1 path rational aproximation coefficients \n LOCAL_OBJEC
             \n+// Near 1 path rational approximation coefficients \n LOCAL_OBJE
                                         ^^                                    
            __CONTEXT_ENABLE_VRS \n-Any archecture that implements the Vector un
            __CONTEXT_ENABLE_VRS \n+Any architecture that implements the Vector 
                                            ^^                                 
            __CONTEXT_ENABLE_VRS \n-Any archecture that implements the Vector un
            __CONTEXT_ENABLE_VRS \n+Any architecture that implements the Vector 
                                            ^^                                 
            __CONTEXT_ENABLE_VRS \n-Any archecture that implements the Vector un
            __CONTEXT_ENABLE_VRS \n+Any architecture that implements the Vector 
                                            ^^                                 
                         \n-/* The MIPS archtectures do not have a uniform memor
                         \n+/* The MIPS architectures do not have a uniform memo
                                            ^                                  
    GR_Arg       = FR_Arg        // get arument as double (int64) \n fma.s0     
    GR_Arg       = FR_Arg        // get argument as double (int64) \n fma.s0    
                                          ^                                    
iased exponent and significand of input argment. \n //                          
iased exponent and significand of input argument. \n //                         
                                           ^                                   
     FR_R3,FR_R2 = [GR_ad_RootCo] \n-// argumenth for logarithm \n (p10) fma.s1 
     FR_R3,FR_R2 = [GR_ad_RootCo] \n+// arguments for logarithm \n (p10) fma.s1 
                                                ^                              
"Cs") == 0) \n-/* Surrogates are UTF-16 artefacts, not real characters. Ignore t
"Cs") == 0) \n+/* Surrogates are UTF-16 artifacts, not real characters. Ignore t
                                           ^                                   
ef __NR_utimensat \n-/* The system call espects timespec, not timeval.  */ \n st
ef __NR_utimensat \n+/* The system call aspects timespec, not timeval.  */ \n st
                                        ^                                      
e pathname of the pseudo terminal slave assoicated with \n the master FD is open
e pathname of the pseudo terminal slave associated with \n the master FD is open
                                            ^^                                 
e pathname of the pseudo terminal slave assoicated with \n the master FD is open
e pathname of the pseudo terminal slave associated with \n the master FD is open
                                            ^^                                 
e pathname of the pseudo terminal slave assoicated with \n the master FD is open
e pathname of the pseudo terminal slave associated with \n the master FD is open
                                            ^^                                 
                          else \n-/* We assyme 64bits.  */ \n # define WORD_WIDT
                          else \n+/* We assume 64bits.  */ \n # define WORD_WIDT
                                           ^                                   
n"), obj->li_name); \n-/* XXX Print the attributs here, if they exists */ \n }  
n"), obj->li_name); \n+/* XXX Print the attributes here, if they exists */ \n } 
                                                ^                              
ne DN_ATTRIB 0x00000020 /* File changed attibutes.  */ \n # define DN_MULTISHOT 
ne DN_ATTRIB 0x00000020 /* File changed attributes.  */ \n # define DN_MULTISHOT
                                           ^                                   
ine DF_1_GLOBAUDIT 0x01000000 /* Global auditin required.  */ \n #define DF_1_SI
ine DF_1_GLOBAUDIT 0x01000000 /* Global auditing required.  */ \n #define DF_1_S
                                               ^                               
erminated), envp (likewise), \n-and the auxilary vector.  */ \n /* 32/64-bit agn
erminated), envp (likewise), \n+and the auxiliary vector.  */ \n /* 32/64-bit ag
                                             ^                                 
r memory/string routines \n-if they are avaiable, otherwise it prefers integer \
r memory/string routines \n+if they are available, otherwise it prefers integer 
                                            ^                                  
in name. \n-* 'msg' is a pointer to the begining of the message, \n * 'eomorig' 
in name. \n+* 'msg' is a pointer to the beginning of the message, \n * 'eomorig'
                                            ^^                                 
 field is the fifth field from the \n-* begining of the RPC header. MUST be chan
 field is the fifth field from the \n+* beginning of the RPC header. MUST be cha
                                            ^^                                 
umber field is the  field from the \n-* begining of the RPC header. MUST be chan
umber field is the  field from the \n+* beginning of the RPC header. MUST be cha
                                            ^^                                 
 field is the fifth field from the \n-* begining of the RPC header. MUST be chan
 field is the fifth field from the \n+* beginning of the RPC header. MUST be cha
                                            ^^                                 
umber field is the  field from the \n-* begining of the RPC header. MUST be chan
umber field is the  field from the \n+* beginning of the RPC header. MUST be cha
                                            ^^                                 
 field is the fifth field from the \n-* begining of the RPC header. MUST be chan
 field is the fifth field from the \n+* beginning of the RPC header. MUST be cha
                                            ^^                                 
umber field is the  field from the \n-* begining of the RPC header. MUST be chan
umber field is the  field from the \n+* beginning of the RPC header. MUST be cha
                                            ^^                                 
4       = FR_l_B16, FR_l_Z2, FR_l_B14// bernulli tail \n nop.i         0        
4       = FR_l_B16, FR_l_Z2, FR_l_B14// Bernoulli tail \n nop.i         0       
                                        ^   ^                                  
2        = FR_l_B4, FR_l_Z2, FR_l_B2 // bernulli tail \n nop.i         0        
2        = FR_l_B4, FR_l_Z2, FR_l_B2 // Bernoulli tail \n nop.i         0       
                                        ^   ^                                  
6        = FR_l_B8, FR_l_Z2, FR_l_B6 // bernulli tail \n nop.i         0        
6        = FR_l_B8, FR_l_Z2, FR_l_B6 // Bernoulli tail \n nop.i         0       
                                        ^   ^                                  
0       = FR_l_B12, FR_l_Z2, FR_l_B10// bernulli tail \n nop.i         0        
0       = FR_l_B12, FR_l_Z2, FR_l_B10// Bernoulli tail \n nop.i         0       
                                        ^   ^                                  
        = FR_l_B10, FR_l_Z8, FR_l_B2 // bernulli tail \n nop.i         0        
        = FR_l_B10, FR_l_Z8, FR_l_B2 // Bernoulli tail \n nop.i         0       
                                        ^   ^                                  
    \n-/* This means interfaces changed inbetween the reading of the \n RTM_GETL
    \n+/* This means interfaces changed between the reading of the \n RTM_GETLIN
                                       ^^                                      
ain code points with \n-*   conflicting bidirection category. \n * @STRINGPREP_B
ain code points with \n+*   conflicting bidirectional category. \n * @STRINGPREP
                                                   ^^                          
    \n-Chunks always begin on even word boundries, so the mem portion \n (which 
    \n+Chunks always begin on even word boundaries, so the mem portion \n (which
                                             ^                                 
 + r*A7)), \n-//   all coefficients are calcutated in quad and rounded to double
 + r*A7)), \n+//   all coefficients are calculated in quad and rounded to double
                                             ^                                 
 + r*A7)), \n-//   all coefficients are calcutated in quad and rounded to double
 + r*A7)), \n+//   all coefficients are calculated in quad and rounded to double
                                             ^                                 
= FR_P3,FR_r,FR_P2 \n-// input argument cann't be equal to 1.0 \n cmp.eq        
= FR_P3,FR_r,FR_P2 \n+// input argument can't be equal to 1.0 \n cmp.eq        p
                                         ^ ^                                   
uf_base = fp->_IO_buf_end = NULL; \n-/* Cancelling close should be avoided if po
uf_base = fp->_IO_buf_end = NULL; \n+/* Canceling close should be avoided if pos
                                            ^ ^                                
                                  \n-/* Cancelling close should be avoided if po
                                  \n+/* Canceling close should be avoided if pos
                                            ^ ^                                
                         { \n-/* We are cancelling ourselves, so it is easy to s
                         { \n+/* We are canceling ourselves, so it is easy to su
                                            ^ ^                                
me after \n-the cond_wait call left the cancelable area and is then waiting \n o
me after \n+the cond_wait call left the cancellable area and is then waiting \n 
                                             ^^                                
                         { \n-/* Just a cancelable call.  */ \n struct timespec 
                         { \n+/* Just a cancellable call.  */ \n struct timespec
                                             ^^                                
                         { \n-/* Just a cancelable call.  */ \n struct timespec 
                         { \n+/* Just a cancellable call.  */ \n struct timespec
                                             ^^                                
        ! /bin/sh \n-# Test whether all cancelable functions are cancelable. \n 
        ! /bin/sh \n+# Test whether all cancellable functions are cancellable. \
                                              ^                        ^       
 \n-more specialized for the use in the cancelable functions like write(). \n Th
 \n+more specialized for the use in the cancellable functions like write(). \n T
                                             ^^                                
 +1,4 @@ \n-/* Uncancelable versions of cancelable interfaces.  Generic version.
 +1,4 @@ \n+/* Uncancelable versions of cancellable interfaces.  Generic version
                                             ^^                                
 +1,4 @@ \n-/* Uncancelable versions of cancelable interfaces.  Linux asm-generi
 +1,4 @@ \n+/* Uncancelable versions of cancellable interfaces.  Linux asm-gener
                                             ^^                                
 +1,4 @@ \n-/* Uncancelable versions of cancelable interfaces.  Linux version. \
 +1,4 @@ \n+/* Uncancelable versions of cancellable interfaces.  Linux version. 
                                             ^^                                
 +1,4 @@ \n-/* Uncancelable versions of cancelable interfaces.  Linux/NPTL versi
 +1,4 @@ \n+/* Uncancelable versions of cancellable interfaces.  Linux/NPTL vers
                                             ^^                                
n-/* We have to and actually can handle cancelable system().  The big \n problem
n+/* We have to and actually can handle cancellable system().  The big \n proble
                                             ^^                                
n-/* We have to and actually can handle cancelable system().  The big \n problem
n+/* We have to and actually can handle cancellable system().  The big \n proble
                                             ^^                                
n-/* We have to and actually can handle cancelable system().  The big \n problem
n+/* We have to and actually can handle cancellable system().  The big \n proble
                                             ^^                                
n-/* We have to and actually can handle cancelable system().  The big \n problem
n+/* We have to and actually can handle cancellable system().  The big \n proble
                                             ^^                                
tern int __libc_pause (void); \n-/* Not cancelable variant.  */ \n extern int __
tern int __libc_pause (void); \n+/* Not cancellable variant.  */ \n extern int _
                                             ^^                                
    \n-/* This call should block and be cancelable.  */ \n char buf[20];        
    \n+/* This call should block and be cancellable.  */ \n char buf[20];       
                                             ^^                                
    \n-/* This call should block and be cancelable.  */ \n errno = 0;           
    \n+/* This call should block and be cancellable.  */ \n errno = 0;          
                                             ^^                                
    \n-/* This call should block and be cancelable.  */ \n sem_timedwait (&sem, 
    \n+/* This call should block and be cancellable.  */ \n sem_timedwait (&sem,
                                             ^^                                
    \n-/* This call should block and be cancelable.  */ \n sem_wait (&sem);     
    \n+/* This call should block and be cancellable.  */ \n sem_wait (&sem);    
                                             ^^                                
    \n-/* This call should block and be cancelable.  */ \n sem_wait (&sem);     
    \n+/* This call should block and be cancellable.  */ \n sem_wait (&sem);    
                                             ^^                                
XXX Ideally we do want the thread being cancelable. \n // XXX If demand is there
XXX Ideally we do want the thread being cancellable. \n // XXX If demand is ther
                                             ^^                                
cond_wait'/`pthread_cond_timedwait' are cancelation \n points we must be careful
cond_wait'/`pthread_cond_timedwait' are cancellation \n points we must be carefu
                                             ^^                                
cond_wait'/`pthread_cond_timedwait' are cancelation \n points we must be careful
cond_wait'/`pthread_cond_timedwait' are cancellation \n points we must be carefu
                                             ^^                                
ists \n-which we must remove.  So defer cancelation for now.  */ \n pthread_setc
ists \n+which we must remove.  So defer cancellation for now.  */ \n pthread_set
                                             ^^                                
ists \n-which we must remove.  So defer cancelation for now.  */ \n pthread_setc
ists \n+which we must remove.  So defer cancellation for now.  */ \n pthread_set
                                             ^^                                
                 \n-/* Return values of cancelation function.  */ \n enum       
                 \n+/* Return values of cancellation function.  */ \n enum      
                                             ^^                                
-SYSCALL_CANCELLABLE 1 if the call is a cancelation point \n SYSCALL_NOERRNO  1 
+SYSCALL_CANCELLABLE 1 if the call is a cancellation point \n SYSCALL_NOERRNO  1
                                             ^^                                
\n-/* fprintf() uses write() which is a cancallation point.  */ \n fprintf (fp, 
\n+/* fprintf() uses write() which is a cancellation point.  */ \n fprintf (fp, 
                                            ^                                  
/* We reserve __SIGRTMIN for use as the cancelation signal.  This \n signal is u
/* We reserve __SIGRTMIN for use as the cancellation signal.  This \n signal is 
                                             ^^                                
     \n-/* Now it's time to restore the cancelation state.  */ \n pthread_setcan
     \n+/* Now it's time to restore the cancellation state.  */ \n pthread_setca
                                             ^^                                
     \n-/* Now it's time to restore the cancelation state.  */ \n pthread_setcan
     \n+/* Now it's time to restore the cancellation state.  */ \n pthread_setca
                                             ^^                                
 \n-/* The signal used for asynchronous cancelation.  */ \n #define SIGCANCEL __
 \n+/* The signal used for asynchronous cancellation.  */ \n #define SIGCANCEL _
                                             ^^                                
                         \n-/* Hardware capablity bit numbers are derived direct
                         \n+/* Hardware capability bit numbers are derived direc
                                             ^                                 
ts.  This makes sure that the multibyte chracter digit \n representations are no
ts.  This makes sure that the multibyte character digit \n representations are n
                                          ^                                    
ing was found \n-But as a sign that the chracter is in the stopset we store its 
ing was found \n+But as a sign that the character is in the stopset we store its
                                          ^                                    
SASCII (per the DNS spec), \n-* is this characted special ("in need of quoting")
SASCII (per the DNS spec), \n+* is this character special ("in need of quoting")
                                                ^                              
*  Note: \n-*   A terminating null wide chararacter is always appended to \n *  
*  Note: \n+*   A terminating null wide chararcters is always appended to \n *  
                                              ^   ^                            
                  \n-/* $$dyncall fixes childs PIC register */ \n               
                  \n+/* $$dyncall fixes children PIC register */ \n             
                                             ^ ^                               
                           \n-/* In the childs, unlock the interlock, and start 
                           \n+/* In the children, unlock the interlock, and star
                                             ^ ^                               
The WRITE_BUFFER_SIZE value needs to be choosen such that if we set \n the socke
The WRITE_BUFFER_SIZE value needs to be chosen such that if we set \n the socket
                                         ^ ^                                   
string_copy): /* Check how many 32 byte chunck to copy */ \n srwi.   r7,r5,4    
string_copy): /* Check how many 32 byte chunk to copy */ \n srwi.   r7,r5,4     
                                           ^^                                  
                \n-/* Chebyshev polynom coeficients for (exp(x)-1)/x */ \n #defi
                \n+/* Chebyshev polynom coefficients for (exp(x)-1)/x */ \n #def
                                           ^^                                  
                \n-/* Chebyshev polynom coeficients for (exp(x)-1)/x */ \n #defi
                \n+/* Chebyshev polynom coefficients for (exp(x)-1)/x */ \n #def
                                           ^^                                  
rounded to 16 bits. \n-//    Polynomial coeffitients for Q(z) we have in the tab
rounded to 16 bits. \n+//    Polynomial coefficients for Q(z) we have in the tab
                                              ^                                
= z <= x(i+1)-x(i). \n-//    Polynomial coeffitients we have in the table erfc_p
= z <= x(i+1)-x(i). \n+//    Polynomial coefficients we have in the table erfc_p
                                              ^                                
x(i+1), i = 0,1,2,3 \n-//    Polynomial coeffitients we have in the table erfc_p
x(i+1), i = 0,1,2,3 \n+//    Polynomial coefficients we have in the table erfc_p
                                              ^                                
_exponent_of_x - 0xFFFE \n-// needed to comparion with 0.5 and 2.0 \n br.cond.sp
_exponent_of_x - 0xFFFE \n+// needed to comparing with 0.5 and 2.0 \n br.cond.sp
                                               ^^                              
_exponent_of_x - 0xFFFE \n-// needed to comparion with 0.5 and 2.0 \n }         
_exponent_of_x - 0xFFFE \n+// needed to comparing with 0.5 and 2.0 \n }         
                                               ^^                              
11 \n-jbe LABEL(strcmp_exitz) /* finish comparision */ \n # endif               
11 \n+jbe LABEL(strcmp_exitz) /* finish comparison */ \n # endif                
                                               ^^                              
r11 \n-jbe LABEL(strcmp_exitz)/* finish comparision */ \n #endif                
r11 \n+jbe LABEL(strcmp_exitz)/* finish comparison */ \n #endif                 
                                               ^^                              
pcmpistri to do the scanning and string comparsion requirements of \n sub-string
pcmpistri to do the scanning and string comparison requirements of \n sub-string
                                              ^^                               
. \n-This is to provide backward binary compatility for existing \n audit module
. \n+This is to provide backward binary compatibility for existing \n audit modu
                                               ^                               
l variable.  This \n-provides backwards compatability for existing applications 
l variable.  This \n+provides backwards compatibility for existing applications 
                                              ^                                
 test macros are \n-* here for backward compatability, and will be not be presen
 test macros are \n+* here for backward compatibility, and will be not be presen
                                              ^                                
IBC_2_0, GLIBC_2_1) \n-/* Compiling for compatibiity.  */ \n int                
IBC_2_0, GLIBC_2_1) \n+/* Compiling for compatibility.  */ \n int               
                                                 ^                             
IBC_2_0, GLIBC_2_1) \n-/* Compiling for compatibiity.  */ \n int                
IBC_2_0, GLIBC_2_1) \n+/* Compiling for compatibility.  */ \n int               
                                                 ^                             
ion until \n-runtime but produce NaN at copile time.  This is wrong since the \n
ion until \n+runtime but produce NaN at compile time.  This is wrong since the \
                                          ^                                    
2K \n-/* Get the clock selected for the conditon variable attribute ATTR.  */ \n
2K \n+/* Get the clock selected for the condition variable attribute ATTR.  */ \
                                              ^                                
   \n-/* Set the clock selected for the conditon variable attribute ATTR.  */ \n
   \n+/* Set the clock selected for the condition variable attribute ATTR.  */ \
                                              ^                                
2K \n-/* Get the clock selected for the conditon variable attribute ATTR.  */ \n
2K \n+/* Get the clock selected for the condition variable attribute ATTR.  */ \
                                              ^                                
   \n-/* Set the clock selected for the conditon variable attribute ATTR.  */ \n
   \n+/* Set the clock selected for the condition variable attribute ATTR.  */ \
                                              ^                                
               \n-Bit 0  : flag whether coditional variable will be shareable be
               \n+Bit 0  : flag whether conditional variable will be sharable be
                                          ^                             ^      
                          / \n-//    No condions should be raised. \n //        
                          / \n+//    No conditions should be raised. \n //      
                                             ^                                 
              \n-/* Get system specific contants.  */ \n #include <bits/stropts.
              \n+/* Get system specific constants.  */ \n #include <bits/stropts
                                           ^                                   
 of init-first.  */ \n-/* This variable containts the lowest stack address ever 
 of init-first.  */ \n+/* This variable contains the lowest stack address ever u
                                              ^^                               
maps in all namespaces for the DSO that containes the object at \n address ADDR.
maps in all namespaces for the DSO that contains the object at \n address ADDR. 
                                              ^^                               
      / \n-// In memory, 2/pi is stored contigously as \n //                    
      / \n+// In memory, 2/pi is stored contiguously as \n //                   
                                              ^                                
 := 2 lsb of x. \n-//    2/pi is stored contigously as \n //    0x00000000 0x000
 := 2 lsb of x. \n+//    2/pi is stored contiguously as \n //    0x00000000 0x00
                                              ^                                
 cross from one stack to another. \n-In constrast, the __sigstack_longjmp() impl
 cross from one stack to another. \n+In contrast, the __sigstack_longjmp() imple
                                          ^^                                   
_LOOP_DECLS extra arguments passed from converion loop call. \n                 
_LOOP_DECLS extra arguments passed from conversion loop call. \n                
                                              ^                                
                * \n-* This module does convertions between gb2312 and big5 enco
                * \n+* This module does conversions between gb2312 and big5 enco
                                              ^                                
     \n-/* How many character should be conveted in one call?  */ \n #define GCO
     \n+/* How many character should be converted in one call?  */ \n #define GC
                                             ^                                 
-* hint is used, the code will not work corrrectly.  If PREPAREFORSTORE is not \
+* hint is used, the code will not work correctly.  If PREPAREFORSTORE is not \n
                                         ^  ^                                  
\n-in the repertoire map has the normal correspondants.  This test \n shows the 
\n+in the repertoire map has the normal correspondents.  This test \n shows the 
                                                  ^                            
t pointers \n-// to the base address of coresponding data sets containing values
t pointers \n+// to the base address of corresponding data sets containing value
                                          ^^                                   
t pointers \n-// to the base address of coresponding data sets containing values
t pointers \n+// to the base address of corresponding data sets containing value
                                          ^^                                   
e 0 or 1. Also, let P_0 be the two bits correspoding to \n // bit positions L+2 
e 0 or 1. Also, let P_0 be the two bits corresponding to \n // bit positions L+2
                                                ^                              
                         \n-/* Start of critial section -- keep to one 64Byte ca
                         \n+/* Start of critical section -- keep to one 64Byte c
                                             ^                                 
                         \n-/* Start of critial section -- keep to one 64Byte ca
                         \n+/* Start of critical section -- keep to one 64Byte c
                                             ^                                 
u_int32_t *frag_header; /* beginning of curren fragment */ \n bool_t frag_sent; 
u_int32_t *frag_header; /* beginning of current fragment */ \n bool_t frag_sent;
                                              ^                                
 allocated using \n-malloc, and must be dellocated by the caller using free.  On
 allocated using \n+malloc, and must be deallocated by the caller using free.  O
                                          ^                                    
* Maximum amount by which a process can descrease its asynchronous I/O \n priori
* Maximum amount by which a process can decrease its asynchronous I/O \n priorit
                                         ^^                                    
* Maximum amount by which a process can descrease its asynchronous I/O \n priori
* Maximum amount by which a process can decrease its asynchronous I/O \n priorit
                                         ^^                                    
* Maximum amount by which a process can descrease its asynchronous I/O \n priori
* Maximum amount by which a process can decrease its asynchronous I/O \n priorit
                                         ^^                                    
* Maximum amount by which a process can descrease its asynchronous I/O \n priori
* Maximum amount by which a process can decrease its asynchronous I/O \n priorit
                                         ^^                                    
* Maximum amount by which a process can descrease its asynchronous I/O \n priori
* Maximum amount by which a process can decrease its asynchronous I/O \n priorit
                                         ^^                                    
* Maximum amount by which a process can descrease its asynchronous I/O \n priori
* Maximum amount by which a process can decrease its asynchronous I/O \n priorit
                                         ^^                                    
* Maximum amount by which a process can descrease its asynchronous I/O \n priori
* Maximum amount by which a process can decrease its asynchronous I/O \n priorit
                                         ^^                                    
* Maximum amount by which a process can descrease its asynchronous I/O \n priori
* Maximum amount by which a process can decrease its asynchronous I/O \n priorit
                                         ^^                                    
* Maximum amount by which a process can descrease its asynchronous I/O \n priori
* Maximum amount by which a process can decrease its asynchronous I/O \n priorit
                                         ^^                                    
 \n-timeout to the maximum.  It will be descreased when adding \n new entries to
 \n+timeout to the maximum.  It will be decreased when adding \n new entries to 
                                         ^^                                    
ild errors if the FE_* \n-macros aren't definied. Only allow rounding modes impl
ild errors if the FE_* \n+macros aren't defined. Only allow rounding modes imple
                                            ^^                                 
rintmsg_1(...)) \n-which calls server's defintion of actual function (e.g. print
rintmsg_1(...)) \n+which calls server's definition of actual function (e.g. prin
                                             ^                                 
            -1,4 +1,4 @@ \n-/* Internal defenitions and declarations for pseudo 
            -1,4 +1,4 @@ \n+/* Internal definitions and declarations for pseudo 
                                           ^                                   
              * \n-* The following four defininitions are for backwards compatib
              * \n+* The following four definitions are for backwards compatibil
                                          ^   ^                                
   \ \n-/* If the lower double is not a denomal or zero then set the hidden     
   \ \n+/* If the lower double is not a denormal or zero then set the hidden    
                                            ^                                  
sa1; \n-/* If the lower double is not a denomal or zero then set the hidden \n 5
sa1; \n+/* If the lower double is not a denormal or zero then set the hidden \n 
                                            ^                                  
sa1; \n-/* If the lower double is not a denomal or zero then set the hidden \n 5
sa1; \n+/* If the lower double is not a denormal or zero then set the hidden \n 
                                            ^                                  
) == 0LL) { \n-/* the lower double is a denomal so we need to correct its \n man
) == 0LL) { \n+/* the lower double is a denormal so we need to correct its \n ma
                                            ^                                  
 the highest version index used \n-in a dependecy.  */ \n unsigned int ndx_high 
 the highest version index used \n+in a dependency.  */ \n unsigned int ndx_high
                                               ^                               
             * \n-* This is a bit speed dependant (read it shouldnt be a constan
             * \n+* This is a bit speed dependent (read it shouldn't be a consta
                                              ^                   ^            
             \n-/* Get the architecture dependend definitions.  The following de
             \n+/* Get the architecture dependent definitions.  The following de
                                                ^                              
l character. \n-*  Results of this test depens on results of strcoll(). \n *  If
l character. \n+*  Results of this test depends on results of strcoll(). \n *  I
                                             ^                                 
l character. \n-*  Results of this test depens on results of wcscoll(). \n *  If
l character. \n+*  Results of this test depends on results of wcscoll(). \n *  I
                                             ^                                 
Set up profiling data to profile object desribed by MAP.  The output \n file is 
Set up profiling data to profile object described by MAP.  The output \n file is
                                           ^                                   
 descriptor \n-+ the name of the closed desriptor \n */                         
 descriptor \n++ the name of the closed descriptor \n */                        
                                           ^                                   
           \n-/* We don't need the file desriptor anymore.  */ \n if (close (fd)
           \n+/* We don't need the file descriptor anymore.  */ \n if (close (fd
                                           ^                                   
rce all operations associated with file desriptor described by \n `aio_fildes' m
rce all operations associated with file descriptor described by \n `aio_fildes' 
                                           ^                                   
                \n-/* Return in *HANDLE decriptor for transformation from FROMSE
                \n+/* Return in *HANDLE descriptor for transformation from FROMS
                                          ^                                    
 \n-say that the thread processing this desriptor shall immediately \n after fin
 \n+say that the thread processing this descriptor shall immediately \n after fi
                                           ^                                   
* we have a problem with reading from a desriptor since we must not \n provide t
* we have a problem with reading from a descriptor since we must not \n provide 
                                           ^                                   
for keeping the values in the \n-thread desriptor up-to-date in case the user ch
for keeping the values in the \n+thread descriptor up-to-date in case the user c
                                           ^                                   
            \n-int aio_fildes;  /* File desriptor.  */ \n int aio_lio_opcode;  /
            \n+int aio_fildes;  /* File descriptor.  */ \n int aio_lio_opcode;  
                                           ^                                   
            \n-int aio_fildes;  /* File desriptor.  */ \n int aio_lio_opcode;  /
            \n+int aio_fildes;  /* File descriptor.  */ \n int aio_lio_opcode;  
                                           ^                                   
ignal modifications to the list of FILE decriptors.  */ \n static int _IO_list_a
ignal modifications to the list of FILE descriptors.  */ \n static int _IO_list_
                                          ^                                    
         \n-/* For static linking it is desireable to avoid always linking in th
         \n+/* For static linking it is desirable to avoid always linking in the
                                            ^^                                 
                      \n-/* On Alpha we desparately want to avoid having to issu
                      \n+/* On Alpha we desperately want to avoid having to issu
                                            ^                                  
       Save return address in r0. \n-If destinationn and source are unaligned an
       Save return address in r0. \n+If destination and source are unaligned and
                                                 ^ ^                           
       Save return address in r12 \n-If destinationn is unaligned and count is g
       Save return address in r12 \n+If destination is unaligned and count is gr
                                                 ^ ^                           
       Save return address in r12 \n-If destinationn is unaligned and count is g
       Save return address in r12 \n+If destination is unaligned and count is gr
                                                 ^ ^                           
\n-/* Ensure thread attributes call for deatched thread.  */ \n pthread_attr_set
\n+/* Ensure thread attributes call for detached thread.  */ \n pthread_attr_set
                                          ^^                                   
                      \n-/* Callback to determins if the PC lies within an objec
                      \n+/* Callback to determines if the PC lies within an obje
                                                ^                              
ouble \n-value.  This is indicated by a differnce between the signs of the \n hi
ouble \n+value.  This is indicated by a difference between the signs of the \n h
                                              ^                                
         \n-/* Check if obj is really a diryectory object */ \n if (__type_of (N
         \n+/* Check if obj is really a directory object */ \n if (__type_of (NI
                                          ^^                                   
         \n-/* Check if obj is really a diryectory object */ \n if (__type_of (o
         \n+/* Check if obj is really a directory object */ \n if (__type_of (ob
                                          ^^                                   
uring \n-the interleaved generation.  A discrepency here would suggest \n a prob
uring \n+the interleaved generation.  A discrepancy here would suggest \n a prob
                                               ^                               
andom() \n-to set the initial state.  A discrepency here would suggest that \n s
andom() \n+to set the initial state.  A discrepancy here would suggest that \n s
                                               ^                               
     -1,4 +1,4 @@ \n-/* `long long int' divison with remainder. \n Copyright (C)
     -1,4 +1,4 @@ \n+/* `long long int' division with remainder. \n Copyright (C
                                             ^                                 
  \n-/* Return the remainder of integer divison X / Y with infinite precision.  
  \n+/* Return the remainder of integer division X / Y with infinite precision. 
                                             ^                                 
  \n-/* Return the remainder of integer divison X / Y with infinite precision.  
  \n+/* Return the remainder of integer division X / Y with infinite precision. 
                                             ^                                 
e. \n-*    Even if you set a 'NULL', it doens't mean a NULL pointer. \n *       
e. \n+*    Even if you set a 'NULL', it doesn't mean a NULL pointer. \n *       
                                           ^^                                  
                            { \n-/* For dynamicly linked executables and shared 
                            { \n+/* For dynamically linked executables and share
                                               ^^                              
n-be coming from the ASCII range we can esily convert the \n string without mapp
n+be coming from the ASCII range we can easily convert the \n string without map
                                         ^                                     
mcmp has to use UNSIGNED comparison for elemnts. \n */                          
mcmp has to use UNSIGNED comparison for elements. \n */                         
                                            ^                                  
mcmp has to use UNSIGNED comparison for elemnts. \n */                          
mcmp has to use UNSIGNED comparison for elements. \n */                         
                                            ^                                  
mcmp has to use UNSIGNED comparison for elemnts. \n */                          
mcmp has to use UNSIGNED comparison for elements. \n */                         
                                            ^                                  
mcmp has to use UNSIGNED comparison for elemnts. \n */                          
mcmp has to use UNSIGNED comparison for elements. \n */                         
                                            ^                                  
mcmp has to use UNSIGNED comparison for elemnts. \n */                          
mcmp has to use UNSIGNED comparison for elements. \n */                         
                                            ^                                  
mcmp has to use UNSIGNED comparison for elemnts. \n */                          
mcmp has to use UNSIGNED comparison for elements. \n */                         
                                            ^                                  
*/ \n-#define EM_NCPU  56  /* Sony nCPU embeeded RISC */ \n #define EM_NDR1  57 
*/ \n+#define EM_NCPU  56  /* Sony nCPU embedded RISC */ \n #define EM_NDR1  57 
                                            ^                                  
  \n-/* This function handle the +group entrys in /etc/group */ \n static enum n
  \n+/* This function handle the +group entries in /etc/group */ \n static enum 
                                            ^^                                 
   \n-/* This function handle the +user entrys in /etc/passwd */ \n static enum 
   \n+/* This function handle the +user entries in /etc/passwd */ \n static enum
                                            ^^                                 
   \n-/* This function handle the +user entrys in /etc/shadow */ \n static enum 
   \n+/* This function handle the +user entries in /etc/shadow */ \n static enum
                                            ^^                                 
 Remember the command line argument and enviroment contents for \n later calls o
 Remember the command line argument and environment contents for \n later calls 
                                              ^                                
ion for parse_bracket_exp used in _LIBC environement. \n Build the collating ele
ion for parse_bracket_exp used in _LIBC environment. \n Build the collating elem
                                              ^^                               
ion for parse_bracket_exp used in _LIBC environement. \n Build the range express
ion for parse_bracket_exp used in _LIBC environment. \n Build the range expressi
                                              ^^                               
ion for parse_bracket_exp used in _LIBC environement. \n Seek the collating symb
ion for parse_bracket_exp used in _LIBC environment. \n Seek the collating symbo
                                              ^^                               
v_regs) of vector type (elf_vrreg_t) is essentually \n * an array of 34 quadword
v_regs) of vector type (elf_vrreg_t) is essentially \n * an array of 34 quadword
                                              ^                                
                        \n-/* make sure ethenet length is valid */ \n #define ET
                        \n+/* make sure Ethernet length is valid */ \n #define E
                                        ^   ^                                  
                        \n-/* make sure ethenet length is valid */ \n #define ET
                        \n+/* make sure Ethernet length is valid */ \n #define E
                                        ^   ^                                  
 and sdivcc only 36, \n-* we use sdivcc eventhough it is deprecated. \n */      
 and sdivcc only 36, \n+* we use sdivcc even though it is deprecated. \n */     
                                            ^                                  
 and sdivcc only 36, \n-* we use sdivcc eventhough it is deprecated. \n */      
 and sdivcc only 36, \n+* we use sdivcc even though it is deprecated. \n */     
                                            ^                                  
cles and udiv only 37, \n-* we use udiv eventhough it is deprecated. \n */      
cles and udiv only 37, \n+* we use udiv even though it is deprecated. \n */     
                                            ^                                  
cles and udiv only 37, \n-* we use udiv eventhough it is deprecated. \n */      
cles and udiv only 37, \n+* we use udiv even though it is deprecated. \n */     
                                            ^                                  
on't return const struct datahead *, as eventhough the record \n is normally con
on't return const struct datahead *, as even though the record \n is normally co
                                            ^                                  
ke sure the ldbu/stb asms below are not expaneded to macros.  */ \n #ifndef __al
ke sure the ldbu/stb asms below are not expanded to macros.  */ \n #ifndef __alp
                                            ^^                                 
                       \n-# Precomputed expexted differences between the charmap
                       \n+# Precomputed expected differences between the charmap
                                            ^                                  
           include <errno.h> \n-/* ANSI explicily requires setting errno to a po
           include <errno.h> \n+/* ANSI explicitly requires setting errno to a p
                                               ^                               
 \n-/* Previous three are deprecated in favour of the following, which \n knows 
 \n+/* Previous three are deprecated in favor of the following, which \n knows a
                                           ^^                                  
 * \n-* There is an assumption that any flavour less than AUTH_NULL is \n * inva
 * \n+* There is an assumption that any flavor less than AUTH_NULL is \n * inval
                                            ^^                                 
xists in two both little and big endian flavours and we \n want to be able to sh
xists in two both little and big endian flavors and we \n want to be able to sha
                                            ^^                                 
/* Optional code to distinguish library flavours. \n Copyright (C) 1998-2013 Fre
/* Optional code to distinguish library flavors. \n Copyright (C) 1998-2013 Free
                                            ^^                                 
/* Optional code to distinguish library flavours. \n Copyright (C) 1998-2013 Fre
/* Optional code to distinguish library flavors. \n Copyright (C) 1998-2013 Free
                                            ^^                                 
/* Optional code to distinguish library flavours. \n Copyright (C) 2001-2013 Fre
/* Optional code to distinguish library flavors. \n Copyright (C) 2001-2013 Free
                                            ^^                                 
     \n-/* Implement POSIX semantics by forbiding nesting \n trylock.  Sorry.  A
     \n+/* Implement POSIX semantics by forbidding nesting \n trylock.  Sorry.  
                                             ^^                                
                           * \n-* Print formated string \n */                   
                           * \n+* Print formatted string \n */                  
                                             ^^                                
d cause a compile \n-time warning and a formating error when 32-bit int is passe
d cause a compile \n+time warning and a formatting error when 32-bit int is pass
                                             ^^                                
t have root \n-access to set a constant freqency.  */ \n for (int k = 0; k < 100
t have root \n+access to set a constant frequency.  */ \n for (int k = 0; k < 10
                                            ^                                  
p should cause CPU to switch to maximal freqency. \n This makes subsequent measu
p should cause CPU to switch to maximal frequency. \n This makes subsequent meas
                                            ^                                  
_thumb__ \n-/* Clear the low bit of the funciton address.  */ \n got_addr &= ~(E
_thumb__ \n+/* Clear the low bit of the function address.  */ \n got_addr &= ~(E
                                            ^^                                 
mization.  We will probably \n-create a funcion to set these values.  */ \n stat
mization.  We will probably \n+create a function to set these values.  */ \n sta
                                            ^                                  
   / \n-//     For big s: r = s - w: No futher reduction is necessary \n //     
   / \n+//     For big s: r = s - w: No further reduction is necessary \n //    
                                          ^                                    
   / \n-//     For big s: r = s - w: No futher reduction is necessary \n //     
   / \n+//     For big s: r = s - w: No further reduction is necessary \n //    
                                          ^                                    
   / \n-//     For big s: r = s - w: No futher reduction is necessary \n //     
   / \n+//     For big s: r = s - w: No further reduction is necessary \n //    
                                          ^                                    
  It also insists that vecregs are only gauranteed \n 4 byte alignment so we nee
  It also insists that vecregs are only guaranteed \n 4 byte alignment so we nee
                                         ^^                                    
                              \n-We are guarenteed that we have one of three sit
                              \n+We are guaranteed that we have one of three sit
                                            ^                                  
tation \n-* dependent. The union FQu is guarenteed to be the first field in any 
tation \n+* dependent. The union FQu is guaranteed to be the first field in any 
                                            ^                                  
een processes and threads, \n-therefore habe only ine PID type.  */ \n typedef _
een processes and threads, \n+therefore have only one PID type.  */ \n typedef _
                                          ^       ^                            
een processes and threads, \n-therefore habe only ine PID type.  */ \n typedef _
een processes and threads, \n+therefore have only one PID type.  */ \n typedef _
                                          ^       ^                            
een processes and threads, \n-therefore habe only ine PID type.  */ \n typedef _
een processes and threads, \n+therefore have only one PID type.  */ \n typedef _
                                          ^       ^                            
een processes and threads, \n-therefore habe only ine PID type.  */ \n typedef _
een processes and threads, \n+therefore have only one PID type.  */ \n typedef _
                                          ^       ^                            
een processes and threads, \n-therefore habe only ine PID type.  */ \n typedef _
een processes and threads, \n+therefore have only one PID type.  */ \n typedef _
                                          ^       ^                            
een processes and threads, \n-therefore habe only ine PID type.  */ \n typedef _
een processes and threads, \n+therefore have only one PID type.  */ \n typedef _
                                          ^       ^                            
                 \n-/* This must be one higer than the last used LC_xxx category
                 \n+/* This must be one higher than the last used LC_xxx categor
                                           ^                                   
                      \n-/* Write out a histoogram of the sizes of the allocatio
                      \n+/* Write out a histogram of the sizes of the allocation
                                           ^ ^                                 
                                  \n-/* Honour LD_HWCAP_MASK.  */ \n static void
                                  \n+/* Honor LD_HWCAP_MASK.  */ \n static void 
                                           ^^                                  
 for important hardware capabilities we honour. */ \n EXTERN uint64_t _dl_hwcap_
 for important hardware capabilities we honor. */ \n EXTERN uint64_t _dl_hwcap_m
                                           ^^                                  
er to use only DENSE \n-because of some idiosyncracies in actually using SPARSE.
er to use only DENSE \n+because of some idiosyncrasies in actually using SPARSE.
                                                  ^                            
       -1,4 +1,4 @@ \n-/* i386-specific implemetation of profiling support. \n C
       -1,4 +1,4 @@ \n+/* i386-specific implementation of profiling support. \n 
                                               ^                               
      -1,4 +1,4 @@ \n-/* S/390-specific implemetation of profiling support. \n C
      -1,4 +1,4 @@ \n+/* S/390-specific implementation of profiling support. \n 
                                               ^                               
1,4 +1,4 @@ \n-/* 64 bit S/390-specific implemetation of profiling support. \n C
1,4 +1,4 @@ \n+/* 64 bit S/390-specific implementation of profiling support. \n 
                                               ^                               
      -1,4 +1,4 @@ \n-/* sparc-specific implemetation of profiling support. \n C
      -1,4 +1,4 @@ \n+/* sparc-specific implementation of profiling support. \n 
                                               ^                               
gma warning( disable : 1682 ) /* #1682: ixplicit conversion of a 64-bit integral
gma warning( disable : 1682 ) /* #1682: implicit conversion of a 64-bit integral
                                         ^                                     
   else \n-/* This is a very stupid and inprecise implementation.  It'll get \n 
   else \n+/* This is a very stupid and imprecise implementation.  It'll get \n 
                                         ^                                     
   else \n-/* This is a very stupid and inprecise implementation.  It'll get \n 
   else \n+/* This is a very stupid and imprecise implementation.  It'll get \n 
                                         ^                                     
tial version \n-// 10/10/01 Performance inproved \n // 12/11/01 Changed huges_lo
tial version \n+// 10/10/01 Performance improved \n // 12/11/01 Changed huges_lo
                                         ^                                     
e've more bits of precision \n-than the incomming long, but needed for linkage. 
e've more bits of precision \n+than the incoming long, but needed for linkage.  
                                           ^ ^                                 
e've more bits of precision \n-than the incomming long, but needed for linkage. 
e've more bits of precision \n+than the incoming long, but needed for linkage.  
                                           ^ ^                                 
ed by getcontext and setcontext. \n-The incomming return address register is $0.
ed by getcontext and setcontext. \n+The incoming return address register is $0. 
                                           ^ ^                                 
12.  Besides this      \ \n-there is an incomatibility in the mapping.  The Unic
12.  Besides this      \ \n+there is an incompatibility in the mapping.  The Uni
                                             ^                                 
                   = +1/-1. \n-There is inconsistensy between tst_strcoll() and 
                   = +1/-1. \n+There is inconsistency between tst_strcoll() and 
                                                   ^                           
*/ \n-uint32_t soname;  /* String table indice.  */ \n uint32_t osversion;  /* R
*/ \n+uint32_t soname;  /* String table index.  */ \n uint32_t osversion;  /* Re
                                           ^^                                  
 we use a table which maps \n-ranges to idexes in a table.  This table ca be gen
 we use a table which maps \n+ranges to indexes in a table.  This table ca be ge
                                         ^                                     
_USE_XOPEN2K8 \n-/* We support priority inheritence for robust mutexes.  */ \n #
_USE_XOPEN2K8 \n+/* We support priority inheritance for robust mutexes.  */ \n #
                                               ^                               
              \n-/* We support priority inheritence.  */ \n #define _POSIX_THREA
              \n+/* We support priority inheritance.  */ \n #define _POSIX_THREA
                                               ^                               
but may contain the address of the \n-* inital name server(s) to query and the d
but may contain the address of the \n+* initial name server(s) to query and the 
                                            ^                                  
                     \n-/* Say that the initialisation is done.  */ \n *once_con
                     \n+/* Say that the initialization is done.  */ \n *once_con
                                                ^                              
                     \n-/* Say that the initialisation is done.  */ \n *once_con
                     \n+/* Say that the initialization is done.  */ \n *once_con
                                                ^                              
                     \n-/* Say that the initialisation is done.  */ \n *once_con
                     \n+/* Say that the initialization is done.  */ \n *once_con
                                                ^                              
                     \n-/* Say that the initialisation is done.  */ \n *once_con
                     \n+/* Say that the initialization is done.  */ \n *once_con
                                                ^                              
-/* Now, we do our main work of calling initialisation procedures. \ \n The ELF 
+/* Now, we do our main work of calling initialization procedures. \ \n The ELF 
                                                ^                              
-/* Now, we do our main work of calling initialisation procedures. \n The ELF AB
+/* Now, we do our main work of calling initialization procedures. \n The ELF AB
                                                ^                              
           { \n-/* This needs to run to initiliaze _dl_osversion before TLS \n s
           { \n+/* This needs to run to initialize _dl_osversion before TLS \n s
                                             ^ ^                               
e_size is defined in dl-sysdep.c and is initialised \n by _dl_sysdep_start via D
e_size is defined in dl-sysdep.c and is initialized \n by _dl_sysdep_start via D
                                                ^                              
ld 4-word 16-byte aligned lock. This is initalized \n to all ones by the Linuxth
ld 4-word 16-byte aligned lock. This is initialized \n to all ones by the Linuxt
                                            ^                                  
e translate table must either have been initialised by \n `regcomp', with a mall
e translate table must either have been initialized by \n `regcomp', with a mall
                                                ^                              
mit > 0) \n-/* We limit the size of the intially allocated array.  */ \n size = 
mit > 0) \n+/* We limit the size of the initially allocated array.  */ \n size =
                                          ^                                    
mit > 0) \n-/* We limit the size of the intially allocated array.  */ \n size = 
mit > 0) \n+/* We limit the size of the initially allocated array.  */ \n size =
                                          ^                                    
   /* \n-* Make a first pass and see if inling is possible. \n */               
   /* \n+* Make a first pass and see if inlining is possible. \n */             
                                            ^^                                 
matched by the same character \n-in the iput string.  */ \n if (*fmt != '%')    
matched by the same character \n+in the input string.  */ \n if (*fmt != '%')   
                                         ^                                     
ike \n-'cpuid' right before the `rdtsc' instruciton.  But we are not interested 
ike \n+'cpuid' right before the `rdtsc' instruction.  But we are not interested 
                                               ^^                              
 \n-//   A4,A3,A2 are created with setf inctruction. \n //   We use Taylor serie
 \n+//   A4,A3,A2 are created with setf instruction. \n //   We use Taylor serie
                                          ^                                    
e most natural way using \n-// unsigned interger multiplication. The implementat
e most natural way using \n+// unsigned integer multiplication. The implementati
                                           ^^                                  
 \n-// Note POW_Xm1 and POW_r1 are used interchangably \n { .mfb                
 \n+// Note POW_Xm1 and POW_r1 are used interchangeably \n { .mfb               
                                                  ^                            
 \n-// Note POW_Xm1 and POW_r1 are used interchangably \n { .mfi                
 \n+// Note POW_Xm1 and POW_r1 are used interchangeably \n { .mfi               
                                                  ^                            
                              * \n-* An interrim version of this code (BIND 4.9,
                              * \n+* An interim version of this code (BIND 4.9, 
                                           ^ ^                                 
      /* 0 -> normal request, 1 -> from interruped SG_IO */ \n char sg_io_owned;
      /* 0 -> normal request, 1 -> from interrupted SG_IO */ \n char sg_io_owned
                                                ^                              
 -1,4 +1,4 @@ \n-/* strcspn with SSE4.2 intrinsics \n Copyright (C) 2009-2013 Fr
 -1,4 +1,4 @@ \n+/* strcspn with SSE4.2 intrinsic \n Copyright (C) 2009-2013 Fre
                                                ^^                             
  -1,4 +1,4 @@ \n-/* strspn with SSE4.2 intrinsics \n Copyright (C) 2009-2013 Fr
  -1,4 +1,4 @@ \n+/* strspn with SSE4.2 intrinsic \n Copyright (C) 2009-2013 Fre
                                                ^^                             
  -1,4 +1,4 @@ \n-/* strstr with SSE4.2 intrinsics \n Copyright (C) 2009-2013 Fr
  -1,4 +1,4 @@ \n+/* strstr with SSE4.2 intrinsic \n Copyright (C) 2009-2013 Fre
                                                ^^                             
  -1,4 +1,4 @@ \n-/* strstr with SSE4.2 intrinsics \n Copyright (C) 2010-2013 Fr
  -1,4 +1,4 @@ \n+/* strstr with SSE4.2 intrinsic \n Copyright (C) 2010-2013 Fre
                                                ^^                             
                     \n-/* Official RTM intrinsics interface matching gcc/icc, b
                     \n+/* Official RTM intrinsic interface matching gcc/icc, bu
                                                ^^                             
                    ;; \n-// NR method: ineration #1 \n { .mfi                  
                    ;; \n+// NR method: iteration #1 \n { .mfi                  
                                         ^                                     
                    ;; \n-// NR method: ineration #2 \n { .mfi                  
                    ;; \n+// NR method: iteration #2 \n { .mfi                  
                                         ^                                     
                    ;; \n-// NR method: ineration #3 \n { .mfi                  
                    ;; \n+// NR method: iteration #3 \n { .mfi                  
                                         ^                                     
 \n-//    with following Newton-Raphson interations. \n //                      
 \n+//    with following Newton-Raphson iterations. \n //                       
                                        ^^                                     
struction with following Newton-Raphson interations. \n //                      
struction with following Newton-Raphson iterations. \n //                       
                                        ^^                                     
re proper null termination.  We \n-read jst one entry at a time above so we know
re proper null termination.  We \n+read just one entry at a time above so we kno
                                         ^                                     
 TLS program header entry.  The data is layed out assuming \n that the first byt
 TLS program header entry.  The data is laid out assuming \n that the first byte
                                          ^                                    
p, the \n-clustered option always comes laster.  */ \n return group_cmp (group1,
p, the \n+clustered option always comes last.  */ \n return group_cmp (group1, h
                                           ^^                                  
 and return. \n-2c. Zflg = 1, sflg = 1, lenth determine match or no match \n    
 and return. \n+2c. Zflg = 1, sflg = 1, length determine match or no match \n   
                                           ^                                   
() would hit the first \n-mmaped shared libaries and couldn't expand anymore. Wi
() would hit the first \n+mmaped shared libraries and couldn't expand anymore. W
                                           ^                                   
-Some countries require that you have a licence to use, possess, or import \n cr
+Some countries require that you have a license to use, possess, or import \n cr
                                             ^                                 
FC-crypt but is not covered by any \n-* licence. \n *                           
FC-crypt but is not covered by any \n+* license. \n *                           
                                             ^                                 
K = GR_N_fix, 12, 32         // Extract limite range K \n }                     
K = GR_N_fix, 12, 32         // Extract limit range K \n }                      
                                            ^^                                 
GET 0x400 /* Set if put and get pointer logicly tied. */ \n #define _IO_CURRENTL
GET 0x400 /* Set if put and get pointer logically tied. */ \n #define _IO_CURREN
                                             ^^                                
      \ \n-may need to adjust the lower manitissa to reflect this.  */       \ \
      \ \n+may need to adjust the lower mantissa to reflect this.  */       \ \n
                                          ^^                                   
er.  We may \n-need to adjust the lower manitissa to reflect this.  */ \n ediff 
er.  We may \n+need to adjust the lower mantissa to reflect this.  */ \n ediff =
                                          ^^                                   
er.  We \n-may need to adjust the lower manitissa to reflect this.  */ \n ediff 
er.  We \n+may need to adjust the lower mantissa to reflect this.  */ \n ediff =
                                          ^^                                   
n-Note that the matcher assume that the maching starts from the current \n index
n+Note that the matcher assume that the matching starts from the current \n inde
                                          ^                                    
                \n-/* Build single byte matcing table for this equivalence class
                \n+/* Build single byte matching table for this equivalence clas
                                            ^                                  
to get a file descriptor for the shared meory segment \n containing the database
to get a file descriptor for the shared memory segment \n containing the databas
                                          ^                                    
to get a file descriptor for the shared meory segment \n containing the database
to get a file descriptor for the shared memory segment \n containing the databas
                                          ^                                    
\n-bne- cr1,L(parent)  /* The '-' is to minimise the race.  */ \n               
\n+bne- cr1,L(parent)  /* The '-' is to minimize the race.  */ \n               
                                              ^                                
\n-bne- cr1,L(parent)  /* The '-' is to minimise the race.  */ \n               
\n+bne- cr1,L(parent)  /* The '-' is to minimize the race.  */ \n               
                                              ^                                
a8 0x3FDD8B618D5AF8FE // point of local minium (0.461632144968362356785) \n //  
a8 0x3FDD8B618D5AF8FE // point of local minimum (0.461632144968362356785) \n // 
                                            ^                                  
                                  \n-/* Minumum stack size for a signal handler.
                                  \n+/* Minimum stack size for a signal handler.
                                           ^                                   
                            \n-/* Don't modifiy errno when reaching EOF.  */ \n 
                            \n+/* Don't modify errno when reaching EOF.  */ \n i
                                            ^^                                 
/* First hash function: simply take the modul but prevent zero.  */ \n hash = 1 
/* First hash function: simply take the modulo but prevent zero.  */ \n hash = 1
                                             ^                                 
/* First hash function: simply take the modul but prevent zero. */ \n idx = hval
/* First hash function: simply take the modulo but prevent zero. */ \n idx = hva
                                             ^                                 
 Add object to slot information data if necessasy.  */ \n if (l->l_tls_blocksize
 Add object to slot information data if necessary.  */ \n if (l->l_tls_blocksize
                                               ^                               
 Add object to slot information data if necessasy.  */ \n if (l->l_tls_blocksize
 Add object to slot information data if necessary.  */ \n if (l->l_tls_blocksize
                                               ^                               
\n-# define TCPI_OPT_ECN  8  /* ECN was negociated at TCP session init */ \n # d
\n+# define TCPI_OPT_ECN  8  /* ECN was negotiated at TCP session init */ \n # d
                                            ^                                  
               \n-// here if x falls in neighbourhood of any negative root \n //
               \n+// here if x falls in neighborhood of any negative root \n // 
                                              ^^                               
_LIMIT is set based on the fact that we neve use an offset greater \n * then 5 o
_LIMIT is set based on the fact that we never use an offset greater \n * then 5 
                                            ^                                  
                        \n-/* Make sure noone compiles this code with a C++ comp
                        \n+/* Make sure no one compiles this code with a C++ com
                                          ^                                    
-it failed at process start as well and noone could have used \n robust mutexes.
+it failed at process start as well and no one could have used \n robust mutexes
                                          ^                                    
cells. \n-This deallocates the ports if noone else is still using them.  */ \n _
cells. \n+This deallocates the ports if no one else is still using them.  */ \n 
                                          ^                                    
                                { \n-/* Noone has updated the entry and the new 
                                { \n+/* No one has updated the entry and the new
                                          ^                                    
                                { \n-/* Noone has updated the entry and the new 
                                { \n+/* No one has updated the entry and the new
                                          ^                                    
\n-/* Wait for a message on a port that noone sends to.  The purpose is \n the r
\n+/* Wait for a message on a port that no one sends to.  The purpose is \n the 
                                          ^                                    
ntrol signal, but we are \n-orphaned so noone would ever notice and continue us 
ntrol signal, but we are \n+orphaned so no one would ever notice and continue us
                                          ^                                    
from the address \n-in numbers-and-dots natation starting at CP.  */ \n extern i
from the address \n+in numbers-and-dots notation starting at CP.  */ \n extern i
                                         ^                                     
n-#define NOTIFY_WOKENUP  1 /* Code for notifcation.  */ \n #define NOTIFY_REMOV
n+#define NOTIFY_WOKENUP  1 /* Code for notification.  */ \n #define NOTIFY_REMO
                                             ^                                 
n the structure tree. \n-If an error is occured, ERR is set by error code, and r
n the structure tree. \n+If an error is occurred, ERR is set by error code, and 
                                            ^^                                 
 have ELEM. \n-return -1 if an error is occured, return 1 otherwise.  */ \n     
 have ELEM. \n+return -1 if an error is occurred, return 1 otherwise.  */ \n    
                                            ^^                                 
al to ELEM. \n-Return -1 if an error is occured, return 1 otherwise.  */ \n     
al to ELEM. \n+Return -1 if an error is occurred, return 1 otherwise.  */ \n    
                                            ^^                                 
ke "{,1}". \n-Return -2, If an error is occured.  */ \n                         
ke "{,1}". \n+Return -2, If an error is occurred.  */ \n                        
                                            ^^                                 
n. \n-Or return -1, if an error will be occured.  */ \n                         
n. \n+Or return -1, if an error will be occurred.  */ \n                        
                                            ^^                                 
                       \n-/* Some error occured.  */ \n return -1;              
                       \n+/* Some error occurred.  */ \n return -1;             
                                            ^^                                 
                       \n-/* Some error occured.  */ \n return -1;              
                       \n+/* Some error occurred.  */ \n return -1;             
                                            ^^                                 
                       \n-/* Some error occured.  */ \n return -1;              
                       \n+/* Some error occurred.  */ \n return -1;             
                                            ^^                                 
                       \n-/* Some error occured.  */ \n return -1;              
                       \n+/* Some error occurred.  */ \n return -1;             
                                            ^^                                 
 +1,4 @@ \n-/* strrchr -- find the last occurence of C in a nul-terminated strin
 +1,4 @@ \n+/* strrchr -- find the last occurrence of C in a nul-terminated stri
                                            ^^                                 
 \n-/* Return: the address of the first occurence of chr in str or NULL \n      
 \n+/* Return: the address of the first occurrence of chr in str or NULL \n     
                                            ^^                                 
 \n-/* Return: the address of the first occurence of chr in str or NULL \n      
 \n+/* Return: the address of the first occurrence of chr in str or NULL \n     
                                            ^^                                 
                  \n-/* We successfully openened the file.  Now verify it is a f
                  \n+/* We successfully opened the file.  Now verify it is a fil
                                         ^   ^                                 
ieee854 112 \n-bit mantissa so the next operatation will give the correct result
ieee854 112 \n+bit mantissa so the next operation will give the correct result. 
                                           ^  ^                                
  \n-// In the case of a backward copy, optimise only the case when everything \
  \n+// In the case of a backward copy, optimize only the case when everything \
                                              ^                                
           item \n-Liubov Dmitrieva for optimzed string and math functions on x8
           item \n+Liubov Dmitrieva for optimized string and math functions on x
                                             ^                                 
*/ \n-#define SOMAXCONN 128 /* 5 on the origional 4.4 BSD.  */ \n               
*/ \n+#define SOMAXCONN 128 /* 5 on the original 4.4 BSD.  */ \n                
                                            ^^                                 
*/ \n-#define SOMAXCONN 128 /* 5 on the origional 4.4 BSD.  */ \n               
*/ \n+#define SOMAXCONN 128 /* 5 on the original 4.4 BSD.  */ \n                
                                            ^^                                 
 to make it so.  We'll \n-overwrite the origional ARGV[0] at P with ARGV[_dl_ski
 to make it so.  We'll \n+overwrite the original ARGV[0] at P with ARGV[_dl_skip
                                            ^^                                 
   \n-/* The variable now must have its originial value.  */ \n if (*vp != 0)   
   \n+/* The variable now must have its original value.  */ \n if (*vp != 0)    
                                             ^^                                
   \n-/* The variable now must have its originial value.  */ \n if (*vp != 0)   
   \n+/* The variable now must have its original value.  */ \n if (*vp != 0)    
                                             ^^                                
   \n-/* The variable now must have its originial value.  */ \n if (*vp != 42)  
   \n+/* The variable now must have its original value.  */ \n if (*vp != 42)   
                                             ^^                                
 M_SQRT being defined.  So we do it for ourself \n here.  */                    
 M_SQRT being defined.  So we do it for ourselves \n here.  */                  
                                              ^ ^                              
segments. \n-We have to allocate memory ourself and copy it over from out \n tem
segments. \n+We have to allocate memory ourselves and copy it over from out \n t
                                              ^ ^                              
hould name a FIFO.  We open it and mark ourself as active.  */ \n const char *ou
hould name a FIFO.  We open it and mark ourselves as active.  */ \n const char *
                                              ^ ^                              
         { \n-/* We must do the padding ourself since the unit character must \n
         { \n+/* We must do the padding ourselves since the unit character must 
                                              ^ ^                              
     else \n-/* We take care of locking ourself.  */ \n __fsetlocking (ent->stre
     else \n+/* We take care of locking ourselves.  */ \n __fsetlocking (ent->st
                                              ^ ^                              
     else \n-/* We take care of locking ourself.  */ \n __fsetlocking (ent->stre
     else \n+/* We take care of locking ourselves.  */ \n __fsetlocking (ent->st
                                              ^ ^                              
     else \n-/* We take care of locking ourself.  */ \n __fsetlocking (ent->stre
     else \n+/* We take care of locking ourselves.  */ \n __fsetlocking (ent->st
                                              ^ ^                              
     else \n-/* We take care of locking ourself.  */ \n __fsetlocking (ent->stre
     else \n+/* We take care of locking ourselves.  */ \n __fsetlocking (ent->st
                                              ^ ^                              
 have \n-to step through the whole list ourself.  */ \n iter:                   
 have \n+to step through the whole list ourselves.  */ \n iter:                 
                                              ^ ^                              
llocated.  If necessary we are doing it ourself.  If it is not \n possible we st
llocated.  If necessary we are doing it ourselves.  If it is not \n possible we 
                                              ^ ^                              
for compatibility but don't do anything ourself.  We might in \n future do some 
for compatibility but don't do anything ourselves.  We might in \n future do som
                                              ^ ^                              
NU CC we have to define all the symbols ourself. \n Otherwise use gcc's definiti
NU CC we have to define all the symbols ourselves. \n Otherwise use gcc's defini
                                              ^ ^                              
               \n-/* Nonzero if verbose ouput is wanted.  */ \n extern int verbo
               \n+/* Nonzero if verbose output is wanted.  */ \n extern int verb
                                          ^                                    
               \n-/* Nonzero if verbose ouput is wanted.  */ \n int verbose;    
               \n+/* Nonzero if verbose output is wanted.  */ \n int verbose;   
                                          ^                                    
file{string.h}.  Note, this function is overriden by the XPG \n version, if @fil
file{string.h}.  Note, this function is overridden by the XPG \n version, if @fi
                                              ^^                               
information pointed to by the \n-second paramater is invalid. \n @item FTW_DNR  
information pointed to by the \n+second parameter is invalid. \n @item FTW_DNR  
                                             ^                                 
a structure pointed to by the \n-fourth paramater must be 16-byte aligned.  This
a structure pointed to by the \n+fourth parameter must be 16-byte aligned.  This
                                             ^                                 
\n-#define EXPAND_NAME (1<<6) /* Expand partitially qualified names */ \n       
\n+#define EXPAND_NAME (1<<6) /* Expand partially qualified names */ \n         
                                          ^  ^                                 
                       \n-/* Nonzero if pedentic checking of all blocks is reque
                       \n+/* Nonzero if pedantic checking of all blocks is reque
                                           ^                                   
-* prefetches appears to offer a slight preformance advantage. \n *             
+* prefetches appears to offer a slight performance advantage. \n *             
                                         ^^                                    
h to rotate each 28 bit half of the pc1 permutated \n *  56 bit key before using
h to rotate each 28 bit half of the pc1 permuted \n *  56 bit key before using p
                                            ^ ^                                
        /* \n-* And find a bit in the e permutated value setting this bit. \n * 
        /* \n+* And find a bit in the e permuted value setting this bit. \n *   
                                            ^ ^                                
* Pointers into the key array, possibly permutated, to define an order \n for in
* Pointers into the key array, possibly permuted, to define an order \n for inse
                                            ^ ^                                
                     \n-/* asm/ptrace.h polutes the namespace.  */ \n #undef PTR
                     \n+/* asm/ptrace.h pollutes the namespace.  */ \n #undef PT
                                          ^^                                   
o not care much \n-about what namespace polution, so use a kludge now.  */ \n #u
o not care much \n+about what namespace pollution, so use a kludge now.  */ \n #
                                          ^^                                   
START(log10_data) \n-// coefficients of polynoimal approximation \n data8 0x3FC2
START(log10_data) \n+// coefficients of polynomial approximation \n data8 0x3FC2
                                              ^^                               
          / \n-//    Here we use simple polynimial computations, where last step
          / \n+//    Here we use simple polynomial computations, where last step
                                             ^                                 
                        \n-// X zero  Y positve \n //  +0     +odd integer      
                        \n+// X zero  Y positive \n //  +0     +odd integer     
                                             ^                                 
                        \n-// X zero  Y positve \n //  +0     +odd integer      
                        \n+// X zero  Y positive \n //  +0     +odd integer     
                                             ^                                 
ses and then mask off \n-the bytes that preceed the start point.  */ \n bic src1
ses and then mask off \n+the bytes that precede the start point.  */ \n bic src1
                                             ^^                                
 each \n-chunk in a list is known to be preceeded and followed by either \n inus
 each \n+chunk in a list is known to be preceded and followed by either \n inuse
                                           ^ ^                                 
M; if POST is false, then \n-everything preceeding a `\v' character in the docum
M; if POST is false, then \n+everything preceding a `\v' character in the docume
                                           ^ ^                                 
KEY_HELP_PRE_DOC 0x2000001 /* Help text preceeding options. */ \n #define ARGP_K
KEY_HELP_PRE_DOC 0x2000001 /* Help text preceding options. */ \n #define ARGP_KE
                                           ^ ^                                 
4 architecture computes values with the precission of the \n used type.  Similar
4 architecture computes values with the precision of the \n used type.  Similarl
                                            ^ ^                                
gle correct result.       \ \n-We use a preferrence order which depends on the l
gle correct result.       \ \n+We use a preference order which depends on the la
                                            ^ ^                                
rred \n-* charset (or thread's locale's preffered charset, if your system \n * s
rred \n+* charset (or thread's locale's preferred charset, if your system \n * s
                                            ^^                                 
              \n-/* Single byte copy of prevous stack onto newly allocated stack
              \n+/* Single byte copy of previous stack onto newly allocated stac
                                            ^                                  
                    \n-/* These two are primerily concerned with ECOFF debugging
                    \n+/* These two are primarily concerned with ECOFF debugging
                                            ^                                  
    0 principal isn't in any group \n-1 pirncipal is in group */ \n static int  
    0 principal isn't in any group \n+1 principal is in group */ \n static int  
                                         ^^                                    
    \ \n-" depi 0,31,2,%r19\n" /* clear priviledge bits */  \ \n "0: addil L'_DY
    \ \n+" depi 0,31,2,%r19\n" /* clear privilege bits */  \ \n "0: addil L'_DYN
                                              ^^                               
s to be reachable by res_data.c but not publically. */ \n int                   
s to be reachable by res_data.c but not publicly. */ \n int                     
                                             ^^                                
        / \n-//    But for optimization perposes the reconstruction step is slig
        / \n+//    But for optimization purposes the reconstruction step is slig
                                         ^                                     
 calling convention sign-extends 32-bit quantties \n no matter what the "real" s
 calling convention sign-extends 32-bit quantities \n no matter what the "real" 
                                             ^                                 
a=t; \n-return ((int) sum)&3; /* return quater of unit circle */ \n }           
a=t; \n+return ((int) sum)&3; /* return quarter of unit circle */ \n }          
                                           ^                                   
the names.  Unless otherwise specified, qoute them.  */ \n if (g.gl_pathv)      
the names.  Unless otherwise specified, quote them.  */ \n if (g.gl_pathv)      
                                         ^^                                    
ing} is not null has the side-effect of reinitializing the \n stored shift state
ing} is not null has the side-effect of re-initializing the \n stored shift stat
                                          ^                                    
           else \n-/* The user wants to reparse some args, give getopt another t
           else \n+/* The user wants to re-parse some args, give getopt another 
                                          ^                                    
n-/* End of input string -- remember to reparse the character that we \n * stopp
n+/* End of input string -- remember to re-parse the character that we \n * stop
                                          ^                                    
    / \n-//    So, the result should be reconstracted as follows: \n //    acos(
    / \n+//    So, the result should be reconstructed as follows: \n //    acos(
                                                ^                              
    / \n-//    So, the result should be reconstracted as follows: \n //    asin(
    / \n+//    So, the result should be reconstructed as follows: \n //    asin(
                                                ^                              
  p13, p12       = GR_p_XN, 0x0 // p13: reccurent computations \n // X is at [3;
  p13, p12       = GR_p_XN, 0x0 // p13: recurrent computations \n // X is at [3;
                                           ^^                                  
1 - Near 0 part \n-//    a) Here we use reccurent formula TGAMMAL(X) = TGAMMAL(X
1 - Near 0 part \n+//    a) Here we use recurrent formula TGAMMAL(X) = TGAMMAL(X
                                           ^^                                  
.5 \n-//       For odd intervals we use reccurent formula: \n //       TGAMMAL(X
.5 \n+//       For odd intervals we use recurrent formula: \n //       TGAMMAL(X
                                           ^^                                  
ferenced.  The v_regd field \n-* can be refernced safely only after verifying th
ferenced.  The v_regd field \n+* can be referenced safely only after verifying t
                                             ^                                 
allocated. \n-* size is the size of the referneced structure. \n * proc is the r
allocated. \n+* size is the size of the referenced structure. \n * proc is the r
                                             ^^                                
                     \n-/* Size of an X regiser in bytes. */ \n #define SZREG   
                     \n+/* Size of an X register in bytes. */ \n #define SZREG  
                                             ^                                 
y on the kernel preserving the argument regsiters across a \n each system call s
y on the kernel preserving the argument registers across a \n each system call s
                                           ^^                                  
 return value is stored in r3 (or r3:r4 regiters pair). \n Linux syscall uses th
 return value is stored in r3 (or r3:r4 registers pair). \n Linux syscall uses t
                                            ^                                  
 the \n-* maximum number of outstanding regiters window defined in the SPARC \n 
 the \n+* maximum number of outstanding registers window defined in the SPARC \n
                                            ^                                  
n-j      .Linternal_sigsetjmp /* branch relativ to __sigsetjmp */ \n END (__setj
n+j      .Linternal_sigsetjmp /* branch relative to __sigsetjmp */ \n END (__set
                                               ^                               
n-j      .Linternal_sigsetjmp /* branch relativ to __sigsetjmp */ \n END (_setjm
n+j      .Linternal_sigsetjmp /* branch relative to __sigsetjmp */ \n END (_setj
                                               ^                               
n-j      .Linternal_sigsetjmp /* branch relativ to __sigsetjmp */ \n END (setjmp
n+j      .Linternal_sigsetjmp /* branch relative to __sigsetjmp */ \n END (setjm
                                               ^                               
n-j      .Linternal_sigsetjmp /* Branch relativ to __sigsetjmp.  */ \n END (setj
n+j      .Linternal_sigsetjmp /* Branch relative to __sigsetjmp.  */ \n END (set
                                               ^                               
n-j      .Linternal_sigsetjmp /* Branch relativ to __sigsetjmp.  */ \n END (setj
n+j      .Linternal_sigsetjmp /* Branch relative to __sigsetjmp.  */ \n END (set
                                               ^                               
n-j      .Linternal_sigsetjmp /* Branch relativ to __sigsetjmp.  */ \n END (setj
n+j      .Linternal_sigsetjmp /* Branch relative to __sigsetjmp.  */ \n END (set
                                               ^                               
d from \n-argp_state_help, STATE is the relevent parsing state.  FLAGS are from 
d from \n+argp_state_help, STATE is the relevant parsing state.  FLAGS are from 
                                             ^                                 
f we are profiling we also must do lazy reloaction.  */ \n GLRO(dl_lazy) |= cons
f we are profiling we also must do lazy relocation.  */ \n GLRO(dl_lazy) |= cons
                                            ^^                                 
d */ \n-PTR_SUBU a2,a2,a3  /* a2 is the remining bytes count */ \n              
d */ \n+PTR_SUBU a2,a2,a3  /* a2 is the remaining bytes count */ \n             
                                           ^                                   
ed */ \n-PTR_SUBU a2,a2,a3 /* a2 is the remining bytes count */ \n              
ed */ \n+PTR_SUBU a2,a2,a3 /* a2 is the remaining bytes count */ \n             
                                           ^                                   
         obtained like ix from register representatinos of 255/256 and \n //    
         obtained like ix from register representations of 255/256 and \n //    
                                                    ^^                         
in information.  Clear first to provide reproducable \n results for the fields w
in information.  Clear first to provide reproducible \n results for the fields w
                                                ^                              
SH_NODOM \n-YPPUSH_RSRC = -3,  /* Local resouce alloc failure */ \n #define YPPU
SH_NODOM \n+YPPUSH_RSRC = -3,  /* Local resource alloc failure */ \n #define YPP
                                             ^                                 
and 832B \n-for 32-bit and 64-bit files respecitvely is enough.  If this \n heur
and 832B \n+for 32-bit and 64-bit files respectively is enough.  If this \n heur
                                              ^^                               
                 ldo 192(%sp),%sp \n-/* Retore callers rp */ \n ldw -20(%sp),%rp
                 ldo 192(%sp),%sp \n+/* Restore callers rp */ \n ldw -20(%sp),%r
                                          ^                                    
                                  \n-/* Retore r28 and r27 and r2 already points
                                  \n+/* Restore r28 and r27 and r2 already point
                                          ^                                    
 pointer we must be able to save \n-and retore the state.  */ \n #define SAVE_RE
 pointer we must be able to save \n+and restore the state.  */ \n #define SAVE_R
                                          ^                                    
 pointer we must be able to save \n-and retore the state.  */ \n #define SAVE_RE
 pointer we must be able to save \n+and restore the state.  */ \n #define SAVE_R
                                          ^                                    
 pointer we must be able to save \n-and retore the state.  */ \n #define SAVE_RE
 pointer we must be able to save \n+and restore the state.  */ \n #define SAVE_R
                                          ^                                    
 pointer we must be able to save \n-and retore the state.  */ \n #define SAVE_RE
 pointer we must be able to save \n+and restore the state.  */ \n #define SAVE_R
                                          ^                                    
 pointer we must be able to save \n-and retore the state.  */ \n #define SAVE_RE
 pointer we must be able to save \n+and restore the state.  */ \n #define SAVE_R
                                          ^                                    
 pointer we must be able to save \n-and retore the state.  */ \n #define SAVE_RE
 pointer we must be able to save \n+and restore the state.  */ \n #define SAVE_R
                                          ^                                    
 pointer we must be able to save \n-and retore the state.  */ \n #define SAVE_RE
 pointer we must be able to save \n+and restore the state.  */ \n #define SAVE_R
                                          ^                                    
 pointer we must be able to save \n-and retore the state.  */ \n #define SAVE_RE
 pointer we must be able to save \n+and restore the state.  */ \n #define SAVE_R
                                          ^                                    
 pointer we must be able to save \n-and retore the state.  */ \n #define SAVE_RE
 pointer we must be able to save \n+and restore the state.  */ \n #define SAVE_R
                                          ^                                    
 pointer we must be able to save \n-and retore the state.  */ \n #define SAVE_RE
 pointer we must be able to save \n+and restore the state.  */ \n #define SAVE_R
                                          ^                                    
 pointer we must be able to save \n-and retore the state.  */ \n #define SAVE_RE
 pointer we must be able to save \n+and restore the state.  */ \n #define SAVE_R
                                          ^                                    
                        * \n-* Error is returnd but inbuf is consumed. \n *     
                        * \n+* Error is returned but inbuf is consumed. \n *    
                                              ^                                
s the thread ID of the child process is returend in \n the callers context.     
s the thread ID of the child process is returned in \n the callers context.     
                                             ^^                                
 and, \n-with suitable 'siam' initiated rouding mode settings, round \n the fina
 and, \n+with suitable 'siam' initiated rounding mode settings, round \n the fin
                                           ^                                   
 and, \n-with suitable 'siam' initiated rouding mode settings, round \n the fina
 and, \n+with suitable 'siam' initiated rounding mode settings, round \n the fin
                                           ^                                   
 and, \n-with suitable 'siam' initiated rouding mode settings, round \n the fina
 and, \n+with suitable 'siam' initiated rounding mode settings, round \n the fin
                                           ^                                   
 and, \n-with suitable 'siam' initiated rouding mode settings, round \n the fina
 and, \n+with suitable 'siam' initiated rounding mode settings, round \n the fin
                                           ^                                   
 and, \n-with suitable 'siam' initiated rouding mode settings, round \n the fina
 and, \n+with suitable 'siam' initiated rounding mode settings, round \n the fin
                                           ^                                   
 and, \n-with suitable 'siam' initiated rouding mode settings, round \n the fina
 and, \n+with suitable 'siam' initiated rounding mode settings, round \n the fin
                                           ^                                   
 and, \n-with suitable 'siam' initiated rouding mode settings, round \n the fina
 and, \n+with suitable 'siam' initiated rounding mode settings, round \n the fin
                                           ^                                   
 and, \n-with suitable 'siam' initiated rouding mode settings, round \n the fina
 and, \n+with suitable 'siam' initiated rounding mode settings, round \n the fin
                                           ^                                   
 and, \n-with suitable 'siam' initiated rouding mode settings, round \n the fina
 and, \n+with suitable 'siam' initiated rounding mode settings, round \n the fin
                                           ^                                   
 and, \n-with suitable 'siam' initiated rouding mode settings, round \n the fina
 and, \n+with suitable 'siam' initiated rounding mode settings, round \n the fin
                                           ^                                   
 and, \n-with suitable 'siam' initiated rouding mode settings, round \n the fina
 and, \n+with suitable 'siam' initiated rounding mode settings, round \n the fin
                                           ^                                   
 and, \n-with suitable 'siam' initiated rouding mode settings, round \n the fina
 and, \n+with suitable 'siam' initiated rounding mode settings, round \n the fin
                                           ^                                   
 and, \n-with suitable 'siam' initiated rouding mode settings, round \n the fina
 and, \n+with suitable 'siam' initiated rounding mode settings, round \n the fin
                                           ^                                   
 and, \n-with suitable 'siam' initiated rouding mode settings, round \n the fina
 and, \n+with suitable 'siam' initiated rounding mode settings, round \n the fin
                                           ^                                   
 and, \n-with suitable 'siam' initiated rouding mode settings, round \n the fina
 and, \n+with suitable 'siam' initiated rounding mode settings, round \n the fin
                                           ^                                   
 and, \n-with suitable 'siam' initiated rouding mode settings, round \n the fina
 and, \n+with suitable 'siam' initiated rounding mode settings, round \n the fin
                                           ^                                   
/* Alpha chips support all four defined rouding modes. \n                       
/* Alpha chips support all four defined rounding modes. \n                      
                                           ^                                   
s sent to process 0, and that \n-we can savely assume there is no other process 
s sent to process 0, and that \n+we can safely assume there is no other process 
                                          ^                                    
                                 \n-//  satiration path ////////////////////////
                                 \n+//  saturation path ////////////////////////
                                           ^                                   
                                 \n-//  satiration path ////////////////////////
                                 \n+//  saturation path ////////////////////////
                                           ^                                   
                        \n-/* Raise the safed exception.  Incidently for us the 
                        \n+/* Raise the saved exception.  Incidently for us the 
                                          ^                                    
                        \n-/* Raise the safed exception.  Incidently for us the 
                        \n+/* Raise the saved exception.  Incidently for us the 
                                          ^                                    
                        \n-/* Raise the safed exception.  Incidently for us the 
                        \n+/* Raise the saved exception.  Incidently for us the 
                                          ^                                    
                       \n-/* Macros for scaning `intptr_t' and `uintptr_t'.  */ 
                       \n+/* Macros for scanning `intptr_t' and `uintptr_t'.  */
                                           ^^                                  
ss) -- Return the length of the initial segement of STR \n which contains no cha
ss) -- Return the length of the initial segment of STR \n which contains no char
                                          ^^                                   
nsitive function and \n-it may not make sence testing it for each locale ... \n 
nsitive function and \n+it may not make sense testing it for each locale ... \n 
                                           ^                                   
                     \n-/* This is in a seperate function in order to make sure 
                     \n+/* This is in a separate function in order to make sure 
                                           ^                                   
                     \n-/* This is in a seperate function in order to make sure 
                     \n+/* This is in a separate function in order to make sure 
                                           ^                                   
                     \n-/* This is in a seperate function in order to make sure 
                     \n+/* This is in a separate function in order to make sure 
                                           ^                                   
                     \n-/* This is in a seperate function in order to make sure 
                     \n+/* This is in a separate function in order to make sure 
                                           ^                                   
                     \n-/* This is in a seperate function in order to make sure 
                     \n+/* This is in a separate function in order to make sure 
                                           ^                                   
                     \n-/* This is in a seperate function in order to make sure 
                     \n+/* This is in a separate function in order to make sure 
                                           ^                                   
                 \n-This has to be done separatly for each directory. \n        
                 \n+This has to be done separately for each directory. \n       
                                               ^                               
           / \n-// Put the right 64-bit signficand in an FR register, convert to
           / \n+// Put the right 64-bit significand in an FR register, convert t
                                            ^                                  
           / \n-// Put the right 64-bit signficand in an FR register, convert to
           / \n+// Put the right 64-bit significand in an FR register, convert t
                                            ^                                  
      / Nfloat = round_int(W) \n-// The signficand of EXP_W_2TO56_RSH contains t
      / Nfloat = round_int(W) \n+// The significand of EXP_W_2TO56_RSH contains 
                                            ^                                  
      / Nfloat = round_int(W) \n-// The signficand of fW_2TO56_RSH contains the 
      / Nfloat = round_int(W) \n+// The significand of fW_2TO56_RSH contains the
                                            ^                                  
      / Nfloat = round_int(W) \n-// The signficand of fW_2TO56_RSH contains the 
      / Nfloat = round_int(W) \n+// The significand of fW_2TO56_RSH contains the
                                            ^                                  
      / Nfloat = round_int(W) \n-// The signficand of fW_2TO56_RSH contains the 
      / Nfloat = round_int(W) \n+// The significand of fW_2TO56_RSH contains the
                                            ^                                  
      / Nfloat = round_int(W) \n-// The signficand of fW_2TO56_RSH contains the 
      / Nfloat = round_int(W) \n+// The significand of fW_2TO56_RSH contains the
                                            ^                                  
     / float_N = round_int(N) \n-// The signficand of N contains the rounded int
     / float_N = round_int(N) \n+// The significand of N contains the rounded in
                                            ^                                  
float_N = round_int(N_signif) \n-// The signficand of N_signif contains the roun
float_N = round_int(N_signif) \n+// The significand of N_signif contains the rou
                                            ^                                  
merge.se          fSignifX =  f1, f8 // sifnificand of x \n // Get high 15 bits 
merge.se          fSignifX =  f1, f8 // significand of x \n // Get high 15 bits 
                                          ^                                    
64, /* int gai_num;  Number of expected simultanious requests. */ \n 0,         
64, /* int gai_num;  Number of expected simultaneous requests. */ \n 0,         
                                                ^                              
 \n-int aio_num;  /* Number of expected simultanious requests. */ \n int aio_loc
 \n+int aio_num;  /* Number of expected simultaneous requests. */ \n int aio_loc
                                                ^                              
 \n-int gai_num;  /* Number of expected simultanious requests. */ \n int gai_loc
 \n+int gai_num;  /* Number of expected simultaneous requests. */ \n int gai_loc
                                                ^                              
hat an \n-arbitrary amount of processes simulataneously can be run using \n prof
hat an \n+arbitrary amount of processes simultaneously can be run using \n profi
                                            ^^                                 
 global data of \n-loaded shared object simultanously in two threads.  Therefore
 global data of \n+loaded shared object simultaneously in two threads.  Therefor
                                                ^                              
 global data of \n-loaded shared object simultanously in two threads.  Therefore
 global data of \n+loaded shared object simultaneously in two threads.  Therefor
                                                ^                              
cset->range_ends, is a pointer argument sinse we may \n update it.  */          
cset->range_ends, is a pointer argument since we may \n update it.  */          
                                           ^                                   
cset->range_ends, is a pointer argument sinse we may \n update it.  */          
cset->range_ends, is a pointer argument since we may \n update it.  */          
                                           ^                                   
set->coll_sym, is a \n-pointer argument sinse we may update it.  */ \n          
set->coll_sym, is a \n+pointer argument since we may update it.  */ \n          
                                           ^                                   
equiv_classes, \n-is a pointer argument sinse we may update it.  */ \n          
equiv_classes, \n+is a pointer argument since we may update it.  */ \n          
                                           ^                                   
>char_classes, \n-is a pointer argument sinse we may update it.  */ \n          
>char_classes, \n+is a pointer argument since we may update it.  */ \n          
                                           ^                                   
n, the first long option is \n-indented slighly in a way that's supposed to make
n, the first long option is \n+indented slightly in a way that's supposed to mak
                                             ^                                 
                  { \n-/* We have found seomthing that looks like a \n correct i
                  { \n+/* We have found something that looks like a \n correct i
                                         ^ ^                                   
byte - requires 16 byte alignment \n-of sourse and destination adresses. \n */  
byte - requires 16 byte alignment \n+of source and destination addresses. \n */ 
                                            ^                   ^              
re read lock for RWLOCK or return after specfied time.  */ \n extern int pthread
re read lock for RWLOCK or return after specified time.  */ \n extern int pthrea
                                            ^                                  
e write lock for RWLOCK or return after specfied time.  */ \n extern int pthread
e write lock for RWLOCK or return after specified time.  */ \n extern int pthrea
                                            ^                                  
re read lock for RWLOCK or return after specfied time.  */ \n extern int pthread
re read lock for RWLOCK or return after specified time.  */ \n extern int pthrea
                                            ^                                  
e write lock for RWLOCK or return after specfied time.  */ \n extern int pthread
e write lock for RWLOCK or return after specified time.  */ \n extern int pthrea
                                            ^                                  
re read lock for RWLOCK or return after specfied time.  */ \n int               
re read lock for RWLOCK or return after specified time.  */ \n int              
                                            ^                                  
e write lock for RWLOCK or return after specfied time. */ \n int                
e write lock for RWLOCK or return after specified time. */ \n int               
                                            ^                                  
n-in the current directory and the user specfies foo.so on the command \n line (
n+in the current directory and the user specifies foo.so on the command \n line 
                                            ^                                  
o presentation format.  The result will specifiy BITS bits of \n the number.  */
o presentation format.  The result will specify BITS bits of \n the number.  */ 
                                             ^^                                
 The glyphs covered by Shift JIS \n-are spreaded all around the Unicode CJK area
 The glyphs covered by Shift JIS \n+are spread all around the Unicode CJK area. 
                                            ^ ^                                
on as an extra argument. \n-This is not standardsized but something like will co
on as an extra argument. \n+This is not standardized but something like will com
                                               ^^                              
on as an extra argument. \n-This is not standardsized but something like will co
on as an extra argument. \n+This is not standardized but something like will com
                                               ^^                              
   \n-/* Grok ! before name to mean all statii but that one.  */ \n not = line[0
   \n+/* Grok ! before name to mean all statuses but that one.  */ \n not = line
                                            ^  ^                               
               \n-/* Compare with known statii.  */ \n if (line - name == 7)    
               \n+/* Compare with known statuses.  */ \n if (line - name == 7)  
                                            ^  ^                               
 -1,4 +1,4 @@ \n-/* Handling of dynamic sring tokens. \n Copyright (C) 1999-2013
 -1,4 +1,4 @@ \n+/* Handling of dynamic string tokens. \n Copyright (C) 1999-201
                                         ^                                     
                             \n-/* Data strcture used to handle thread priority 
                             \n+/* Data structure used to handle thread priority
                                           ^                                   
                              \n-If the stucture was initialized by a legacy Lin
                              \n+If the structure was initialized by a legacy Li
                                          ^                                    
    %r1,1b-0b(%r8)      /* lsb of R1 is subsituted as SVC number */ \n 3: l     
    %r1,1b-0b(%r8)      /* lsb of R1 is substituted as SVC number */ \n 3: l    
                                            ^                                  
    %r1,1b-0b(%r8)      /* lsb of R1 is subsituted as SVC number */ \n 3: lg    
    %r1,1b-0b(%r8)      /* lsb of R1 is substituted as SVC number */ \n 3: lg   
                                            ^                                  
r %xmm0, %xmm0 \n-sub $0x1000, %r10  /* substract 4K from %r10 */ \n jmp LABEL(g
r %xmm0, %xmm0 \n+sub $0x1000, %r10  /* subtract 4K from %r10 */ \n jmp LABEL(go
                                          ^^                                   
ison, not unsigned */ \n-/* Avoid using substraction since possible overflow */ 
ison, not unsigned */ \n+/* Avoid using subtraction since possible overflow */ \
                                          ^^                                   
ison, not unsigned */ \n-/* Avoid using substraction since possible overflow */ 
ison, not unsigned */ \n+/* Avoid using subtraction since possible overflow */ \
                                          ^^                                   
ion to the C-preprocessor and check for successfull \n termination.  */         
ion to the C-preprocessor and check for successful \n termination.  */          
                                                ^ ^                            
* Open the database stored in FILE.  If succesful, store either a \n pointer to 
* Open the database stored in FILE.  If successful, store either a \n pointer to
                                             ^^                                
* Open the database stored in FILE.  If succesful, store the database \n handle 
* Open the database stored in FILE.  If successful, store the database \n handle
                                             ^^                                
" routines, we return FALSE if exchange succesful.  */ \n                       
" routines, we return FALSE if exchange successful.  */ \n                      
                                             ^^                                
" routines, we return FALSE if exchange succesful.  */ \n                       
" routines, we return FALSE if exchange successful.  */ \n                      
                                             ^^                                
" routines, we return FALSE if exchange succesful.  */ \n                       
" routines, we return FALSE if exchange successful.  */ \n                      
                                             ^^                                
" routines, we return FALSE if exchange succesful.  */ \n                       
" routines, we return FALSE if exchange successful.  */ \n                      
                                             ^^                                
    \n-/* The number of non-option args sucessfully handled by this parser.  */ 
    \n+/* The number of non-option args successfully handled by this parser.  */
                                          ^^                                   
t (now == read_in, 0)) \n-/* We haven't succesfully read any character.  */ \n c
t (now == read_in, 0)) \n+/* We haven't successfully read any character.  */ \n 
                                             ^^                                
t (now == read_in, 0)) \n-/* We haven't succesfully read any character.  */ \n c
t (now == read_in, 0)) \n+/* We haven't successfully read any character.  */ \n 
                                             ^^                                
< __LINUX_KERNEL_VERSION)   \ \n-/* Not sufficent.  */            \ \n FATAL ("F
< __LINUX_KERNEL_VERSION)   \ \n+/* Not sufficient.  */            \ \n FATAL ("
                                              ^                                
chunk in \n-the course of computing the summmaries. (By nature, mmapped regions 
chunk in \n+the course of computing the summaries. (By nature, mmapped regions \
                                         ^  ^                                  
ISO 8859-1).  The European variants are superceded by the \n various ISO 8859-? 
ISO 8859-1).  The European variants are superseded by the \n various ISO 8859-? 
                                             ^                                 
< 1) /* Prohibit outgoing cookies, \n-* supercedes everything. */ \n            
< 1) /* Prohibit outgoing cookies, \n+* supersedes everything. */ \n            
                                             ^                                 
                \n-/* For now Linux has synchronisity options for data and read 
                \n+/* For now Linux has synchronicity options for data and read 
                                                 ^                             
   \n-/* For now, Linux has no separate synchronicitiy options for read \n opera
   \n+/* For now, Linux has no separate synchronicity options for read \n operat
                                                   ^^                          
s and \n-the main thread.  We only want sychronous notification.  */ \n if (sync
s and \n+the main thread.  We only want synchronous notification.  */ \n if (syn
                                          ^                                    
 This avoids the need for the kernel to synthesise a return \n instruction on th
 This avoids the need for the kernel to synthesize a return \n instruction on th
                                                ^                              
don't have enough spare registers \n-to synthesise prefetching, so use PLD opera
don't have enough spare registers \n+to synthesize prefetching, so use PLD opera
                                                ^                              
                             / \n-// We tabluate as one double, T for single pre
                             / \n+// We tabulate as one double, T for single pre
                                           ^^                                  
                             / \n-// We tabluate as two doubles, T and t, where 
                             / \n+// We tabulate as two doubles, T and t, where 
                                           ^^                                  
ion \n-which you can get with functions targetted to this purpose described in \
ion \n+which you can get with functions targeted to this purpose described in \n
                                            ^ ^                                
SC_ANSI_COMMON 0xff00    /* Section for tenatively declared \n symbols in ANSI C
SC_ANSI_COMMON 0xff00    /* Section for tentatively declared \n symbols in ANSI 
                                           ^                                   
\n-worth it to tune for trimming rather tham memory mapping when a \n program un
\n+worth it to tune for trimming rather than memory mapping when a \n program un
                                           ^                                   
+ the newly opened file descriptor \n-+ thhe duped second descriptor \n + the na
+ the newly opened file descriptor \n++ the duped second descriptor \n + the nam
                                        ^ ^                                    
 very little overhead.  The time values themself have no real \n meaning, only d
 very little overhead.  The time values themselves have no real \n meaning, only
                                               ^ ^                             
ry little \n-overhead.  The time values themself have no real meaning, only \n d
ry little \n+overhead.  The time values themselves have no real meaning, only \n
                                               ^ ^                             
ry little \n-overhead.  The time values themself have no real meaning, only \n d
ry little \n+overhead.  The time values themselves have no real meaning, only \n
                                               ^ ^                             
at to do with character which stand for themself.  We \n could jump through hoop
at to do with character which stand for themselves.  We \n could jump through ho
                                               ^ ^                             
neighbourhood" \n-//    quite rarely -> ther might be no need in frequent use of
neighbourhood" \n+//    quite rarely -> there might be no need in frequent use o
                                            ^                                  
           \n-/* I hope we needn't fill ther regs with -1's when no match was fo
           \n+/* I hope we needn't fill there regs with -1's when no match was f
                                            ^                                  
cpa table is indexed by 8 bits, the x_1 thru x_8. \n // m = x_1x_2...x_8 is an 8
cpa table is indexed by 8 bits, the x_1 through x_8. \n // m = x_1x_2...x_8 is a
                                           ^  ^                                
cpa table is indexed by 8 bits, the x_1 thru x_8. \n // m = x_1x_2...x_8 is an 8
cpa table is indexed by 8 bits, the x_1 through x_8. \n // m = x_1x_2...x_8 is a
                                           ^  ^                                
         ND_2 (__GI__setjmp) \n-/* Fall thru. */ \n #endif                      
         ND_2 (__GI__setjmp) \n+/* Fall through. */ \n #endif                   
                                           ^  ^                                
ers in the range allowed for storing or transfering.  SVID \n systems (and nowad
ers in the range allowed for storing or transferring.  SVID \n systems (and nowa
                                               ^^                              
                       \n-/* Initialize transiton table.  */ \n state->word_trta
                       \n+/* Initialize transition table.  */ \n state->word_trt
                                               ^                               
                          * \n-* Finish truely unpacking a native fp value by cl
                          * \n+* Finish truly unpacking a native fp value by cla
                                          ^^                                   
-#define RES_IGNTC 0x00000020 /* ignore trucation errors */ \n #define RES_RECUR
+#define RES_IGNTC 0x00000020 /* ignore truncation errors */ \n #define RES_RECU
                                           ^                                   
         -1,4 +1,4 @@ \n-/* memcpy with unaliged loads \n Copyright (C) 2013 Fre
         -1,4 +1,4 @@ \n+/* memcpy with unaligned loads \n Copyright (C) 2013 Fr
                                              ^                                
            GR_N = GR_N, rExpHalf, 1 // unbisaed exponent of DeltaX \n }        
            GR_N = GR_N, rExpHalf, 1 // unbiased exponent of DeltaX \n }        
                                            ^^                                 
                /   Z := X \n-//   N := unbaised exponent of Z \n //   S_hi := 2
                /   Z := X \n+//   N := unbiased exponent of Z \n //   S_hi := 2
                                           ^^                                  
                /   Z := X \n-//   N := unbaised exponent of Z \n //   S_hi := 2
                /   Z := X \n+//   N := unbiased exponent of Z \n //   S_hi := 2
                                           ^^                                  
            /   Z := X + 1 \n-//   N := unbaised exponent of Z \n //   S_hi := 2
            /   Z := X + 1 \n+//   N := unbiased exponent of Z \n //   S_hi := 2
                                           ^^                                  
and 7.2.  This \n-renders certain tests infeasible in this scenario. \n <http://
and 7.2.  This \n+renders certain tests unfeasible in this scenario. \n <http://
                                        ^                                      
cond terms in the correction \n-//  are unneccessary. \n //                     
cond terms in the correction \n+//  are unnecessary. \n //                      
                                           ^ ^                                 
cond terms in the correction \n-//  are unneccessary. \n //                     
cond terms in the correction \n+//  are unnecessary. \n //                      
                                           ^ ^                                 
cond terms in the correction \n-//  are unneccessary. \n //                     
cond terms in the correction \n+//  are unnecessary. \n //                      
                                           ^ ^                                 
ote: wcscmp uses signed comparison, not unsugned as in strcmp function. */ \n   
ote: wcscmp uses signed comparison, not unsigned as in strcmp function. */ \n   
                                           ^                                   
ocket-oriented system calls are handled unusally in Linux. \n They are all gated
ocket-oriented system calls are handled unusually in Linux. \n They are all gate
                                            ^                                  
ocket-oriented system calls are handled unusally in Linux. \n They are all gated
ocket-oriented system calls are handled unusually in Linux. \n They are all gate
                                            ^                                  
ocket-oriented system calls are handled unusally in Linux. \n They are all gated
ocket-oriented system calls are handled unusually in Linux. \n They are all gate
                                            ^                                  
ocket-oriented system calls are handled unusally in Linux. \n They are all gated
ocket-oriented system calls are handled unusually in Linux. \n They are all gate
                                            ^                                  
ocket-oriented system calls are handled unusally in Linux. \n They are all gated
ocket-oriented system calls are handled unusually in Linux. \n They are all gate
                                            ^                                  
ocket-oriented system calls are handled unusally in Linux. \n They are all gated
ocket-oriented system calls are handled unusually in Linux. \n They are all gate
                                            ^                                  
ocket-oriented system calls are handled unusally in Linux. \n They are all gated
ocket-oriented system calls are handled unusually in Linux. \n They are all gate
                                            ^                                  
ocket-oriented system calls are handled unusally in Linux. \n They are all gated
ocket-oriented system calls are handled unusually in Linux. \n They are all gate
                                            ^                                  
ocket-oriented system calls are handled unusally in Linux/i386. \n They are all 
ocket-oriented system calls are handled unusually in Linux/i386. \n They are all
                                            ^                                  
ocket-oriented system calls are handled unusally in Linux/i386. \n They are all 
ocket-oriented system calls are handled unusually in Linux/i386. \n They are all
                                            ^                                  
d overflow the \n-number and a negative vaue is printed.  For some architectures
d overflow the \n+number and a negative value is printed.  For some architecture
                                          ^                                    
pthread_cond_destroy was called on this varaible already, \n notify the pthread_
pthread_cond_destroy was called on this variable already, \n notify the pthread_
                                           ^^                                  
                     \n-/* Size-checked verson of __atomic_update_32. */ \n #def
                     \n+/* Size-checked version of __atomic_update_32. */ \n #de
                                            ^                                  
-/* Setup of nscd worker threads.  Stub verison. \n Copyright (C) 2004-2013 Free
+/* Setup of nscd worker threads.  Stub version. \n Copyright (C) 2004-2013 Free
                                           ^^                                  
/* Setup of nscd worker threads.  Linux verison. \n Copyright (C) 2004-2013 Free
/* Setup of nscd worker threads.  Linux version. \n Copyright (C) 2004-2013 Free
                                           ^^                                  
 * \n-* - The documentation doesn't say wether a string stream allows \n *   see
 * \n+* - The documentation doesn't say whether a string stream allows \n *   se
                                         ^                                     
                        \n-/* Determine wheter socket is at a out-of-band mark. 
                        \n+/* Determine whether socket is at an out-of-band mark
                                            ^                 ^                
    ifdef __USE_XOPEN2K \n-/* Determine wheter socket is at a out-of-band mark. 
    ifdef __USE_XOPEN2K \n+/* Determine whether socket is at an out-of-band mark
                                            ^                 ^                
                        \n-/* Determine wheter socket is at a out-of-band mark. 
                        \n+/* Determine whether socket is at an out-of-band mark
                                            ^                 ^                
                         \n-/* Find out wether this is a single entry or we have
                         \n+/* Find out whether this is a single entry or we hav
                                         ^                                     
diff --git a/sysdeps/mach/hurd/check_fds.c b/sysdeps/mach/hurd/check_fds.c
index 979fcb7..cf20643 100644
--- a/sysdeps/mach/hurd/check_fds.c
+++ b/sysdeps/mach/hurd/check_fds.c
@@ -42,7 +42,7 @@ check_one_fd (int fd, int mode)
     {
       /* This descriptor hasn't been opened.  We try to allocate the
          descriptor and open /dev/null on it so that the SUID program
-         we are about to start does not accidently use this
+         we are about to start does not accidentally use this
          descriptor.  */
       d = _hurd_alloc_fd (NULL, fd);
       if (d != NULL)
diff --git a/csu/check_fds.c b/csu/check_fds.c
index 3616e6c..dd66362 100644
--- a/csu/check_fds.c
+++ b/csu/check_fds.c
@@ -60,7 +60,7 @@ check_one_fd (int fd, int mode)
 
       /* Something is wrong with this descriptor, it's probably not
 	 opened.  Open /dev/null so that the SUID program we are
-	 about to start does not accidently use this descriptor.  */
+	 about to start does not accidentally use this descriptor.  */
       int nullfd = open_not_cancel (name, mode, 0);
 
       /* We are very paranoid here.  With all means we try to ensure
diff --git a/ports/sysdeps/tile/jmpbuf-offsets.h b/ports/sysdeps/tile/jmpbuf-offsets.h
index 62b8413..c6f5be3 100644
--- a/ports/sysdeps/tile/jmpbuf-offsets.h
+++ b/ports/sysdeps/tile/jmpbuf-offsets.h
@@ -45,7 +45,7 @@
 #define JB_PC   25  /* normally LR, r55 */
 #define JB_ICS  26  /* interrupt critical section bit */
 
-/* We save space for some extra state to accomodate future changes.  */
+/* We save space for some extra state to accommodate future changes.  */
 #define JB_LEN  32  /* number of words */
 
 #define JB_SIZE (JB_LEN * REGSIZE)
diff --git a/ports/sysdeps/hppa/dl-lookupcfg.h b/ports/sysdeps/hppa/dl-lookupcfg.h
index 5c84c43..f3125e5 100644
--- a/ports/sysdeps/hppa/dl-lookupcfg.h
+++ b/ports/sysdeps/hppa/dl-lookupcfg.h
@@ -57,7 +57,7 @@ void _dl_unmap (struct link_map *map);
 })
 
 
-/* The test for "addr & 2" below is to accomodate old binaries which
+/* The test for "addr & 2" below is to accommodate old binaries which
    violated the ELF ABI by pointing DT_INIT and DT_FINI at a function
    descriptor.  */
 #define DL_DT_INIT_ADDRESS(map, addr) \
diff --git a/ports/sysdeps/ia64/fpu/e_logl.S b/ports/sysdeps/ia64/fpu/e_logl.S
index e12c65d..9f9f681 100644
--- a/ports/sysdeps/ia64/fpu/e_logl.S
+++ b/ports/sysdeps/ia64/fpu/e_logl.S
@@ -211,7 +211,7 @@
 //
 //      Calculate	X_1 := X_0 * Z_1 truncated to lsb = 2^(-14)
 //      		     = 1.0 0 0 0 d_5 ... d_14
-//      		This is accomplised by integer multiplication.
+//      		This is accomplished by integer multiplication.
 //      		It is proved that X_1 indeed always begin
 //      		with 1.0000 in fixed point.
 //
diff --git a/ports/sysdeps/ia64/fpu/e_logl.S b/ports/sysdeps/ia64/fpu/e_logl.S
index e12c65d..9f9f681 100644
--- a/ports/sysdeps/ia64/fpu/e_logl.S
+++ b/ports/sysdeps/ia64/fpu/e_logl.S
@@ -232,7 +232,7 @@
 //
 //      Calculate	X_2 := X_1 * Z_2 truncated to lsb = 2^(-14)
 //      		     = 1.0 0 0 0 0 0 0 0 d_9 d_10 ... d_14
-//      		This is accomplised by integer multiplication.
+//      		This is accomplished by integer multiplication.
 //      		It is proved that X_2 indeed always begin
 //      		with 1.00000000 in fixed point.
 //
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 351befb..084a940 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -317,7 +317,7 @@
 //
 //      Calculate       X_1 := X_0 * Z_1 truncated to lsb = 2^(-14)
 //                           = 1.0 0 0 0 d_5 ... d_14
-//                      This is accomplised by integer multiplication.
+//                      This is accomplished by integer multiplication.
 //                      It is proved that X_1 indeed always begin
 //                      with 1.0000 in fixed point.
 //
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 351befb..084a940 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -338,7 +338,7 @@
 //
 //      Calculate       X_2 := X_1 * Z_2 truncated to lsb = 2^(-14)
 //                           = 1.0 0 0 0 0 0 0 0 d_9 d_10 ... d_14
-//                      This is accomplised by integer multiplication.
+//                      This is accomplished by integer multiplication.
 //                      It is proved that X_2 indeed always begin
 //                      with 1.00000000 in fixed point.
 //
diff --git a/ports/sysdeps/ia64/fpu/s_log1pl.S b/ports/sysdeps/ia64/fpu/s_log1pl.S
index f60ce12..473d97d 100644
--- a/ports/sysdeps/ia64/fpu/s_log1pl.S
+++ b/ports/sysdeps/ia64/fpu/s_log1pl.S
@@ -221,7 +221,7 @@
 //
 //      Calculate	X_1 := X_0 * Z_1 truncated to lsb = 2^(-14)
 //      		     = 1.0 0 0 0 d_5 ... d_14
-//      		This is accomplised by integer multiplication.
+//      		This is accomplished by integer multiplication.
 //      		It is proved that X_1 indeed always begin
 //      		with 1.0000 in fixed point.
 //
diff --git a/ports/sysdeps/ia64/fpu/s_log1pl.S b/ports/sysdeps/ia64/fpu/s_log1pl.S
index f60ce12..473d97d 100644
--- a/ports/sysdeps/ia64/fpu/s_log1pl.S
+++ b/ports/sysdeps/ia64/fpu/s_log1pl.S
@@ -242,7 +242,7 @@
 //
 //      Calculate	X_2 := X_1 * Z_2 truncated to lsb = 2^(-14)
 //      		     = 1.0 0 0 0 0 0 0 0 d_9 d_10 ... d_14
-//      		This is accomplised by integer multiplication.
+//      		This is accomplished by integer multiplication.
 //      		It is proved that X_2 indeed always begin
 //      		with 1.00000000 in fixed point.
 //
diff --git a/malloc/obstack.h b/malloc/obstack.h
index d2e056b..e0affe2 100644
--- a/malloc/obstack.h
+++ b/malloc/obstack.h
@@ -78,7 +78,7 @@ change its address during its lifetime.
 When the chars burst over a chunk boundary, we allocate a larger
 chunk, and then copy the partly formed object from the end of the old
 chunk to the beginning of the new larger chunk.  We then carry on
-accreting characters to the end of the object as we normally would.
+accrediting characters to the end of the object as we normally would.
 
 A special macro is provided to add a single char at a time to a
 growing object.  This allows the use of register variables, which
diff --git a/inet/arpa/tftp.h b/inet/arpa/tftp.h
index 86e0b6e..0b27672 100644
--- a/inet/arpa/tftp.h
+++ b/inet/arpa/tftp.h
@@ -43,7 +43,7 @@
 #define	RRQ	01				/* read request */
 #define	WRQ	02				/* write request */
 #define	DATA	03				/* data packet */
-#define	ACK	04				/* acknowledgement */
+#define	ACK	04				/* acknowledgment */
 #define	ERROR	05				/* error code */
 
 struct	tftphdr {
diff --git a/inet/protocols/timed.h b/inet/protocols/timed.h
index b5d4702..8838a48 100644
--- a/inet/protocols/timed.h
+++ b/inet/protocols/timed.h
@@ -62,7 +62,7 @@ struct tsp {
  */
 #define	TSP_ANY			0	/* match any types */
 #define	TSP_ADJTIME		1	/* send adjtime */
-#define	TSP_ACK			2	/* generic acknowledgement */
+#define	TSP_ACK			2	/* generic acknowledgment */
 #define	TSP_MASTERREQ		3	/* ask for master's name */
 #define	TSP_MASTERACK		4	/* acknowledge master request */
 #define	TSP_SETTIME		5	/* send network time */
diff --git a/sysdeps/generic/netinet/tcp.h b/sysdeps/generic/netinet/tcp.h
index 0d71903..2307af4 100644
--- a/sysdeps/generic/netinet/tcp.h
+++ b/sysdeps/generic/netinet/tcp.h
@@ -46,7 +46,7 @@ struct tcphdr {
 	u_short	th_sport;		/* source port */
 	u_short	th_dport;		/* destination port */
 	tcp_seq	th_seq;			/* sequence number */
-	tcp_seq	th_ack;			/* acknowledgement number */
+	tcp_seq	th_ack;			/* acknowledgment number */
 #if __BYTE_ORDER == __LITTLE_ENDIAN
 	u_char	th_x2:4,		/* (unused) */
 		th_off:4;		/* data offset */
diff --git a/sysdeps/gnu/netinet/tcp.h b/sysdeps/gnu/netinet/tcp.h
index b7bf9b3..bf76e69 100644
--- a/sysdeps/gnu/netinet/tcp.h
+++ b/sysdeps/gnu/netinet/tcp.h
@@ -77,7 +77,7 @@ struct tcphdr
     u_int16_t th_sport;		/* source port */
     u_int16_t th_dport;		/* destination port */
     tcp_seq th_seq;		/* sequence number */
-    tcp_seq th_ack;		/* acknowledgement number */
+    tcp_seq th_ack;		/* acknowledgment number */
 #  if __BYTE_ORDER == __LITTLE_ENDIAN
     u_int8_t th_x2:4;		/* (unused) */
     u_int8_t th_off:4;		/* data offset */
diff --git a/manual/socket.texi b/manual/socket.texi
index e187402..7c77e2a 100644
--- a/manual/socket.texi
+++ b/manual/socket.texi
@@ -1839,7 +1839,7 @@ reject it.
 
 @item 1
 Stop trying to transmit data from this socket.  Discard any data
-waiting to be sent.  Stop looking for acknowledgement of data already
+waiting to be sent.  Stop looking for acknowledgment of data already
 sent; don't retransmit it if it is lost.
 
 @item 2
diff --git a/manual/fdl-1.3.texi b/manual/fdl-1.3.texi
index cb71f05..d61112c 100644
--- a/manual/fdl-1.3.texi
+++ b/manual/fdl-1.3.texi
@@ -252,7 +252,7 @@ publisher of the version it refers to gives permission.
 @item
 For any section Entitled ``Acknowledgements'' or ``Dedications'', Preserve
 the Title of the section, and preserve in the section all the
-substance and tone of each of the contributor acknowledgements and/or
+substance and tone of each of the contributor acknowledgments and/or
 dedications given therein.
 
 @item
diff --git a/elf/dl-load.c b/elf/dl-load.c
index 655e38e..9ab79d8 100644
--- a/elf/dl-load.c
+++ b/elf/dl-load.c
@@ -324,7 +324,7 @@ _dl_dst_substitute (struct link_map *l, const char *name, char *result,
   const char *const start = name;
 
   /* Now fill the result path.  While copying over the string we keep
-     track of the start of the last path element.  When we come accross
+     track of the start of the last path element.  When we come across
      a DST we copy over the value or (if the value is not available)
      leave the entire path element out.  */
   char *wp = result;
diff --git a/ports/sysdeps/ia64/fpu/e_log2l.S b/ports/sysdeps/ia64/fpu/e_log2l.S
index 837c55d..f33969a 100644
--- a/ports/sysdeps/ia64/fpu/e_log2l.S
+++ b/ports/sysdeps/ia64/fpu/e_log2l.S
@@ -471,7 +471,7 @@ GLOBAL_IEEE754_ENTRY(log2l)
   (p7) br.cond.spnt LOG2_PSEUDO_ZERO
 }
 {.mfi
-  // get T_low adress
+  // get T_low address
   shladd r3=r28,3,r3
   // if first 8 bits after leading 1 are all ones, use polynomial approx. only
   (p10) fms.s1 f6=f7,f36,f1
diff --git a/sysdeps/i386/i686/multiarch/strcpy-sse2.S b/sysdeps/i386/i686/multiarch/strcpy-sse2.S
index 07db134..d942ac2 100644
--- a/sysdeps/i386/i686/multiarch/strcpy-sse2.S
+++ b/sysdeps/i386/i686/multiarch/strcpy-sse2.S
@@ -128,7 +128,7 @@ ENTRY (STRCPY)
 
 	sub	%ecx, %edi
 
-/* If source adress alignment != destination adress alignment */
+/* If source address alignment != destination address alignment */
 	.p2align 4
 L(Unalign16Both):
 	mov	$16, %ecx
diff --git a/sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S b/sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
index cd56e56..7710173 100644
--- a/sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
+++ b/sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
@@ -93,7 +93,7 @@ ENTRY (STRCPY)
 	movdqu	(%rsi, %rcx), %xmm1   /* copy 16 bytes */
 	movdqu	%xmm1, (%rdi)
 
-/* If source adress alignment != destination adress alignment */
+/* If source address alignment != destination address alignment */
 	.p2align 4
 L(Unalign16Both):
 	sub	%rcx, %rdi
diff --git a/sysdeps/i386/i686/multiarch/strcpy-sse2.S b/sysdeps/i386/i686/multiarch/strcpy-sse2.S
index 07db134..d942ac2 100644
--- a/sysdeps/i386/i686/multiarch/strcpy-sse2.S
+++ b/sysdeps/i386/i686/multiarch/strcpy-sse2.S
@@ -271,7 +271,7 @@ L(Unaligned64Leave):
 	lea	49(%edi, %edx), %edi
 	jmp	L(StrncpyFillTailWithZero)
 
-/* If source adress alignment == destination adress alignment */
+/* If source address alignment == destination address alignment */
 
 L(SourceStringAlignmentZero):
 	pxor	%xmm0, %xmm0
diff --git a/sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S b/sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
index cd56e56..7710173 100644
--- a/sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
+++ b/sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
@@ -289,7 +289,7 @@ L(Unaligned64Leave):
 	BRANCH_TO_JMPTBL_ENTRY (L(ExitTable), %rdx, 4)
 # endif
 
-/* If source adress alignment == destination adress alignment */
+/* If source address alignment == destination address alignment */
 
 L(SourceStringAlignmentLess32):
 	pxor	%xmm0, %xmm0
diff --git a/sysdeps/i386/i686/multiarch/strcat-sse2.S b/sysdeps/i386/i686/multiarch/strcat-sse2.S
index 72a1aca..62d60cd 100644
--- a/sysdeps/i386/i686/multiarch/strcat-sse2.S
+++ b/sysdeps/i386/i686/multiarch/strcat-sse2.S
@@ -49,7 +49,7 @@
 	/* Get the entry and convert the relative offset to the	\
 	absolute address.  */	\
 	addl	(%ecx,INDEX,SCALE), %ecx;	\
-	/* We loaded the jump table and adjuested ECX. Go.  */	\
+	/* We loaded the jump table and adjusted ECX. Go.  */	\
 	jmp	*%ecx
 # else
 #  define JMPTBL(I, B) I
diff --git a/sysdeps/i386/i686/multiarch/strcpy-sse2.S b/sysdeps/i386/i686/multiarch/strcpy-sse2.S
index 07db134..d942ac2 100644
--- a/sysdeps/i386/i686/multiarch/strcpy-sse2.S
+++ b/sysdeps/i386/i686/multiarch/strcpy-sse2.S
@@ -64,7 +64,7 @@
 	/* Get the entry and convert the relative offset to the \
 	absolute	address.  */                            \
 	addl	(%ecx,INDEX,SCALE), %ecx;                       \
-	/* We loaded the jump table and adjuested ECX. Go.  */  \
+	/* We loaded the jump table and adjusted ECX. Go.  */  \
 	jmp	*%ecx
 # else
 #  define JMPTBL(I, B)	I
diff --git a/sysdeps/i386/i686/multiarch/memset-sse2-rep.S b/sysdeps/i386/i686/multiarch/memset-sse2-rep.S
index 53a0b3d..bcea296 100644
--- a/sysdeps/i386/i686/multiarch/memset-sse2-rep.S
+++ b/sysdeps/i386/i686/multiarch/memset-sse2-rep.S
@@ -62,7 +62,7 @@
        absolute address.  */					\
     add		(%ebx,%ecx,4), %ebx;				\
     add		%ecx, %edx;					\
-    /* We loaded the jump table and adjuested EDX. Go.  */	\
+    /* We loaded the jump table and adjusted EDX. Go.  */	\
     jmp		*%ebx
 #else
 # define ENTRANCE
diff --git a/sysdeps/i386/i686/multiarch/memset-sse2.S b/sysdeps/i386/i686/multiarch/memset-sse2.S
index 2db5884..36bca84 100644
--- a/sysdeps/i386/i686/multiarch/memset-sse2.S
+++ b/sysdeps/i386/i686/multiarch/memset-sse2.S
@@ -62,7 +62,7 @@
        absolute address.  */					\
     add		(%ebx,%ecx,4), %ebx;				\
     add		%ecx, %edx;					\
-    /* We loaded the jump table and adjuested EDX. Go.  */	\
+    /* We loaded the jump table and adjusted EDX. Go.  */	\
     jmp		*%ebx
 #else
 # define ENTRANCE
diff --git a/sysdeps/i386/i686/multiarch/memcmp-sse4.S b/sysdeps/i386/i686/multiarch/memcmp-sse4.S
index 14226f5..fabee30 100644
--- a/sysdeps/i386/i686/multiarch/memcmp-sse4.S
+++ b/sysdeps/i386/i686/multiarch/memcmp-sse4.S
@@ -58,7 +58,7 @@
 /* Get the entry and convert the relative offset to the	\
 	absolute	address.  */	\
 	addl	(%ebx,INDEX,SCALE), %ebx;	\
-/* We loaded the jump table and adjuested EDX/ESI. Go.  */	\
+/* We loaded the jump table and adjusted EDX/ESI. Go.  */	\
 	jmp	*%ebx
 # else
 #  define JMPTBL(I, B)	I
diff --git a/sysdeps/i386/i686/multiarch/strcmp-sse4.S b/sysdeps/i386/i686/multiarch/strcmp-sse4.S
index 7177205..62f458f 100644
--- a/sysdeps/i386/i686/multiarch/strcmp-sse4.S
+++ b/sysdeps/i386/i686/multiarch/strcmp-sse4.S
@@ -53,7 +53,7 @@
 #  define STR1		8
 # endif
 # define STR2		STR1+4
-# define LOCALE		12	/* Loaded before the adjustement.  */
+# define LOCALE		12	/* Loaded before the adjustment.  */
 # ifdef PIC
 #  define RETURN	POP (%edi); POP (%ebx); ret; \
 			.p2align 4; CFI_PUSH (%ebx); CFI_PUSH (%edi)
diff --git a/sysdeps/i386/i686/multiarch/strcmp-sse4.S b/sysdeps/i386/i686/multiarch/strcmp-sse4.S
index 7177205..62f458f 100644
--- a/sysdeps/i386/i686/multiarch/strcmp-sse4.S
+++ b/sysdeps/i386/i686/multiarch/strcmp-sse4.S
@@ -73,7 +73,7 @@
 # endif
 # define STR2		STR1+4
 # define CNT		STR2+4
-# define LOCALE		16	/* Loaded before the adjustement.  */
+# define LOCALE		16	/* Loaded before the adjustment.  */
 # ifdef PIC
 #  define RETURN	POP (%edi); POP (REM); POP (%ebx); ret; \
 			.p2align 4; \
diff --git a/sysdeps/i386/i686/multiarch/strcmp-ssse3.S b/sysdeps/i386/i686/multiarch/strcmp-ssse3.S
index f2bc204..5fd9ac8 100644
--- a/sysdeps/i386/i686/multiarch/strcmp-ssse3.S
+++ b/sysdeps/i386/i686/multiarch/strcmp-ssse3.S
@@ -61,7 +61,7 @@
 #  define STR1		4
 # endif
 # define STR2		STR1+4
-# define LOCALE		12	/* Loaded before the adjustement.  */
+# define LOCALE		12	/* Loaded before the adjustment.  */
 # ifdef PIC
 #  define RETURN	POP (%ebx); ret; .p2align 4; CFI_PUSH (%ebx)
 # else
diff --git a/sysdeps/i386/i686/multiarch/strcmp-ssse3.S b/sysdeps/i386/i686/multiarch/strcmp-ssse3.S
index f2bc204..5fd9ac8 100644
--- a/sysdeps/i386/i686/multiarch/strcmp-ssse3.S
+++ b/sysdeps/i386/i686/multiarch/strcmp-ssse3.S
@@ -82,7 +82,7 @@
 # endif
 # define STR2		STR1+4
 # define CNT		STR2+4
-# define LOCALE		16	/* Loaded before the adjustement.  */
+# define LOCALE		16	/* Loaded before the adjustment.  */
 # ifdef PIC
 #  define RETURN	POP (REM); POP (%ebx); ret; \
 			.p2align 4; CFI_PUSH (%ebx); CFI_PUSH (REM)
diff --git a/elf/dl-open.c b/elf/dl-open.c
index 7adf66b..1403c8c 100644
--- a/elf/dl-open.c
+++ b/elf/dl-open.c
@@ -396,7 +396,7 @@ dl_open_worker (void *a)
 	  /* If this here is the shared object which we want to profile
 	     make sure the profile is started.  We can find out whether
 	     this is necessary or not by observing the `_dl_profile_map'
-	     variable.  If it was NULL but is not NULL afterwars we must
+	     variable.  If it was NULL but is not NULL afterwards we must
 	     start the profiling.  */
 	  struct link_map *old_profile_map = GL(dl_profile_map);
 
diff --git a/iconv/strtab.c b/iconv/strtab.c
index c62553e..1728640 100644
--- a/iconv/strtab.c
+++ b/iconv/strtab.c
@@ -180,7 +180,7 @@ newstring (struct Strtab *st, const char *str, size_t len)
 
 
 /* XXX This function should definitely be rewritten to use a balancing
-   tree algorith (AVL, red-black trees).  For now a simple, correct
+   tree algorithm (AVL, red-black trees).  For now a simple, correct
    implementation is enough.  */
 static struct Strent **
 searchstring (struct Strent **sep, struct Strent *newstr)
diff --git a/inet/protocols/timed.h b/inet/protocols/timed.h
index b5d4702..8838a48 100644
--- a/inet/protocols/timed.h
+++ b/inet/protocols/timed.h
@@ -81,7 +81,7 @@ struct tsp {
 #define	TSP_TRACEOFF		18	/* turn tracing off */
 #define	TSP_MSITE		19	/* find out master's site */
 #define	TSP_MSITEREQ		20	/* remote master's site request */
-#define	TSP_TEST		21	/* for testing election algo */
+#define	TSP_TEST		21	/* for testing election algorithm */
 #define	TSP_SETDATE		22	/* New from date command */
 #define	TSP_SETDATEREQ		23	/* New remote for above */
 #define	TSP_LOOP		24	/* loop detection packet */
diff --git a/ports/sysdeps/ia64/fpu/e_atanhl.S b/ports/sysdeps/ia64/fpu/e_atanhl.S
index 846a89e..5d828d5 100644
--- a/ports/sysdeps/ia64/fpu/e_atanhl.S
+++ b/ports/sysdeps/ia64/fpu/e_atanhl.S
@@ -99,7 +99,7 @@
 //   calculation is subdivided into two stages. The first stage is
 //   calculating of X = 2*|x|/(1-|x|). The second one is calculating of
 //   sign(x)*log1pl(X)/2. To obtain required accuracy we use precise division
-//   algorythm output of which is a pair of two extended precision values those
+//   algorithm output of which is a pair of two extended precision values those
 //   approximate result of division with accuracy higher than working
 //   precision. This pair is passed to modified log1pl function.
 //
diff --git a/io/lockf64.c b/io/lockf64.c
index ba4c06a..bc6d026 100644
--- a/io/lockf64.c
+++ b/io/lockf64.c
@@ -21,7 +21,7 @@
 #include <errno.h>
 #include <string.h>
 
-/* lockf.c defines lockf64 as an lias if __OFF_T_MATCHES_OFF64_T.  */
+/* lockf.c defines lockf64 as an alias if __OFF_T_MATCHES_OFF64_T.  */
 #ifndef __OFF_T_MATCHES_OFF64_T
 
 /* lockf is a simplified interface to fcntl's locking facilities.  */
diff --git a/sysdeps/powerpc/powerpc32/cell/memcpy.S b/sysdeps/powerpc/powerpc32/cell/memcpy.S
index f3605d7..24a0f12 100644
--- a/sysdeps/powerpc/powerpc32/cell/memcpy.S
+++ b/sysdeps/powerpc/powerpc32/cell/memcpy.S
@@ -49,7 +49,7 @@ EALIGN (memcpy, 5, 0)
 
 .Lbigcopy:
 	neg	r8,r3		/* LS 3 bits = # bytes to 8-byte dest bdry  */
-	clrlwi  r8,r8,32-4	/* aling to 16byte boundary  */
+	clrlwi  r8,r8,32-4	/* align to 16byte boundary  */
 	sub     r7,r4,r3
 	cmplwi	cr0,r8,0
 	beq+	.Ldst_aligned
diff --git a/sysdeps/powerpc/powerpc64/cell/memcpy.S b/sysdeps/powerpc/powerpc64/cell/memcpy.S
index a271965..104900e 100644
--- a/sysdeps/powerpc/powerpc64/cell/memcpy.S
+++ b/sysdeps/powerpc/powerpc64/cell/memcpy.S
@@ -49,7 +49,7 @@ EALIGN (memcpy, 5, 0)
 
 .Lbigcopy:
 	neg	r8,r3		/* LS 3 bits = # bytes to 8-byte dest bdry  */
-	clrldi  r8,r8,64-4	/* aling to 16byte boundary  */
+	clrldi  r8,r8,64-4	/* align to 16byte boundary  */
 	sub     r7,r4,r3
 	cmpldi	cr0,r8,0
 	beq+	.Ldst_aligned
diff --git a/sysdeps/x86_64/multiarch/strstr.c b/sysdeps/x86_64/multiarch/strstr.c
index cd63b68..34aa1b5 100644
--- a/sysdeps/x86_64/multiarch/strstr.c
+++ b/sysdeps/x86_64/multiarch/strstr.c
@@ -237,7 +237,7 @@ STRSTR_SSE42 (const unsigned char *s1, const unsigned char *s2)
 
   if (cmp_s)
     {
-      /* Adjust addr for 16B alginment in ensuing loop.  */
+      /* Adjust addr for 16B alignment in ensuing loop.  */
       while (!cmp_z)
 	{
 	  p1 += cmp;
diff --git a/nptl/sysdeps/unix/sysv/linux/register-atfork.c b/nptl/sysdeps/unix/sysv/linux/register-atfork.c
index 7d53708..20a09e2 100644
--- a/nptl/sysdeps/unix/sysv/linux/register-atfork.c
+++ b/nptl/sysdeps/unix/sysv/linux/register-atfork.c
@@ -127,7 +127,7 @@ libc_freeres_fn (free_mem)
   /* No more fork handlers.  */
   __fork_handlers = NULL;
 
-  /* Free eventually alloated memory blocks for the object pool.  */
+  /* Free eventually allocated memory blocks for the object pool.  */
   struct fork_handler_pool *runp = fork_handler_pool.next;
 
   memset (&fork_handler_pool, '\0', sizeof (fork_handler_pool));
diff --git a/time/getdate.c b/time/getdate.c
index eadebc3..f3e3c2f 100644
--- a/time/getdate.c
+++ b/time/getdate.c
@@ -42,7 +42,7 @@ static int check_mday (int year, int mon, int mday);
      3  failed to get file status information,
      4  the template file is not a regular file,
      5  an error is encountered while reading the template file,
-     6  memory allication failed (not enough memory available),
+     6  memory allocation failed (not enough memory available),
      7  there is no line in the template that matches the input,
      8  invalid input specification Example: February 31 or a time is
 	specified that can not be represented in a time_t (representing
diff --git a/sysdeps/powerpc/powerpc32/power4/memcmp.S b/sysdeps/powerpc/powerpc32/power4/memcmp.S
index d7050a2..9a455a3 100644
--- a/sysdeps/powerpc/powerpc32/power4/memcmp.S
+++ b/sysdeps/powerpc/powerpc32/power4/memcmp.S
@@ -512,7 +512,7 @@ L(zeroLength):
    of rBITDIF to 0.  If rBITDIF == 0 then rStr1 is word aligned and can
    perform the Wunaligned loop.
 
-   Otherwise we know that rSTR1 is not aready word aligned yet.
+   Otherwise we know that rSTR1 is not already word aligned yet.
    So we can force the string addresses to the next lower word
    boundary and special case this first word using shift left to
    eliminate bits preceding the first byte.  Since we want to join the
diff --git a/sysdeps/powerpc/powerpc32/power7/memcmp.S b/sysdeps/powerpc/powerpc32/power7/memcmp.S
index f764b7c..075e19f 100644
--- a/sysdeps/powerpc/powerpc32/power7/memcmp.S
+++ b/sysdeps/powerpc/powerpc32/power7/memcmp.S
@@ -515,7 +515,7 @@ L(zeroLength):
    of rBITDIF to 0.  If rBITDIF == 0 then rStr1 is word aligned and can
    perform the Wunaligned loop.
 
-   Otherwise we know that rSTR1 is not aready word aligned yet.
+   Otherwise we know that rSTR1 is not already word aligned yet.
    So we can force the string addresses to the next lower word
    boundary and special case this first word using shift left to
    eliminate bits preceding the first byte.  Since we want to join the
diff --git a/sysdeps/powerpc/powerpc32/fpu/setjmp.S b/sysdeps/powerpc/powerpc32/fpu/setjmp.S
index dc93db3..60cd350 100644
--- a/sysdeps/powerpc/powerpc32/fpu/setjmp.S
+++ b/sysdeps/powerpc/powerpc32/fpu/setjmp.S
@@ -1,4 +1,4 @@
-/* non alitivec (old) version of setjmp for PowerPC.
+/* non altivec (old) version of setjmp for PowerPC.
    Copyright (C) 1995-2013 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
diff --git a/sysdeps/powerpc/powerpc32/setjmp.S b/sysdeps/powerpc/powerpc32/setjmp.S
index 851a5b9..8a8cf0d 100644
--- a/sysdeps/powerpc/powerpc32/setjmp.S
+++ b/sysdeps/powerpc/powerpc32/setjmp.S
@@ -1,4 +1,4 @@
-/* non alitivec (old) version of setjmp for PowerPC.
+/* non altivec (old) version of setjmp for PowerPC.
    Copyright (C) 1995-2013 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
diff --git a/posix/fnmatch.c b/posix/fnmatch.c
index 0f26a2e..af7aa58 100644
--- a/posix/fnmatch.c
+++ b/posix/fnmatch.c
@@ -45,7 +45,7 @@
 # define alloca_account(size., var) alloca (size)
 #endif
 
-/* For platform which support the ISO C amendement 1 functionality we
+/* For platform which support the ISO C amendment 1 functionality we
    support user defined character classes.  */
 #if defined _LIBC || (defined HAVE_WCTYPE_H && defined HAVE_WCHAR_H)
 /* Solaris 2.5 has a bug: <wchar.h> must be included before <wctype.h>.  */
diff --git a/posix/fnmatch.c b/posix/fnmatch.c
index 0f26a2e..af7aa58 100644
--- a/posix/fnmatch.c
+++ b/posix/fnmatch.c
@@ -115,7 +115,7 @@ extern int fnmatch (const char *pattern, const char *string, int flags);
 
 # if defined _LIBC || (defined HAVE_WCTYPE_H && defined HAVE_WCHAR_H)
 /* The GNU C library provides support for user-defined character classes
-   and the functions from ISO C amendement 1.  */
+   and the functions from ISO C amendment 1.  */
 #  ifdef CHARCLASS_NAME_MAX
 #   define CHAR_CLASS_MAX_LENGTH CHARCLASS_NAME_MAX
 #  else
diff --git a/elf/sprof.c b/elf/sprof.c
index 60f310f..cc7e01c 100644
--- a/elf/sprof.c
+++ b/elf/sprof.c
@@ -1364,7 +1364,7 @@ generate_call_graph (struct profdata *profdata)
 	    runp = runp->next;
 	  }
 
-	/* Info abount the function itself.  */
+	/* Info amount the function itself.  */
 	n = printf ("[%Zu]", cnt);
 	printf ("%*s%5.1f%8.2f%8.2f%9" PRIdMAX "         %s [%Zd]\n",
 		(int) (7 - n), " ",
diff --git a/iconv/skeleton.c b/iconv/skeleton.c
index 45beb06..6997e05 100644
--- a/iconv/skeleton.c
+++ b/iconv/skeleton.c
@@ -514,7 +514,7 @@ FUNCTION_NAME (struct __gconv_step *step, struct __gconv_step_data *data,
       size_t *lirreversiblep = irreversible ? &lirreversible : NULL;
 
       /* The following assumes that encodings, which have a variable length
-	 what might unalign a buffer even though it is a aligned in the
+	 what might unalign a buffer even though it is an aligned in the
 	 beginning, either don't have the minimal number of bytes as a divisor
 	 of the maximum length or have a minimum length of 1.  This is true
 	 for all known and supported encodings.
diff --git a/resolv/ns_name.c b/resolv/ns_name.c
index adf64bb..f355cf3 100644
--- a/resolv/ns_name.c
+++ b/resolv/ns_name.c
@@ -180,7 +180,7 @@ libresolv_hidden_def (ns_name_ntop)
 strong_alias (ns_name_ntop, __ns_name_ntop)
 
 /*%
- *	Convert a ascii string into an encoded domain name as per RFC1035.
+ *	Convert an ascii string into an encoded domain name as per RFC1035.
  *
  * return:
  *
diff --git a/resolv/gai_notify.c b/resolv/gai_notify.c
index 9e4bdf6..48cb58a 100644
--- a/resolv/gai_notify.c
+++ b/resolv/gai_notify.c
@@ -117,7 +117,7 @@ __gai_notify (struct requestlist *req)
 #endif
 	}
       else
-	/* This is part of a asynchronous `getaddrinfo_a' operation.  If
+	/* This is part of an asynchronous `getaddrinfo_a' operation.  If
 	   this request is the last one, send the signal.  */
 	if (--*waitlist->counterp == 0)
 	  {
diff --git a/sysdeps/pthread/aio_notify.c b/sysdeps/pthread/aio_notify.c
index f3953f1..deedd2d 100644
--- a/sysdeps/pthread/aio_notify.c
+++ b/sysdeps/pthread/aio_notify.c
@@ -157,7 +157,7 @@ __aio_notify (struct requestlist *req)
 #endif
 	}
       else
-	/* This is part of a asynchronous `lio_listio' operation.  If
+	/* This is part of an asynchronous `lio_listio' operation.  If
 	   this request is the last one, send the signal.  */
 	if (--*waitlist->counterp == 0)
 	  {
diff --git a/libio/libioP.h b/libio/libioP.h
index 911f649..7b46388 100644
--- a/libio/libioP.h
+++ b/libio/libioP.h
@@ -73,7 +73,7 @@ extern "C" {
  * These are all the same, just used differently.
  * An _IO_FILE (or FILE) object is allows followed by a pointer to
  * a jump table (of pointers to functions).  The pointer is accessed
- * with the _IO_JUMPS macro.  The jump table has a eccentric format,
+ * with the _IO_JUMPS macro.  The jump table has an eccentric format,
  * so as to be compatible with the layout of a C++ virtual function table.
  * (as implemented by g++).  When a pointer to a streambuf object is
  * coerced to an (_IO_FILE*), then _IO_JUMPS on the result just
diff --git a/sunrpc/rpc/xdr.h b/sunrpc/rpc/xdr.h
index 4e31eb5..d80d8f7 100644
--- a/sunrpc/rpc/xdr.h
+++ b/sunrpc/rpc/xdr.h
@@ -221,7 +221,7 @@ typedef bool_t (*xdrproc_t) (XDR *, void *,...);
 /*
  * Support struct for discriminated unions.
  * You create an array of xdrdiscrim structures, terminated with
- * a entry with a null procedure pointer.  The xdr_union routine gets
+ * an entry with a null procedure pointer.  The xdr_union routine gets
  * the discriminant value and then searches the array of structures
  * for a matching value.  If a match is found the associated xdr routine
  * is called to handle that part of the union.  If there is
diff --git a/sysdeps/unix/sysv/linux/socketcall.h b/sysdeps/unix/sysv/linux/socketcall.h
index d1dffa3..d156717 100644
--- a/sysdeps/unix/sysv/linux/socketcall.h
+++ b/sysdeps/unix/sysv/linux/socketcall.h
@@ -22,7 +22,7 @@
 /* Define unique numbers for the operations permitted on socket.  Linux
    uses a single system call for all these functions.  The relevant code
    file is /usr/include/linux/net.h.
-   We cannot use a enum here because the values are used in assembler
+   We cannot use an enum here because the values are used in assembler
    code.  */
 
 #define SOCKOP_socket		1
diff --git a/crypt/speeds.c b/crypt/speeds.c
index 0d55ae8..8a2d392 100644
--- a/crypt/speeds.c
+++ b/crypt/speeds.c
@@ -16,7 +16,7 @@
  * patch from chip@chinacat.unicom.com (Chip Rosenthal):
  * you may enable it if your system does not include
  * a setitimer() function. You'll have to ensure the
- * existence a environment variable: HZ giving how many
+ * existence an environment variable: HZ giving how many
  * ticks goes per second.
  * If not existing in your default environment 50, 60
  * or even 100 may be the right value. Perhaps you should
diff --git a/elf/reldep.c b/elf/reldep.c
index 44b239b..f4e2eed 100644
--- a/elf/reldep.c
+++ b/elf/reldep.c
@@ -54,7 +54,7 @@ main (void)
     }
 
   /* Now close the first object.  If must still be around since we have
-     a implicit dependency.  */
+     an implicit dependency.  */
   if (dlclose (h1) != 0)
     {
       printf ("closing h1 failed: %s\n", dlerror ());
diff --git a/elf/reldep3.c b/elf/reldep3.c
index b051c41..ea6a10b 100644
--- a/elf/reldep3.c
+++ b/elf/reldep3.c
@@ -54,7 +54,7 @@ main (void)
     }
 
   /* Now close the first object.  If must still be around since we have
-     a implicit dependency.  */
+     an implicit dependency.  */
   if (dlclose (h1) != 0)
     {
       printf ("closing h1 failed: %s\n", dlerror ());
diff --git a/libio/libioP.h b/libio/libioP.h
index 911f649..7b46388 100644
--- a/libio/libioP.h
+++ b/libio/libioP.h
@@ -224,7 +224,7 @@ typedef int (*_IO_doallocate_t) (_IO_FILE *);
    There is no correspondence in the ANSI/ISO C++ standard library.
    The hooks basically correspond to the Unix system functions
    (read, write, close, lseek, and stat) except that a _IO_FILE*
-   parameter is used instead of a integer file descriptor;  the default
+   parameter is used instead of an integer file descriptor;  the default
    implementation used for normal files just calls those functions.
    The advantage of overriding these functions instead of the higher-level
    ones (underflow, overflow etc) is that you can leave all the buffering
diff --git a/nptl/pthread_getschedparam.c b/nptl/pthread_getschedparam.c
index fd71350..7d996e4 100644
--- a/nptl/pthread_getschedparam.c
+++ b/nptl/pthread_getschedparam.c
@@ -40,7 +40,7 @@ __pthread_getschedparam (threadid, policy, param)
   lll_lock (pd->lock, LLL_PRIVATE);
 
   /* The library is responsible for maintaining the values at all
-     times.  If the user uses a interface other than
+     times.  If the user uses an interface other than
      pthread_setschedparam to modify the scheduler setting it is not
      the library's problem.  In case the descriptor's values have
      not yet been retrieved do it now.  */
diff --git a/ports/sysdeps/am33/fpu/fraiseexcpt.c b/ports/sysdeps/am33/fpu/fraiseexcpt.c
index f62e83a..1610adf 100644
--- a/ports/sysdeps/am33/fpu/fraiseexcpt.c
+++ b/ports/sysdeps/am33/fpu/fraiseexcpt.c
@@ -35,7 +35,7 @@ __feraiseexcept (int excepts)
   /* First: invalid exception.  */
   if (excepts & FE_INVALID)
     {
-      /* One example of a invalid operation is 0 * Infinity.  */
+      /* One example of an invalid operation is 0 * Infinity.  */
       float x = HUGE_VALF, y = 0.0f;
       __asm__ __volatile__ ("fmul %1,%0" : "+f" (x) : "f" (y));
     }
diff --git a/ports/sysdeps/hppa/fpu/fraiseexcpt.c b/ports/sysdeps/hppa/fpu/fraiseexcpt.c
index 0b55d34..28e2db4 100644
--- a/ports/sysdeps/hppa/fpu/fraiseexcpt.c
+++ b/ports/sysdeps/hppa/fpu/fraiseexcpt.c
@@ -42,7 +42,7 @@ feraiseexcept (int excepts)
   /* First: Invalid exception.  */
   if (excepts & FE_INVALID)
     {
-      /* One example of a invalid operation is 0 * Infinity.  */
+      /* One example of an invalid operation is 0 * Infinity.  */
       double d = HUGE_VAL;
       __asm__ __volatile__ (
 		"	fcpy,dbl %%fr0,%%fr22\n"
diff --git a/ports/sysdeps/ia64/fpu/fraiseexcpt.c b/ports/sysdeps/ia64/fpu/fraiseexcpt.c
index aaa9b61..76c1b7a 100644
--- a/ports/sysdeps/ia64/fpu/fraiseexcpt.c
+++ b/ports/sysdeps/ia64/fpu/fraiseexcpt.c
@@ -40,7 +40,7 @@ feraiseexcept (int excepts)
   /* First: invalid exception.  */
   if (FE_INVALID & excepts)
     {
-      /* One example of a invalid operation is 0 * Infinity.  */
+      /* One example of an invalid operation is 0 * Infinity.  */
       tmp = 0;
       __asm__ __volatile__ ("frcpa.s0 %0,p1=f0,f0" : "=f" (tmp) : : "p1" );
     }
diff --git a/ports/sysdeps/m68k/m680x0/fpu/fraiseexcpt.c b/ports/sysdeps/m68k/m680x0/fpu/fraiseexcpt.c
index 54ec89f..83c4e4d 100644
--- a/ports/sysdeps/m68k/m680x0/fpu/fraiseexcpt.c
+++ b/ports/sysdeps/m68k/m680x0/fpu/fraiseexcpt.c
@@ -33,7 +33,7 @@ __feraiseexcept (int excepts)
   /* First: invalid exception.  */
   if (excepts & FE_INVALID)
     {
-      /* One example of a invalid operation is 0 * Infinity.  */
+      /* One example of an invalid operation is 0 * Infinity.  */
       double d = HUGE_VAL;
       __asm__ __volatile__ ("fmul%.s %#0r0,%0; fnop" : "=f" (d) : "0" (d));
     }
diff --git a/sysdeps/i386/fpu/fraiseexcpt.c b/sysdeps/i386/fpu/fraiseexcpt.c
index 141681d..c359e5e 100644
--- a/sysdeps/i386/fpu/fraiseexcpt.c
+++ b/sysdeps/i386/fpu/fraiseexcpt.c
@@ -31,7 +31,7 @@ __feraiseexcept (int excepts)
   /* First: invalid exception.  */
   if ((FE_INVALID & excepts) != 0)
     {
-      /* One example of a invalid operation is 0.0 / 0.0.  */
+      /* One example of an invalid operation is 0.0 / 0.0.  */
       double d;
       __asm__ __volatile__ ("fldz; fdiv %%st, %%st(0); fwait" : "=t" (d));
       (void) &d;
diff --git a/sysdeps/x86/fpu/bits/fenv.h b/sysdeps/x86/fpu/bits/fenv.h
index e2fa21d..b9040cc 100644
--- a/sysdeps/x86/fpu/bits/fenv.h
+++ b/sysdeps/x86/fpu/bits/fenv.h
@@ -115,7 +115,7 @@ __NTH (feraiseexcept (int __excepts))
     {
       if ((FE_INVALID & __excepts) != 0)
 	{
-	  /* One example of a invalid operation is 0.0 / 0.0.  */
+	  /* One example of an invalid operation is 0.0 / 0.0.  */
 	  float __f = 0.0;
 
 # ifdef __SSE_MATH__
diff --git a/sysdeps/x86_64/fpu/fraiseexcpt.c b/sysdeps/x86_64/fpu/fraiseexcpt.c
index 9a251e1..e5f553a 100644
--- a/sysdeps/x86_64/fpu/fraiseexcpt.c
+++ b/sysdeps/x86_64/fpu/fraiseexcpt.c
@@ -30,7 +30,7 @@ __feraiseexcept (int excepts)
   /* First: invalid exception.  */
   if ((FE_INVALID & excepts) != 0)
     {
-      /* One example of a invalid operation is 0.0 / 0.0.  */
+      /* One example of an invalid operation is 0.0 / 0.0.  */
       float f = 0.0;
 
       __asm__ __volatile__ ("divss %0, %0 " : : "x" (f));
diff --git a/sysdeps/sparc/fpu/fraiseexcpt.c b/sysdeps/sparc/fpu/fraiseexcpt.c
index 0350df9..050e105 100644
--- a/sysdeps/sparc/fpu/fraiseexcpt.c
+++ b/sysdeps/sparc/fpu/fraiseexcpt.c
@@ -39,7 +39,7 @@ __feraiseexcept (int excepts)
   /* First: invalid exception.  */
   if ((FE_INVALID & excepts) != 0)
     {
-      /* One example of a invalid operation is 0/0.  */
+      /* One example of an invalid operation is 0/0.  */
       __asm ("" : "=e" (d) : "0" (c.zero));
       d /= c.zero;
       __asm __volatile ("" : : "e" (d));
diff --git a/iconv/iconv_charmap.c b/iconv/iconv_charmap.c
index 56f156e..09024a9 100644
--- a/iconv/iconv_charmap.c
+++ b/iconv/iconv_charmap.c
@@ -454,7 +454,7 @@ process_block (struct convtable *tbl, char *addr, size_t len, FILE *output)
       while (! is_term (cur, byte))
 	if (cur->val[byte].sub == NULL)
 	  {
-	    /* This is a invalid sequence.  Skip the first byte if we are
+	    /* This is an invalid sequence.  Skip the first byte if we are
 	       ignoring errors.  Otherwise punt.  */
 	    if (! omit_invalid)
 	      {
diff --git a/iconv/skeleton.c b/iconv/skeleton.c
index 45beb06..6997e05 100644
--- a/iconv/skeleton.c
+++ b/iconv/skeleton.c
@@ -659,7 +659,7 @@ FUNCTION_NAME (struct __gconv_step *step, struct __gconv_step_data *data,
 	      data->__outbuf = outbuf;
 
 	      /* Remember how many non-identical characters we
-		 converted in a irreversible way.  */
+		 converted in an irreversible way.  */
 	      *irreversible += lirreversible;
 
 	      break;
diff --git a/argp/argp-help.c b/argp/argp-help.c
index 4b83737..ee39387 100644
--- a/argp/argp-help.c
+++ b/argp/argp-help.c
@@ -357,7 +357,7 @@ struct hol_entry
   /* A pointers into the HOL's short_options field, to the first short option
      letter for this entry.  The order of the characters following this point
      corresponds to the order of options pointed to by OPT, and there are at
-     most NUM.  A short option recorded in a option following OPT is only
+     most NUM.  A short option recorded in an option following OPT is only
      valid if it occurs in the right place in SHORT_OPTIONS (otherwise it's
      probably been shadowed by some other entry).  */
   char *short_options;
diff --git a/resolv/ns_samedomain.c b/resolv/ns_samedomain.c
index 44b843a..df6a4a2 100644
--- a/resolv/ns_samedomain.c
+++ b/resolv/ns_samedomain.c
@@ -29,7 +29,7 @@ static const char rcsid[] = "$BINDId: ns_samedomain.c,v 8.9 1999/10/15 21:06:51
  *	Check whether a name belongs to a domain.
  *
  * Inputs:
- *\li	a - the domain whose ancestory is being verified
+ *\li	a - the domain whose ancestry is being verified
  *\li	b - the potential ancestor we're checking against
  *
  * Return:
diff --git a/stdlib/random.c b/stdlib/random.c
index e4302b0..d286bcf 100644
--- a/stdlib/random.c
+++ b/stdlib/random.c
@@ -160,7 +160,7 @@ static int32_t randtbl[DEG_3 + 1] =
 static struct random_data unsafe_state =
   {
 /* FPTR and RPTR are two pointers into the state info, a front and a rear
-   pointer.  These two pointers are always rand_sep places aparts, as they
+   pointer.  These two pointers are always rand_sep places apart, as they
    cycle through the state information.  (Yes, this does mean we could get
    away with just one pointer, but the code for random is more efficient
    this way).  The pointers are left positioned as they would be from the call:
diff --git a/resolv/res_send.c b/resolv/res_send.c
index 60da5c9..140efbe 100644
--- a/resolv/res_send.c
+++ b/resolv/res_send.c
@@ -875,7 +875,7 @@ send_vc(res_state statp,
 		}
 	}
 	/*
-	 * If the calling applicating has bailed out of
+	 * If the calling application has bailed out of
 	 * a previous call and failed to arrange to have
 	 * the circuit closed or the server has got
 	 * itself confused, then drop the packet and
diff --git a/ports/sysdeps/unix/sysv/linux/hppa/sysdep.h b/ports/sysdeps/unix/sysv/linux/hppa/sysdep.h
index c8c20e7..0d27b40 100644
--- a/ports/sysdeps/unix/sysv/linux/hppa/sysdep.h
+++ b/ports/sysdeps/unix/sysv/linux/hppa/sysdep.h
@@ -219,7 +219,7 @@
 
 
 /* FIXME: This comment is not true.
- * All the syscall assembly macros rely on finding the approriate
+ * All the syscall assembly macros rely on finding the appropriate
    SYSCALL_ERROR_LABEL or rather HANDLER. */
 
 /* int * __errno_location(void) so you have to store your value
diff --git a/argp/argp-help.c b/argp/argp-help.c
index 4b83737..ee39387 100644
--- a/argp/argp-help.c
+++ b/argp/argp-help.c
@@ -736,12 +736,12 @@ hol_entry_cmp (const struct hol_entry *entry1,
   if (entry1->cluster != entry2->cluster)
     {
       /* The entries are not within the same cluster, so we can't compare them
-	 directly, we have to use the appropiate clustering level too.  */
+	 directly, we have to use the appropriate clustering level too.  */
       if (! entry1->cluster)
 	/* ENTRY1 is at the `base level', not in a cluster, so we have to
 	   compare it's group number with that of the base cluster in which
 	   ENTRY2 resides.  Note that if they're in the same group, the
-	   clustered option always comes laster.  */
+	   clustered option always comes last.  */
 	return group_cmp (group1, hol_cluster_base (entry2->cluster)->group, -1);
       else if (! entry2->cluster)
 	/* Likewise, but ENTRY2's not in a cluster.  */
diff --git a/argp/argp.h b/argp/argp.h
index 5160da8..c919b07 100644
--- a/argp/argp.h
+++ b/argp/argp.h
@@ -481,7 +481,7 @@ extern void __argp_help (const struct argp *__restrict __argp,
    parsing routine (thus taking an argp_state structure as the first
    argument).  They may or may not print an error message and exit, depending
    on the flags in STATE -- in any case, the caller should be prepared for
-   them *not* to exit, and should return an appropiate error after calling
+   them *not* to exit, and should return an appropriate error after calling
    them.  [argp_usage & argp_error should probably be called argp_state_...,
    but they're used often enough that they should be short]  */
 
diff --git a/argp/argp-help.c b/argp/argp-help.c
index 4b83737..ee39387 100644
--- a/argp/argp-help.c
+++ b/argp/argp-help.c
@@ -275,11 +275,11 @@ fill_in_uparams (const struct argp_state *state)
      -xARG, -yARG, --long1=ARG, --long2=ARG        Documentation...
 
    Where ARG will be omitted if there's no argument, for this option, or
-   will be surrounded by "[" and "]" appropiately if the argument is
-   optional.  The documentation string is word-wrapped appropiately, and if
+   will be surrounded by "[" and "]" appropriately if the argument is
+   optional.  The documentation string is word-wrapped appropriately, and if
    the list of options is long enough, it will be started on a separate line.
    If there are no short options for a given option, the first long option is
-   indented slighly in a way that's supposed to make most long options appear
+   indented slightly in a way that's supposed to make most long options appear
    to be in a separate column.
 
    For example, the following output (from ps):
diff --git a/argp/argp-parse.c b/argp/argp-parse.c
index f68ebab..b7efbf9 100644
--- a/argp/argp-parse.c
+++ b/argp/argp-parse.c
@@ -410,7 +410,7 @@ convert_options (const struct argp *argp,
   return group;
 }
 
-/* Find the merged set of getopt options, with keys appropiately prefixed. */
+/* Find the merged set of getopt options, with keys appropriately prefixed. */
 static void
 parser_convert (struct parser *parser, const struct argp *argp, int flags)
 {
diff --git a/argp/argp-help.c b/argp/argp-help.c
index 4b83737..ee39387 100644
--- a/argp/argp-help.c
+++ b/argp/argp-help.c
@@ -998,7 +998,7 @@ filter_doc (const char *doc, int key, const struct argp *argp,
     return doc;
 }
 
-/* Prints STR as a header line, with the margin lines set appropiately, and
+/* Prints STR as a header line, with the margin lines set appropriately, and
    notes the fact that groups should be separated with a blank line.  ARGP is
    the argp that should dictate any user doc filtering to take place.  Note
    that the previous wrap margin isn't restored, but the left margin is reset
diff --git a/argp/argp-help.c b/argp/argp-help.c
index 4b83737..ee39387 100644
--- a/argp/argp-help.c
+++ b/argp/argp-help.c
@@ -160,7 +160,7 @@ static const struct uparam_name uparam_names[] =
 };
 #define nuparam_names (sizeof (uparam_names) / sizeof (uparam_names[0]))
 
-/* Read user options from the environment, and fill in UPARAMS appropiately.  */
+/* Read user options from the environment, and fill in UPARAMS appropriately.  */
 static void
 fill_in_uparams (const struct argp_state *state)
 {
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 351befb..084a940 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1334,7 +1334,7 @@ LOCAL_OBJECT_END(lgammal_near_neg_half_data)
 //!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 LOCAL_OBJECT_START(lgammal_right_roots_polynomial_data)
 // Polynomial coefficients for right root on [-3, -2]
-// Lgammal is aproximated by polynomial within [-.056244 ; .158208 ] range
+// Lgammal is approximated by polynomial within [-.056244 ; .158208 ] range
 data8 0xBBBD5E9DCD11030B, 0xB867411D9FF87DD4 //A0
 data8 0x3FF83FE966AF535E, 0x3CAA21235B8A769A //A1
 data8 0x40136EEBB002F55C, 0x3CC3959A6029838E //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 351befb..084a940 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1510,7 +1510,7 @@ data8 0x534E00B6B0C8B809 //A17
 data8 0x5475022FE21215B2 //A18
 data8 0x5596B02BF6C5E19B //A19
 // Polynomial coefficients for right root on [-11, -10]
-// Lgammal is aproximated by polynomial within [-.154151 ; .154151 ] range
+// Lgammal is approximated by polynomial within [-.154151 ; .154151 ] range
 data8 0x3D7AA9C2E2B1029C, 0x3A15FB37578544DB //A0
 data8 0x414BAF825A0C91D4, 0x3DFB9DA2CE398747 //A1
 data8 0x4297F3EC8AE0AF03, 0x3F34208B55FB8781 //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 351befb..084a940 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1532,7 +1532,7 @@ data8 0x56D4D10FEEDB030C //A17
 data8 0x5832385DF86AD28A //A18
 data8 0x598898914B4D6523 //A19
 // Polynomial coefficients for right root on [-12, -11]
-// Lgammal is aproximated by polynomial within [-.154151 ; .154151 ] range
+// Lgammal is approximated by polynomial within [-.154151 ; .154151 ] range
 data8 0xBD96F61647C58B03, 0xBA3ABB0C2A6C755B //A0
 data8 0x418308A82714B70D, 0x3E1088FC6A104C39 //A1
 data8 0x4306A493DD613C39, 0x3FB2341ECBF85741 //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 351befb..084a940 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1554,7 +1554,7 @@ data8 0x5A824088688B008D //A17
 data8 0x5C15F75EF7E08EBD //A18
 data8 0x5DA462EA902F0C90 //A19
 // Polynomial coefficients for right root on [-13, -12]
-// Lgammal is aproximated by polynomial within [-.154151 ; .154151 ] range
+// Lgammal is approximated by polynomial within [-.154151 ; .154151 ] range
 data8 0x3DC3191752ACFC9D, 0x3A26CB6629532DBF //A0
 data8 0x41BC8CFC051191BD, 0x3E68A84DA4E62AF2 //A1
 data8 0x43797926294A0148, 0x400F345FF3723CFF //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 351befb..084a940 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1576,7 +1576,7 @@ data8 0x5E518FC34C6F54EF //A17
 data8 0x601FB3F17BCCD9A0 //A18
 data8 0x61E61128D512FE97 //A1
 // Polynomial coefficients for right root on [-14, -13]
-// Lgammal is aproximated by polynomial within [-.154151 ; .154151 ] range
+// Lgammal is approximated by polynomial within [-.154151 ; .154151 ] range
 data8 0xBE170D646421B3F5, 0xBAAD95F79FCB5097 //A0
 data8 0x41F7328CBFCD9AC7, 0x3E743B8B1E8AEDB1 //A1
 data8 0x43F0D0FA2DBDA237, 0x40A0422D6A227B55 //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 351befb..084a940 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1598,7 +1598,7 @@ data8 0x6240787C4B1C9D6C //A17
 data8 0x6448289235E80977 //A18
 data8 0x664B5352C6C3449E //A19
 // Polynomial coefficients for right root on [-15, -14]
-// Lgammal is aproximated by polynomial within [-.154151 ; .154151 ] range
+// Lgammal is approximated by polynomial within [-.154151 ; .154151 ] range
 data8 0x3E562C2E34A9207D, 0x3ADC00DA3DFF7A83 //A0
 data8 0x42344C3B2F0D90AB, 0x3EB8A2E979F24536 //A1
 data8 0x4469BFFF28B50D07, 0x41181E3D05C1C294 //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 351befb..084a940 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1620,7 +1620,7 @@ data8 0x664B3998D60D0F9B //A17
 data8 0x689178710782FA8B //A18
 data8 0x6AD14A66C1C7BEC3 //A19
 // Polynomial coefficients for right root on [-16, -15]
-// Lgammal is aproximated by polynomial within [-.154151 ; .154151 ] range
+// Lgammal is approximated by polynomial within [-.154151 ; .154151 ] range
 data8 0xBE6D7E7192615BAE, 0xBB0137677D7CC719 //A0
 data8 0x4273077763F6628C, 0x3F09250FB8FC8EC9 //A1
 data8 0x44E6A1BF095B1AB3, 0x4178D5A74F6CB3B3 //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 351befb..084a940 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1642,7 +1642,7 @@ data8 0x6A722D2B19B7E2F9 //A17
 data8 0x6CF5DEB3073B0743 //A18
 data8 0x6F744AC11550B93A //A19
 // Polynomial coefficients for right root on [-17, -16]
-// Lgammal is aproximated by polynomial within [-.154151 ; .154151 ] range
+// Lgammal is approximated by polynomial within [-.154151 ; .154151 ] range
 data8 0xBEDCC6291188207E, 0xBB872E3FDD48F5B7 //A0
 data8 0x42B3076EE7525EF9, 0x3F6687A5038CA81C //A1
 data8 0x4566A1AAD96EBCB5, 0x421F0FEDFBF548D2 //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 351befb..084a940 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1664,7 +1664,7 @@ data8 0x6EB22C9807C21819 //A17
 data8 0x7175DE20D04617C4 //A18
 data8 0x74344AB87C6D655F //A19
 // Polynomial coefficients for right root on [-18, -17]
-// Lgammal is aproximated by polynomial within [-.154151 ; .154151 ] range
+// Lgammal is approximated by polynomial within [-.154151 ; .154151 ] range
 data8 0xBF28AEEE7B61D77C, 0xBBDBBB5FC57ABF79 //A0
 data8 0x42F436F56B3B8A0C, 0x3FA43EE3C5C576E9 //A1
 data8 0x45E98A22535D115D, 0x42984678BE78CC48 //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 351befb..084a940 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1686,7 +1686,7 @@ data8 0x730962B4500F4A61 //A17
 data8 0x76103C6ED099192A //A18
 data8 0x79100C7132CFD6E3 //A19
 // Polynomial coefficients for right root on [-19, -18]
-// Lgammal is aproximated by polynomial within [-.154151 ; .154151 ] range
+// Lgammal is approximated by polynomial within [-.154151 ; .154151 ] range
 data8 0x3F3C19A53328A0C3, 0x3BE04ADC3FBE1458 //A0
 data8 0x4336C16C16C16C19, 0x3FE58CE3AC4A7C28 //A1
 data8 0x46702E85C0898B70, 0x432C922E412CEC6E //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 351befb..084a940 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1708,7 +1708,7 @@ data8 0x7777C401A8715CF9 //A17
 data8 0x7AC1110C6D350440 //A18
 data8 0x7E02D0971CF84865 //A19
 // Polynomial coefficients for right root on [-20, -19]
-// Lgammal is aproximated by polynomial within [-.154151 ; .154151 ] range
+// Lgammal is approximated by polynomial within [-.154151 ; .154151 ] range
 data8 0xBFAB767F9BE21803, 0xBC5ACEF5BB1BD8B5 //A0
 data8 0x4379999999999999, 0x4029241C7F5914C8 //A1
 data8 0x46F47AE147AE147A, 0x43AC2979B64B9D7E //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 351befb..084a940 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1488,7 +1488,7 @@ data8 0x4FF03797EACD0F23 //A17
 data8 0x50E4304A8E68A730 //A18
 data8 0x51D3618FB2EC9F93 //A19
 // Polynomial coefficients for right root on [-10, -9]
-// Lgammal is aproximated by polynomial within [-.154152 ; .154152 ] range
+// Lgammal is approximated by polynomial within [-.154152 ; .154152 ] range
 data8 0x3D42F34DA97ECF0C, 0x39FD1256F345B0D0 //A0
 data8 0x4116261203919787, 0x3DC12D44055588EB //A1
 data8 0x422EA8F32FB7FE99, 0x3ED849CE4E7B2D77 //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 351befb..084a940 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1466,7 +1466,7 @@ data8 0x4CC05021086F637B //A17
 data8 0x4D8450A345B0FB49 //A18
 data8 0x4E43825848865DB2 //A19
 // Polynomial coefficients for right root on [-9, -8]
-// Lgammal is aproximated by polynomial within [-.154160 ; .154158 ] range
+// Lgammal is approximated by polynomial within [-.154160 ; .154158 ] range
 data8 0x3CDF4358564F2B46, 0x397969BEE6042F81 //A0
 data8 0x40E3B088FED67721, 0x3D82787BA937EE85 //A1
 data8 0x41C83A3893550EF4, 0x3E542ED57E244DA8 //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 351befb..084a940 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1444,7 +1444,7 @@ data8 0x49C47CC9AE3F1073 //A17
 data8 0x4A5D38E8C35EFF45 //A18
 data8 0x4AF0123E89694CD8 //A19
 // Polynomial coefficients for right root on [-8, -7]
-// Lgammal is aproximated by polynomial within [-.154217 ; .154208 ] range
+// Lgammal is approximated by polynomial within [-.154217 ; .154208 ] range
 data8 0xBCD2507D818DDD68, 0xB97F6940EA2871A0 //A0
 data8 0x40B3B407AA387BCB, 0x3D6320238F2C43D1 //A1
 data8 0x41683E85DAAFBAC7, 0x3E148D085958EA3A //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 351befb..084a940 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1422,7 +1422,7 @@ data8 0x4709D045390A3810 //A17
 data8 0x4778D360873C9F64 //A18
 data8 0x47E26965BE9A682A //A19
 // Polynomial coefficients for right root on [-7, -6]
-// Lgammal is aproximated by polynomial within [-.154582 ; .154521 ] range
+// Lgammal is approximated by polynomial within [-.154582 ; .154521 ] range
 data8 0x3C75F103A1B00A48, 0x391C041C190C726D //A0
 data8 0x40869DE49E3AF2AA, 0x3D1C17E1F813063B //A1
 data8 0x410FCE23484CFD10, 0x3DB6F38C2F11DAB9 //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 351befb..084a940 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1400,7 +1400,7 @@ data8 0x44A3507DA81D5C01 //A17
 data8 0x44EF06A31E39EEDF //A18
 data8 0x45333774C99F523F //A19
 // Polynomial coefficients for right root on [-6, -5]
-// Lgammal is aproximated by polynomial within [-.156450 ; .156126 ] range
+// Lgammal is approximated by polynomial within [-.156450 ; .156126 ] range
 data8 0x3C71B82D6B2B3304, 0x3917186E3C0DC231 //A0
 data8 0x405ED72E0829AE02, 0x3C960C25157980EB //A1
 data8 0x40BCECC32EC22F9B, 0x3D5D8335A32F019C //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 351befb..084a940 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1378,7 +1378,7 @@ data8 0x42A7256F59B286F7 //A17
 data8 0x42D462D1586DE61F //A18
 data8 0x42FBB1228D6C5118 //A19
 // Polynomial coefficients for right root on [-5, -4]
-// Lgammal is aproximated by polynomial within [-.163171 ; .161988 ] range
+// Lgammal is approximated by polynomial within [-.163171 ; .161988 ] range
 data8 0x3C5840FBAFDEE5BB, 0x38CAC0336E8C490A //A0
 data8 0x403ACA5CF4921642, 0x3CCEDCDDA5491E56 //A1
 data8 0x40744415CD813F8E, 0x3CFBFEBC17E39146 //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 351befb..084a940 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1356,7 +1356,7 @@ data8 0x40E0FB2C989CE4A3 //A17
 data8 0x40E52739AB005641 //A18
 data8 0x41161E3E6DDF503A //A19
 // Polynomial coefficients for right root on [-4, -3]
-// Lgammal is aproximated by polynomial within [-.172797 ; .171573 ] range
+// Lgammal is approximated by polynomial within [-.172797 ; .171573 ] range
 data8 0x3C172712B248E42E, 0x38CB8D17801A5D67 //A0
 data8 0x401F20A65F2FAC54, 0x3CCB9EA1817A824E //A1
 data8 0x4039D4D2977150EF, 0x3CDA42E149B6276A //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 351befb..084a940 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1733,7 +1733,7 @@ LOCAL_OBJECT_END(lgammal_right_roots_polynomial_data)
 
 LOCAL_OBJECT_START(lgammal_left_roots_polynomial_data)
 // Polynomial coefficients for left root on [-3, -2]
-// Lgammal is aproximated by polynomial within [.084641 ; -.059553 ] range
+// Lgammal is approximated by polynomial within [.084641 ; -.059553 ] range
 data8 0xBC0844590979B82E, 0xB8BC7CE8CE2ECC3B //A0
 data8 0xBFFEA12DA904B18C, 0xBC91A6B2BAD5EF6E //A1
 data8 0x4023267F3C265A51, 0x3CD7055481D03AED //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 351befb..084a940 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1756,7 +1756,7 @@ data8 0x41EA727E3033E2D9 //A18
 data8 0xC20812C297729142 //A19
 //
 // Polynomial coefficients for left root on [-4, -3]
-// Lgammal is aproximated by polynomial within [.147147 ; -.145158 ] range
+// Lgammal is approximated by polynomial within [.147147 ; -.145158 ] range
 data8 0xBC3130AE5C4F54DB, 0xB8ED23294C13398A //A0
 data8 0xC034B99D966C5646, 0xBCE2E5FE3BC3DBB9 //A1
 data8 0x406F76DEAE0436BD, 0x3D14974DDEC057BD //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 351befb..084a940 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1778,7 +1778,7 @@ data8 0xC471C4421E908C3A //A17
 data8 0x44B92CD4D59D6D17 //A18
 data8 0xC4FB3A078B5247FA //A19
 // Polynomial coefficients for left root on [-5, -4]
-// Lgammal is aproximated by polynomial within [.155671 ; -.155300 ] range
+// Lgammal is approximated by polynomial within [.155671 ; -.155300 ] range
 data8 0xBC57BF3C6E8A94C1, 0xB902FB666934AC9E //A0
 data8 0xC05D224A3EF9E41F, 0xBCF6F5713913E440 //A1
 data8 0x40BB533C678A3955, 0x3D688E53E3C72538 //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 351befb..084a940 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1800,7 +1800,7 @@ data8 0xC6FFDDC6DD938E2E //A17
 data8 0x476DD7C07184B9F9 //A18
 data8 0xC7D554A30085C052 //A19
 // Polynomial coefficients for left root on [-6, -5]
-// Lgammal is aproximated by polynomial within [.157425 ; -.157360 ] range
+// Lgammal is approximated by polynomial within [.157425 ; -.157360 ] range
 data8 0x3C9E20A87C8B79F1, 0x39488BE34B2427DB //A0
 data8 0xC08661F6A43A5E12, 0xBD3D912526D759CC //A1
 data8 0x410F79DCB794F270, 0x3DB9BEE7CD3C1BF5 //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 351befb..084a940 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1822,7 +1822,7 @@ data8 0xC9C2C6A864521F3A //A17
 data8 0x4A5AB127C62E8DA1 //A18
 data8 0xCAECF60EF3183C57 //A19
 // Polynomial coefficients for left root on [-7, -6]
-// Lgammal is aproximated by polynomial within [.157749 ; -.157739 ] range
+// Lgammal is approximated by polynomial within [.157749 ; -.157739 ] range
 data8 0x3CC9B9E8B8D551D6, 0x3961813C8E1E10DB //A0
 data8 0xC0B3ABF7A5CEA91F, 0xBD55638D4BCB4CC4 //A1
 data8 0x4168349A25504236, 0x3E0287ECE50CCF76 //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 351befb..084a940 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1844,7 +1844,7 @@ data8 0xCCC01CB3021212FF //A17
 data8 0x4D841613AC3431D1 //A18
 data8 0xCE431C9E9EE43AD9 //A19
 // Polynomial coefficients for left root on [-8, -7]
-// Lgammal is aproximated by polynomial within [.157799 ; -.157798 ] range
+// Lgammal is approximated by polynomial within [.157799 ; -.157798 ] range
 data8 0xBCF9C7A33AD9478C, 0xB995B0470F11E5ED //A0
 data8 0xC0E3AF76FE4C2F8B, 0xBD8DBCD503250511 //A1
 data8 0x41C838E76CAAF0D5, 0x3E5D79F5E2E069C3 //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 351befb..084a940 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1866,7 +1866,7 @@ data8 0xCFF0351B51508523 //A17
 data8 0x50E4364CCBF53100 //A18
 data8 0xD1D33CFD0BF96FA6 //A19
 // Polynomial coefficients for left root on [-9, -8]
-// Lgammal is aproximated by polynomial within [.157806 ; -.157806 ] range
+// Lgammal is approximated by polynomial within [.157806 ; -.157806 ] range
 data8 0x3D333E4438B1B9D4, 0x39E7B956B83964C1 //A0
 data8 0xC11625EDFC63DCD8, 0xBDCF39625709EFAC //A1
 data8 0x422EA8C150480F16, 0x3EC16ED908AB7EDD //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 351befb..084a940 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1888,7 +1888,7 @@ data8 0xD34E085C088404A5 //A17
 data8 0x547511892FF8960E //A18
 data8 0xD5968FA3B1ED67A9 //A19
 // Polynomial coefficients for left root on [-10, -9]
-// Lgammal is aproximated by polynomial within [.157807 ; -.157807 ] range
+// Lgammal is approximated by polynomial within [.157807 ; -.157807 ] range
 data8 0xBD355818A2B42BA2, 0xB9B7320B6A0D61EA //A0
 data8 0xC14BAF7DA5F3770E, 0xBDE64AF9A868F719 //A1
 data8 0x4297F3E8791F9CD3, 0x3F2A553E59B4835E //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 351befb..084a940 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1910,7 +1910,7 @@ data8 0xD6D4D760074F6E6B //A17
 data8 0x5832469D58ED3FA9 //A18
 data8 0xD988769F3DC76642 //A19
 // Polynomial coefficients for left root on [-11, -10]
-// Lgammal is aproximated by polynomial within [.157807 ; -.157807 ] range
+// Lgammal is approximated by polynomial within [.157807 ; -.157807 ] range
 data8 0xBDA050601F39778A, 0xBA0D4D1CE53E8241 //A0
 data8 0xC18308A7D8EA4039, 0xBE370C379D3EAD41 //A1
 data8 0x4306A49380644E6C, 0x3FBBB143C0E7B5C8 //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 351befb..084a940 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1932,7 +1932,7 @@ data8 0xDA8246294D210BEC //A17
 data8 0x5C1608AAC32C3A8E //A18
 data8 0xDDA446E570A397D5 //A19
 // Polynomial coefficients for left root on [-12, -11]
-// Lgammal is aproximated by polynomial within [.157807 ; -.157807 ] range
+// Lgammal is approximated by polynomial within [.157807 ; -.157807 ] range
 data8 0x3DEACBB3081C502E, 0x3A8AA6F01DEDF745 //A0
 data8 0xC1BC8CFBFB0A9912, 0xBE6556B6504A2AE6 //A1
 data8 0x43797926206941D7, 0x40289A9644C2A216 //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 351befb..084a940 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1954,7 +1954,7 @@ data8 0xDE51952FDFD1EC49 //A17
 data8 0x601FCCEC1BBD25F1 //A18
 data8 0xE1E5F2D76B610920 //A19
 // Polynomial coefficients for left root on [-13, -12]
-// Lgammal is aproximated by polynomial within [.157807 ; -.157807 ] range
+// Lgammal is approximated by polynomial within [.157807 ; -.157807 ] range
 data8 0xBE01612F373268ED, 0xBA97B7A18CDF103B //A0
 data8 0xC1F7328CBF7A4FAC, 0xBE89A25A6952F481 //A1
 data8 0x43F0D0FA2DBDA237, 0x40A0422EC1CE6084 //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 351befb..084a940 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1976,7 +1976,7 @@ data8 0xE2407D92CD613E82 //A17
 data8 0x64483B9B62367EB7 //A18
 data8 0xE64B2DC830E8A799 //A1
 // Polynomial coefficients for left root on [-14, -13]
-// Lgammal is aproximated by polynomial within [.157807 ; -.157807 ] range
+// Lgammal is approximated by polynomial within [.157807 ; -.157807 ] range
 data8 0x3E563D0B930B371F, 0x3AE779957E14F012 //A0
 data8 0xC2344C3B2F083767, 0xBEC0B7769AA3DD66 //A1
 data8 0x4469BFFF28B50D07, 0x41181E3F13ED2401 //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 351befb..084a940 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1998,7 +1998,7 @@ data8 0xE64B4201CDF9F138 //A17
 data8 0x689186351E58AA88 //A18
 data8 0xEAD132A585DFC60A //A19
 // Polynomial coefficients for left root on [-15, -14]
-// Lgammal is aproximated by polynomial within [.157807 ; -.157807 ] range
+// Lgammal is approximated by polynomial within [.157807 ; -.157807 ] range
 data8 0xBE6D7DDE12700AC1, 0xBB1E025BF1667FB5 //A0
 data8 0xC273077763F60AD5, 0xBF2A1698184C7A9A //A1
 data8 0x44E6A1BF095B1AB3, 0x4178D5AE8A4A2874 //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 351befb..084a940 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -2020,7 +2020,7 @@ data8 0xEA7232C8804F32C3 //A17
 data8 0x6CF5EFEE929A0928 //A18
 data8 0xEF742EE03EC3E8FF //A19
 // Polynomial coefficients for left root on [-16, -15]
-// Lgammal is aproximated by polynomial within [.157807 ; -.157807 ] range
+// Lgammal is approximated by polynomial within [.157807 ; -.157807 ] range
 data8 0xBEDCC628FEAC7A1B, 0xBB80582C8BEBB198 //A0
 data8 0xC2B3076EE752595E, 0xBF5388F55AFAE53E //A1
 data8 0x4566A1AAD96EBCB5, 0x421F0FEFE2444293 //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 351befb..084a940 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -2042,7 +2042,7 @@ data8 0xEEB23234FE191D55 //A17
 data8 0x7175EF5D1080B105 //A18
 data8 0xF4342ED7B1B7BE31 //A19
 // Polynomial coefficients for left root on [-17, -16]
-// Lgammal is aproximated by polynomial within [.157807 ; -.157807 ] range
+// Lgammal is approximated by polynomial within [.157807 ; -.157807 ] range
 data8 0xBF28AEEE7B58C790, 0xBBC4448DE371FA0A //A0
 data8 0xC2F436F56B3B89B1, 0xBF636755245AC63A //A1
 data8 0x45E98A22535D115D, 0x4298467DA93DB784 //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 351befb..084a940 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -2064,7 +2064,7 @@ data8 0xF3096A81A69BD8AE //A17
 data8 0x76104951BAD67D5C //A18
 data8 0xF90FECC99786FD5B //A19
 // Polynomial coefficients for left root on [-18, -17]
-// Lgammal is aproximated by polynomial within [.157807 ; -.157807 ] range
+// Lgammal is approximated by polynomial within [.157807 ; -.157807 ] range
 data8 0x3F3C19A53328E26A, 0x3BE238D7BA036B3B //A0
 data8 0xC336C16C16C16C13, 0xBFEACE245DEC56F3 //A1
 data8 0x46702E85C0898B70, 0x432C922B64FD1DA4 //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 351befb..084a940 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -2086,7 +2086,7 @@ data8 0xF777CB6E2B550D73 //A17
 data8 0x7AC11E468A134A51 //A18
 data8 0xFE02B6BDD0FC40AA //A19
 // Polynomial coefficients for left root on [-19, -18]
-// Lgammal is aproximated by polynomial within [.157807 ; -.157807 ] range
+// Lgammal is approximated by polynomial within [.157807 ; -.157807 ] range
 data8 0xBFAB767F9BE217FC, 0xBC4A5541CE0D8D0D //A0
 data8 0xC379999999999999, 0xC01A84981B490BE8 //A1
 data8 0x46F47AE147AE147A, 0x43AC2987BBC466EB //A2
diff --git a/ports/sysdeps/ia64/fpu/e_acoshl.S b/ports/sysdeps/ia64/fpu/e_acoshl.S
index 1ce292c..86bc2eb 100644
--- a/ports/sysdeps/ia64/fpu/e_acoshl.S
+++ b/ports/sysdeps/ia64/fpu/e_acoshl.S
@@ -249,7 +249,7 @@
 RODATA
 .align 64
 
-// Near 1 path rational aproximation coefficients
+// Near 1 path rational approximation coefficients
 LOCAL_OBJECT_START(Poly_P)
 data8 0xB0978143F695D40F, 0x3FF1  // .84205539791447100108478906277453574946e-4
 data8 0xB9800D841A8CAD29, 0x3FF6  // .28305085180397409672905983082168721069e-2
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S b/sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
index 989899e..6330780 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
@@ -23,7 +23,7 @@
    and if appropriate:
      __CONTEXT_ENABLE_FPRS
      __CONTEXT_ENABLE_VRS
-   Any archecture that implements the Vector unit is assumed to also
+   Any architecture that implements the Vector unit is assumed to also
    implement the floating unit.  */
 
 /* Stack frame offsets.  */
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S b/sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
index 900ce04..bedebf0 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
@@ -23,7 +23,7 @@
    and if appropriate:
      __CONTEXT_ENABLE_FPRS
      __CONTEXT_ENABLE_VRS
-   Any archecture that implements the Vector unit is assumed to also
+   Any architecture that implements the Vector unit is assumed to also
    implement the floating unit.  */
 
 /* Stack frame offsets.  */
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S b/sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
index 77e47a7..21c2e1f 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
@@ -23,7 +23,7 @@
    and if appropriate:
      __CONTEXT_ENABLE_FPRS
      __CONTEXT_ENABLE_VRS
-   Any archecture that implements the Vector unit is assumed to also
+   Any architecture that implements the Vector unit is assumed to also
    implement the floating unit.  */
 
 /* Stack frame offsets.  */
diff --git a/ports/sysdeps/mips/sys/asm.h b/ports/sysdeps/mips/sys/asm.h
index 293cf36..59bb50d 100644
--- a/ports/sysdeps/mips/sys/asm.h
+++ b/ports/sysdeps/mips/sys/asm.h
@@ -472,7 +472,7 @@ symbol		=	value
 # define MTC0	dmtc0
 #endif
 
-/* The MIPS archtectures do not have a uniform memory model.  Particular
+/* The MIPS architectures do not have a uniform memory model.  Particular
    platforms may provide additional guarantees - for instance, the R4000
    LL and SC instructions implicitly perform a SYNC, and the 4K promises
    strong ordering.
diff --git a/ports/sysdeps/ia64/fpu/e_acoshl.S b/ports/sysdeps/ia64/fpu/e_acoshl.S
index 1ce292c..86bc2eb 100644
--- a/ports/sysdeps/ia64/fpu/e_acoshl.S
+++ b/ports/sysdeps/ia64/fpu/e_acoshl.S
@@ -655,7 +655,7 @@ GLOBAL_LIBM_ENTRY(acoshl)
 };;
 
 { .mfi
-      getf.d     GR_Arg       = FR_Arg        // get arument as double (int64)
+      getf.d     GR_Arg       = FR_Arg        // get argument as double (int64)
       fma.s0        FR_Two       = f1, f1, f1    // construct 2.0
       addl       GR_ad_z_1    = @ltoff(Constants_Z_1#),gp // logl tables
 }
diff --git a/ports/sysdeps/ia64/fpu/e_logf.S b/ports/sysdeps/ia64/fpu/e_logf.S
index 3d11a29..1debe47 100644
--- a/ports/sysdeps/ia64/fpu/e_logf.S
+++ b/ports/sysdeps/ia64/fpu/e_logf.S
@@ -159,7 +159,7 @@
 //
 // 3. How we define is input argument such that |x-1| < 1/256 or not.
 //
-//    To do it we analyze biased exponent and significand of input argment.
+//    To do it we analyze biased exponent and significand of input argument.
 //
 //      a) First we test is biased exponent equal to 0xFFFE or 0xFFFF (i.e.
 //         we test is 0.5 <= x < 2). This comparison can be performed using
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammaf.S b/ports/sysdeps/ia64/fpu/libm_lgammaf.S
index 4bd92c3..7218911 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammaf.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammaf.S
@@ -1456,7 +1456,7 @@ lgammaf_negrecursion:
       // load coefficients of polynomial approximation
       // of ln(GAMMA(x)), x is close to one of negative roots
 (p13) ldfpd         FR_R3,FR_R2 = [GR_ad_RootCo]
-      // argumenth for logarithm
+      // arguments for logarithm
 (p10) fma.s1        FR_Req = FR_Req,FR_Xp2,f0
       mov           GR_ExpMask = 0x1ffff
 }
diff --git a/localedata/gen-unicode-ctype.c b/localedata/gen-unicode-ctype.c
index 3463fa0..a40b2d4 100644
--- a/localedata/gen-unicode-ctype.c
+++ b/localedata/gen-unicode-ctype.c
@@ -72,7 +72,7 @@ fill_attribute (unsigned int i,
       exit (1);
     }
   if (strcmp (field2, "Cs") == 0)
-    /* Surrogates are UTF-16 artefacts, not real characters. Ignore them.  */
+    /* Surrogates are UTF-16 artifacts, not real characters. Ignore them.  */
     return;
   uni = &unicode_attributes[i];
   /* Copy the strings.  */
diff --git a/sysdeps/unix/sysv/linux/lutimes.c b/sysdeps/unix/sysv/linux/lutimes.c
index 83f0403..a11a903 100644
--- a/sysdeps/unix/sysv/linux/lutimes.c
+++ b/sysdeps/unix/sysv/linux/lutimes.c
@@ -29,7 +29,7 @@ int
 lutimes (const char *file, const struct timeval tvp[2])
 {
 #ifdef __NR_utimensat
-  /* The system call espects timespec, not timeval.  */
+  /* The system call aspects timespec, not timeval.  */
   struct timespec ts[2];
   if (tvp != NULL)
     {
diff --git a/stdlib/stdlib.h b/stdlib/stdlib.h
index 99a830d..813da19 100644
--- a/stdlib/stdlib.h
+++ b/stdlib/stdlib.h
@@ -927,7 +927,7 @@ extern int grantpt (int __fd) __THROW;
    Call after grantpt().  */
 extern int unlockpt (int __fd) __THROW;
 
-/* Return the pathname of the pseudo terminal slave assoicated with
+/* Return the pathname of the pseudo terminal slave associated with
    the master FD is open on, or NULL on errors.
    The returned storage is good until the next call to this function.  */
 extern char *ptsname (int __fd) __THROW __wur;
diff --git a/sysdeps/unix/bsd/ptsname.c b/sysdeps/unix/bsd/ptsname.c
index 3b22a8c..60e38d7 100644
--- a/sysdeps/unix/bsd/ptsname.c
+++ b/sysdeps/unix/bsd/ptsname.c
@@ -26,7 +26,7 @@
 static char buffer[sizeof (_PATH_TTY) + 2];
 
 
-/* Return the pathname of the pseudo terminal slave assoicated with
+/* Return the pathname of the pseudo terminal slave associated with
    the master FD is open on, or NULL on errors.
    The returned storage is good until the next call to this function.  */
 char *
diff --git a/sysdeps/unix/sysv/linux/ptsname.c b/sysdeps/unix/sysv/linux/ptsname.c
index ea6f0fe..70f1f34 100644
--- a/sysdeps/unix/sysv/linux/ptsname.c
+++ b/sysdeps/unix/sysv/linux/ptsname.c
@@ -56,7 +56,7 @@ extern const char __libc_ptyname2[] attribute_hidden;
 static char buffer[sizeof (_PATH_DEVPTS) + 20];
 
 
-/* Return the pathname of the pseudo terminal slave assoicated with
+/* Return the pathname of the pseudo terminal slave associated with
    the master FD is open on, or NULL on errors.
    The returned storage is good until the next call to this function.  */
 char *
diff --git a/debug/backtracesyms.c b/debug/backtracesyms.c
index 3be3dcb..7a45ea7 100644
--- a/debug/backtracesyms.c
+++ b/debug/backtracesyms.c
@@ -28,7 +28,7 @@
 #if __ELF_NATIVE_CLASS == 32
 # define WORD_WIDTH 8
 #else
-/* We assyme 64bits.  */
+/* We assume 64bits.  */
 # define WORD_WIDTH 16
 #endif
 
diff --git a/nis/nis_print.c b/nis/nis_print.c
index d24dcde..e872b20 100644
--- a/nis/nis_print.c
+++ b/nis/nis_print.c
@@ -290,7 +290,7 @@ nis_print_link (const link_obj *obj)
   fputs (_("Linked Object Type : "), stdout);
   nis_print_objtype (obj->li_rtype);
   printf (_("Linked to : %s\n"), obj->li_name);
-  /* XXX Print the attributs here, if they exists */
+  /* XXX Print the attributes here, if they exists */
 }
 libnsl_hidden_def (nis_print_link)
 
diff --git a/ports/sysdeps/unix/sysv/linux/am33/bits/fcntl.h b/ports/sysdeps/unix/sysv/linux/am33/bits/fcntl.h
index e5af260..04a06da 100644
--- a/ports/sysdeps/unix/sysv/linux/am33/bits/fcntl.h
+++ b/ports/sysdeps/unix/sysv/linux/am33/bits/fcntl.h
@@ -130,7 +130,7 @@
 # define DN_CREATE	0x00000004	/* File created.  */
 # define DN_DELETE	0x00000008	/* File removed.  */
 # define DN_RENAME	0x00000010	/* File renamed.  */
-# define DN_ATTRIB	0x00000020	/* File changed attibutes.  */
+# define DN_ATTRIB	0x00000020	/* File changed attributes.  */
 # define DN_MULTISHOT	0x80000000	/* Don't remove notifier.  */
 #endif
 
diff --git a/elf/elf.h b/elf/elf.h
index f372271..0201c8c 100644
--- a/elf/elf.h
+++ b/elf/elf.h
@@ -811,7 +811,7 @@ typedef struct
 #define	DF_1_EDITED	0x00200000	/* Object is modified after built.  */
 #define	DF_1_NORELOC	0x00400000
 #define	DF_1_SYMINTPOSE	0x00800000	/* Object has individual interposers.  */
-#define	DF_1_GLOBAUDIT	0x01000000	/* Global auditin required.  */
+#define	DF_1_GLOBAUDIT	0x01000000	/* Global auditing required.  */
 #define	DF_1_SINGLETON	0x02000000	/* Singleton symbols are used.  */
 
 /* Flags for the feature selection in DT_FEATURE_1.  */
diff --git a/sysdeps/unix/sysv/linux/powerpc/libc-start.c b/sysdeps/unix/sysv/linux/powerpc/libc-start.c
index 4e6e9e9..c079901 100644
--- a/sysdeps/unix/sysv/linux/powerpc/libc-start.c
+++ b/sysdeps/unix/sysv/linux/powerpc/libc-start.c
@@ -54,7 +54,7 @@ __libc_start_main (int argc, char **argv,
       char **temp;
       /* ...in which case, we have argc as the top thing on the
          stack, followed by argv (NULL-terminated), envp (likewise),
-         and the auxilary vector.  */
+         and the auxiliary vector.  */
       /* 32/64-bit agnostic load from stack */
       argc = *(long int *) stack_on_entry;
       argv = stack_on_entry + 1;
diff --git a/sysdeps/x86_64/cacheinfo.c b/sysdeps/x86_64/cacheinfo.c
index 9aed28f..7e51339 100644
--- a/sysdeps/x86_64/cacheinfo.c
+++ b/sysdeps/x86_64/cacheinfo.c
@@ -681,7 +681,7 @@ init_cacheinfo (void)
 # endif
 
       /* AMD prefers SSSE3 instructions for memory/string routines
-	 if they are avaiable, otherwise it prefers integer
+	 if they are available, otherwise it prefers integer
 	 instructions.  */
       if ((ecx & 0x200))
 	__x86_preferred_memory_instruction = 3;
diff --git a/resolv/res_comp.c b/resolv/res_comp.c
index c7212fa..2ff7ddb 100644
--- a/resolv/res_comp.c
+++ b/resolv/res_comp.c
@@ -81,7 +81,7 @@ static const char rcsid[] = "$BINDId: res_comp.c,v 8.15 1999/10/13 16:39:39 vixi
 
 /*
  * Expand compressed domain name 'comp_dn' to full domain name.
- * 'msg' is a pointer to the begining of the message,
+ * 'msg' is a pointer to the beginning of the message,
  * 'eomorig' points to the first location after the message,
  * 'exp_dn' is a pointer to a buffer of size 'length' for the result.
  * Return size of compressed name or -1 if there was an error.
diff --git a/sunrpc/clnt_tcp.c b/sunrpc/clnt_tcp.c
index b46905f..f4ba0ef 100644
--- a/sunrpc/clnt_tcp.c
+++ b/sunrpc/clnt_tcp.c
@@ -410,7 +410,7 @@ clnttcp_control (CLIENT *cl, int request, char *info)
       /*
        * This RELIES on the information that, in the call body,
        * the version number field is the fifth field from the
-       * begining of the RPC header. MUST be changed if the
+       * beginning of the RPC header. MUST be changed if the
        * call_struct is changed
        */
       memcpy (&ui32, ct->ct_mcall + 4 * BYTES_PER_XDR_UNIT, sizeof (ui32));
diff --git a/sunrpc/clnt_tcp.c b/sunrpc/clnt_tcp.c
index b46905f..f4ba0ef 100644
--- a/sunrpc/clnt_tcp.c
+++ b/sunrpc/clnt_tcp.c
@@ -426,7 +426,7 @@ clnttcp_control (CLIENT *cl, int request, char *info)
       /*
        * This RELIES on the information that, in the call body,
        * the program number field is the  field from the
-       * begining of the RPC header. MUST be changed if the
+       * beginning of the RPC header. MUST be changed if the
        * call_struct is changed
        */
       memcpy (&ui32, ct->ct_mcall + 3 * BYTES_PER_XDR_UNIT, sizeof (ui32));
diff --git a/sunrpc/clnt_udp.c b/sunrpc/clnt_udp.c
index 7fc0777..1b6a20b 100644
--- a/sunrpc/clnt_udp.c
+++ b/sunrpc/clnt_udp.c
@@ -598,7 +598,7 @@ clntudp_control (CLIENT *cl, int request, char *info)
       /*
        * This RELIES on the information that, in the call body,
        * the version number field is the fifth field from the
-       * begining of the RPC header. MUST be changed if the
+       * beginning of the RPC header. MUST be changed if the
        * call_struct is changed
        */
       memcpy (&ui32, cu->cu_outbuf + 4 * BYTES_PER_XDR_UNIT, sizeof (ui32));
diff --git a/sunrpc/clnt_udp.c b/sunrpc/clnt_udp.c
index 7fc0777..1b6a20b 100644
--- a/sunrpc/clnt_udp.c
+++ b/sunrpc/clnt_udp.c
@@ -614,7 +614,7 @@ clntudp_control (CLIENT *cl, int request, char *info)
       /*
        * This RELIES on the information that, in the call body,
        * the program number field is the  field from the
-       * begining of the RPC header. MUST be changed if the
+       * beginning of the RPC header. MUST be changed if the
        * call_struct is changed
        */
       memcpy (&ui32, cu->cu_outbuf + 3 * BYTES_PER_XDR_UNIT, sizeof (ui32));
diff --git a/sunrpc/clnt_unix.c b/sunrpc/clnt_unix.c
index 2ad8197..32d88b9 100644
--- a/sunrpc/clnt_unix.c
+++ b/sunrpc/clnt_unix.c
@@ -382,7 +382,7 @@ clntunix_control (CLIENT *cl, int request, char *info)
       /*
        * This RELIES on the information that, in the call body,
        * the version number field is the fifth field from the
-       * begining of the RPC header. MUST be changed if the
+       * beginning of the RPC header. MUST be changed if the
        * call_struct is changed
        */
       memcpy (&ui32, ct->ct_mcall + 4 * BYTES_PER_XDR_UNIT, sizeof (ui32));
diff --git a/sunrpc/clnt_unix.c b/sunrpc/clnt_unix.c
index 2ad8197..32d88b9 100644
--- a/sunrpc/clnt_unix.c
+++ b/sunrpc/clnt_unix.c
@@ -398,7 +398,7 @@ clntunix_control (CLIENT *cl, int request, char *info)
       /*
        * This RELIES on the information that, in the call body,
        * the program number field is the  field from the
-       * begining of the RPC header. MUST be changed if the
+       * beginning of the RPC header. MUST be changed if the
        * call_struct is changed
        */
       memcpy (&ui32, ct->ct_mcall + 3 * BYTES_PER_XDR_UNIT, sizeof (ui32));
diff --git a/ports/sysdeps/ia64/fpu/w_tgammal.S b/ports/sysdeps/ia64/fpu/w_tgammal.S
index ca60eed..a401d62 100644
--- a/ports/sysdeps/ia64/fpu/w_tgammal.S
+++ b/ports/sysdeps/ia64/fpu/w_tgammal.S
@@ -1629,7 +1629,7 @@ GLOBAL_LIBM_ENTRY(tgammal)
 
 { .mfi
       nop.m         0
-      fma.s1        FR_l_B14       = FR_l_B16, FR_l_Z2, FR_l_B14// bernulli tail
+      fma.s1        FR_l_B14       = FR_l_B16, FR_l_Z2, FR_l_B14// Bernoulli tail
       nop.i         0
 }
 { .mfi
diff --git a/ports/sysdeps/ia64/fpu/w_tgammal.S b/ports/sysdeps/ia64/fpu/w_tgammal.S
index ca60eed..a401d62 100644
--- a/ports/sysdeps/ia64/fpu/w_tgammal.S
+++ b/ports/sysdeps/ia64/fpu/w_tgammal.S
@@ -1640,18 +1640,18 @@ GLOBAL_LIBM_ENTRY(tgammal)
 
 { .mfi
       nop.m         0
-      fma.s1        FR_l_B2        = FR_l_B4, FR_l_Z2, FR_l_B2 // bernulli tail
+      fma.s1        FR_l_B2        = FR_l_B4, FR_l_Z2, FR_l_B2 // Bernoulli tail
       nop.i         0
 }
 { .mfi
       nop.m         0
-      fma.s1        FR_l_B6        = FR_l_B8, FR_l_Z2, FR_l_B6 // bernulli tail
+      fma.s1        FR_l_B6        = FR_l_B8, FR_l_Z2, FR_l_B6 // Bernoulli tail
       nop.i         0
 };;
 
 { .mfi
       nop.m         0
-      fma.s1        FR_l_B10       = FR_l_B12, FR_l_Z2, FR_l_B10// bernulli tail
+      fma.s1        FR_l_B10       = FR_l_B12, FR_l_Z2, FR_l_B10// Bernoulli tail
       nop.i         0
 }
 { .mfi
diff --git a/ports/sysdeps/ia64/fpu/w_tgammal.S b/ports/sysdeps/ia64/fpu/w_tgammal.S
index ca60eed..a401d62 100644
--- a/ports/sysdeps/ia64/fpu/w_tgammal.S
+++ b/ports/sysdeps/ia64/fpu/w_tgammal.S
@@ -1795,7 +1795,7 @@ GLOBAL_LIBM_ENTRY(tgammal)
 
 { .mfi
       nop.m         0
-      fma.s1        FR_l_SS        = FR_l_B10, FR_l_Z8, FR_l_B2 // bernulli tail
+      fma.s1        FR_l_SS        = FR_l_B10, FR_l_Z8, FR_l_B2 // Bernoulli tail
       nop.i         0
 };;
 
diff --git a/sysdeps/unix/sysv/linux/ifaddrs.c b/sysdeps/unix/sysv/linux/ifaddrs.c
index 5c1e380..89fda15 100644
--- a/sysdeps/unix/sysv/linux/ifaddrs.c
+++ b/sysdeps/unix/sysv/linux/ifaddrs.c
@@ -301,7 +301,7 @@ map_newlink (int index, struct ifaddrs_storage *ifas, int *map, int max)
 	return i;
     }
 
-  /* This means interfaces changed inbetween the reading of the
+  /* This means interfaces changed between the reading of the
      RTM_GETLINK and RTM_GETADDR information.  We have to repeat
      everything.  */
   return -1;
diff --git a/libidn/stringprep.c b/libidn/stringprep.c
index d109a71..72a502e 100644
--- a/libidn/stringprep.c
+++ b/libidn/stringprep.c
@@ -563,7 +563,7 @@ stringprep_profile (const char *in,
  * @STRINGPREP_CONTAINS_PROHIBITED: String contain code points
  *   prohibited by the profile.
  * @STRINGPREP_BIDI_BOTH_L_AND_RAL: String contain code points with
- *   conflicting bidirection category.
+ *   conflicting bidirectional category.
  * @STRINGPREP_BIDI_LEADTRAIL_NOT_RAL: Leading and trailing character
  *   in string not of proper bidirectional category.
  * @STRINGPREP_BIDI_CONTAINS_PROHIBITED: Contains prohibited code
diff --git a/malloc/malloc.c b/malloc/malloc.c
index be472b2..4c04707 100644
--- a/malloc/malloc.c
+++ b/malloc/malloc.c
@@ -1167,7 +1167,7 @@ nextchunk-> +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     the malloc code, but "mem" is the pointer that is returned to the
     user.  "Nextchunk" is the beginning of the next contiguous chunk.
 
-    Chunks always begin on even word boundries, so the mem portion
+    Chunks always begin on even word boundaries, so the mem portion
     (which is returned to the user) is also on an even word boundary, and
     thus at least double-word aligned.
 
diff --git a/ports/sysdeps/ia64/fpu/e_log.S b/ports/sysdeps/ia64/fpu/e_log.S
index 3c5ebc2..9763aa6 100644
--- a/ports/sysdeps/ia64/fpu/e_log.S
+++ b/ports/sysdeps/ia64/fpu/e_log.S
@@ -134,7 +134,7 @@
 //   InvX = frcpa(x)
 //   r = InvX*x - 1
 //   P(r) = r*((r*A3 - A2) + r^4*((A4 + r*A5) + r^2*(A6 + r*A7)),
-//   all coefficients are calcutated in quad and rounded to double
+//   all coefficients are calculated in quad and rounded to double
 //   precision. A7,A6,A5,A4 are stored in memory whereas A3 and A2
 //   created with setf.
 //
diff --git a/ports/sysdeps/ia64/fpu/s_log1p.S b/ports/sysdeps/ia64/fpu/s_log1p.S
index e1e6dcc..2097328 100644
--- a/ports/sysdeps/ia64/fpu/s_log1p.S
+++ b/ports/sysdeps/ia64/fpu/s_log1p.S
@@ -103,7 +103,7 @@
 //   InvX = frcpa(x+1)
 //   r = InvX*(x+1) - 1
 //   P(r) = r*((r*A3 - A2) + r^4*((A4 + r*A5) + r^2*(A6 + r*A7)),
-//   all coefficients are calcutated in quad and rounded to double
+//   all coefficients are calculated in quad and rounded to double
 //   precision. A7,A6,A5,A4 are stored in memory whereas A3 and A2
 //   created with setf.
 //
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammaf.S b/ports/sysdeps/ia64/fpu/libm_lgammaf.S
index 4bd92c3..7218911 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammaf.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammaf.S
@@ -1064,7 +1064,7 @@ lgammaf_0_1:
 { .mfi
       ldfpd         FR_Ln2,FR_05 = [GR_ad_Data],16
       fma.s1        FR_P32 = FR_P3,FR_r,FR_P2
-      // input argument cann't be equal to 1.0
+      // input argument can't be equal to 1.0
       cmp.eq        p0,p14 = r0,r0
 };;
 { .mfi
diff --git a/libio/fileops.c b/libio/fileops.c
index e92f85b..9a713c4 100644
--- a/libio/fileops.c
+++ b/libio/fileops.c
@@ -1223,7 +1223,7 @@ _IO_file_close_mmap (fp)
   /* In addition to closing the file descriptor we have to unmap the file.  */
   (void) __munmap (fp->_IO_buf_base, fp->_IO_buf_end - fp->_IO_buf_base);
   fp->_IO_buf_base = fp->_IO_buf_end = NULL;
-  /* Cancelling close should be avoided if possible since it leaves an
+  /* Canceling close should be avoided if possible since it leaves an
      unrecoverable state behind.  */
   return close_not_cancel (fp->_fileno);
 }
diff --git a/libio/fileops.c b/libio/fileops.c
index e92f85b..9a713c4 100644
--- a/libio/fileops.c
+++ b/libio/fileops.c
@@ -1232,7 +1232,7 @@ int
 _IO_file_close (fp)
      _IO_FILE *fp;
 {
-  /* Cancelling close should be avoided if possible since it leaves an
+  /* Canceling close should be avoided if possible since it leaves an
      unrecoverable state behind.  */
   return close_not_cancel (fp->_fileno);
 }
diff --git a/hurd/thread-cancel.c b/hurd/thread-cancel.c
index c7f88ee..1aaac74 100644
--- a/hurd/thread-cancel.c
+++ b/hurd/thread-cancel.c
@@ -43,7 +43,7 @@ hurd_thread_cancel (thread_t thread)
     return EINVAL;
   if (ss == _hurd_self_sigstate ())
     {
-      /* We are cancelling ourselves, so it is easy to succeed
+      /* We are canceling ourselves, so it is easy to succeed
 	 quickly.  Since this function is not a cancellation point, we
 	 just leave the flag set pending the next cancellation point
 	 (hurd_check_cancel or RPC) and return success.  */
diff --git a/nptl/tst-cond22.c b/nptl/tst-cond22.c
index bd978e5..2e184e2 100644
--- a/nptl/tst-cond22.c
+++ b/nptl/tst-cond22.c
@@ -31,7 +31,7 @@ tf (void *arg)
     }
   pthread_cleanup_push (cl, NULL);
   /* We have to loop here because the cancellation might come after
-     the cond_wait call left the cancelable area and is then waiting
+     the cond_wait call left the cancellable area and is then waiting
      on the mutex.  In this case the beginning of the second cond_wait
      call will cause the cancellation to happen.  */
   do
diff --git a/nptl/tst-cancel25.c b/nptl/tst-cancel25.c
index 00b99ad..7f42b8d 100644
--- a/nptl/tst-cancel25.c
+++ b/nptl/tst-cancel25.c
@@ -33,7 +33,7 @@ tf2 (void *arg)
 
   while (1)
     {
-      /* Just a cancelable call.  */
+      /* Just a cancellable call.  */
       struct timespec ts = { 10000, 0 };
       nanosleep (&ts, 0);
     }
diff --git a/nptl/tst-cancel25.c b/nptl/tst-cancel25.c
index 00b99ad..7f42b8d 100644
--- a/nptl/tst-cancel25.c
+++ b/nptl/tst-cancel25.c
@@ -68,7 +68,7 @@ tf (void *arg)
 
   while (1)
     {
-      /* Just a cancelable call.  */
+      /* Just a cancellable call.  */
       struct timespec ts = { 10000, 0 };
       nanosleep (&ts, 0);
     }
diff --git a/nptl/tst-cancel-wrappers.sh b/nptl/tst-cancel-wrappers.sh
index 84df636..7280815 100644
--- a/nptl/tst-cancel-wrappers.sh
+++ b/nptl/tst-cancel-wrappers.sh
@@ -1,5 +1,5 @@
 #! /bin/sh
-# Test whether all cancelable functions are cancelable.
+# Test whether all cancellable functions are cancellable.
 # Copyright (C) 2002-2013 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
 # Contributed by Jakub Jelinek <jakub@redhat.com>, 2002.
diff --git a/nptl/cancellation.c b/nptl/cancellation.c
index be504e0..f4badda 100644
--- a/nptl/cancellation.c
+++ b/nptl/cancellation.c
@@ -22,7 +22,7 @@
 
 
 /* The next two functions are similar to pthread_setcanceltype() but
-   more specialized for the use in the cancelable functions like write().
+   more specialized for the use in the cancellable functions like write().
    They do not need to check parameters etc.  */
 int
 attribute_hidden
diff --git a/sysdeps/generic/not-cancel.h b/sysdeps/generic/not-cancel.h
index d5e76d5..5fea33b 100644
--- a/sysdeps/generic/not-cancel.h
+++ b/sysdeps/generic/not-cancel.h
@@ -1,4 +1,4 @@
-/* Uncancelable versions of cancelable interfaces.  Generic version.
+/* Uncancelable versions of cancellable interfaces.  Generic version.
    Copyright (C) 2003-2013 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@redhat.com>, 2003.
diff --git a/ports/sysdeps/unix/sysv/linux/generic/not-cancel.h b/ports/sysdeps/unix/sysv/linux/generic/not-cancel.h
index eaf5c16..beb44fa 100644
--- a/ports/sysdeps/unix/sysv/linux/generic/not-cancel.h
+++ b/ports/sysdeps/unix/sysv/linux/generic/not-cancel.h
@@ -1,4 +1,4 @@
-/* Uncancelable versions of cancelable interfaces.  Linux asm-generic version.
+/* Uncancelable versions of cancellable interfaces.  Linux asm-generic version.
    Copyright (C) 2012-2013 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Chris Metcalf <cmetcalf@tilera.com>, 2012.
diff --git a/sysdeps/unix/sysv/linux/not-cancel.h b/sysdeps/unix/sysv/linux/not-cancel.h
index 7b8ce72..f78d309 100644
--- a/sysdeps/unix/sysv/linux/not-cancel.h
+++ b/sysdeps/unix/sysv/linux/not-cancel.h
@@ -1,4 +1,4 @@
-/* Uncancelable versions of cancelable interfaces.  Linux version.
+/* Uncancelable versions of cancellable interfaces.  Linux version.
    Copyright (C) 2003-2013 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@redhat.com>, 2003.
diff --git a/nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h b/nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h
index 0fc5bb7..b021667 100644
--- a/nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h
+++ b/nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h
@@ -1,4 +1,4 @@
-/* Uncancelable versions of cancelable interfaces.  Linux/NPTL version.
+/* Uncancelable versions of cancellable interfaces.  Linux/NPTL version.
    Copyright (C) 2003-2013 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@redhat.com>, 2003.
diff --git a/ports/sysdeps/unix/sysv/linux/ia64/system.c b/ports/sysdeps/unix/sysv/linux/ia64/system.c
index 5be2385..a59364d 100644
--- a/ports/sysdeps/unix/sysv/linux/ia64/system.c
+++ b/ports/sysdeps/unix/sysv/linux/ia64/system.c
@@ -17,7 +17,7 @@
 
 #include <kernel-features.h>
 
-/* We have to and actually can handle cancelable system().  The big
+/* We have to and actually can handle cancellable system().  The big
    problem: we have to kill the child process if necessary.  To do
    this a cleanup handler has to be registered and is has to be able
    to find the PID of the child.  The main problem is to reliable have
diff --git a/sysdeps/unix/sysv/linux/s390/system.c b/sysdeps/unix/sysv/linux/s390/system.c
index 1ff22a0..43382ea 100644
--- a/sysdeps/unix/sysv/linux/s390/system.c
+++ b/sysdeps/unix/sysv/linux/s390/system.c
@@ -17,7 +17,7 @@
 
 #include <kernel-features.h>
 
-/* We have to and actually can handle cancelable system().  The big
+/* We have to and actually can handle cancellable system().  The big
    problem: we have to kill the child process if necessary.  To do
    this a cleanup handler has to be registered and is has to be able
    to find the PID of the child.  The main problem is to reliable have
diff --git a/sysdeps/unix/sysv/linux/sparc/system.c b/sysdeps/unix/sysv/linux/sparc/system.c
index 988c52e..05dda32 100644
--- a/sysdeps/unix/sysv/linux/sparc/system.c
+++ b/sysdeps/unix/sysv/linux/sparc/system.c
@@ -17,7 +17,7 @@
 
 #include <kernel-features.h>
 
-/* We have to and actually can handle cancelable system().  The big
+/* We have to and actually can handle cancellable system().  The big
    problem: we have to kill the child process if necessary.  To do
    this a cleanup handler has to be registered and is has to be able
    to find the PID of the child.  The main problem is to reliable have
diff --git a/sysdeps/unix/sysv/linux/system.c b/sysdeps/unix/sysv/linux/system.c
index 9d35ec2..f565473 100644
--- a/sysdeps/unix/sysv/linux/system.c
+++ b/sysdeps/unix/sysv/linux/system.c
@@ -24,7 +24,7 @@
 #include <bits/libc-lock.h>
 #include <kernel-features.h>
 
-/* We have to and actually can handle cancelable system().  The big
+/* We have to and actually can handle cancellable system().  The big
    problem: we have to kill the child process if necessary.  To do
    this a cleanup handler has to be registered and is has to be able
    to find the PID of the child.  The main problem is to reliable have
diff --git a/include/unistd.h b/include/unistd.h
index a5cbc5d..7469de6 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -170,7 +170,7 @@ extern __pid_t __libc_fork (void);
 /* Suspend the process until a signal arrives.
    This always returns -1 and sets `errno' to EINTR.  */
 extern int __libc_pause (void);
-/* Not cancelable variant.  */
+/* Not cancellable variant.  */
 extern int __pause_nocancel (void) attribute_hidden;
 
 extern int __have_sock_cloexec attribute_hidden;
diff --git a/posix/wordexp.c b/posix/wordexp.c
index 96ce8a4..34d7db6 100644
--- a/posix/wordexp.c
+++ b/posix/wordexp.c
@@ -1175,7 +1175,7 @@ parse_comm (char **word, size_t *word_length, size_t *max_length,
 		     by a thread cancellation since cleanup is very
 		     ugly.  Therefore disable cancellation for
 		     now.  */
-		  // XXX Ideally we do want the thread being cancelable.
+		  // XXX Ideally we do want the thread being cancellable.
 		  // XXX If demand is there we'll change it.
 		  int state = PTHREAD_CANCEL_ENABLE;
 		  __libc_ptf_call (pthread_setcancelstate,
diff --git a/nptl/tst-cancel11.c b/nptl/tst-cancel11.c
index defccf2..649aa09 100644
--- a/nptl/tst-cancel11.c
+++ b/nptl/tst-cancel11.c
@@ -55,7 +55,7 @@ tf (void *arg)
       exit (1);
     }
 
-  /* This call should block and be cancelable.  */
+  /* This call should block and be cancellable.  */
   char buf[20];
   read (fd[0], buf, sizeof (buf));
 
diff --git a/nptl/tst-cancel12.c b/nptl/tst-cancel12.c
index 47bdc35..ca40e31 100644
--- a/nptl/tst-cancel12.c
+++ b/nptl/tst-cancel12.c
@@ -56,7 +56,7 @@ tf (void *arg)
       exit (1);
     }
 
-  /* This call should block and be cancelable.  */
+  /* This call should block and be cancellable.  */
   sem_wait (&sem);
 
   pthread_cleanup_pop (0);
diff --git a/nptl/tst-cancel13.c b/nptl/tst-cancel13.c
index 7ddc69d..a4db4a6 100644
--- a/nptl/tst-cancel13.c
+++ b/nptl/tst-cancel13.c
@@ -56,7 +56,7 @@ tf (void *arg)
       exit (1);
     }
 
-  /* This call should block and be cancelable.  */
+  /* This call should block and be cancellable.  */
   sem_wait (&sem);
 
   pthread_cleanup_pop (0);
diff --git a/nptl/tst-cancel14.c b/nptl/tst-cancel14.c
index ca9042d..5758724 100644
--- a/nptl/tst-cancel14.c
+++ b/nptl/tst-cancel14.c
@@ -66,7 +66,7 @@ tf (void *arg)
   /* Timeout in 5 seconds.  */
   ts.tv_sec += 5;
 
-  /* This call should block and be cancelable.  */
+  /* This call should block and be cancellable.  */
   sem_timedwait (&sem, &ts);
 
   pthread_cleanup_pop (0);
diff --git a/nptl/tst-cancel15.c b/nptl/tst-cancel15.c
index 3f320ad..c671070 100644
--- a/nptl/tst-cancel15.c
+++ b/nptl/tst-cancel15.c
@@ -68,7 +68,7 @@ tf (void *arg)
   /* Timeout in 5 seconds.  */
   ts.tv_sec += 5;
 
-  /* This call should block and be cancelable.  */
+  /* This call should block and be cancellable.  */
   errno = 0;
   e = sem_timedwait (&sem, &ts);
 
diff --git a/resolv/gai_suspend.c b/resolv/gai_suspend.c
index a61a337..0f37a43 100644
--- a/resolv/gai_suspend.c
+++ b/resolv/gai_suspend.c
@@ -76,9 +76,9 @@ gai_suspend (const struct gaicb *const list[], int ent,
       /* There is no request done but some are still being worked on.  */
       int oldstate;
 
-      /* Since `pthread_cond_wait'/`pthread_cond_timedwait' are cancelation
+      /* Since `pthread_cond_wait'/`pthread_cond_timedwait' are cancellation
 	 points we must be careful.  We added entries to the waiting lists
-	 which we must remove.  So defer cancelation for now.  */
+	 which we must remove.  So defer cancellation for now.  */
       pthread_setcancelstate (PTHREAD_CANCEL_DISABLE, &oldstate);
 
 #ifdef DONT_NEED_GAI_MISC_COND
diff --git a/resolv/getaddrinfo_a.c b/resolv/getaddrinfo_a.c
index 4ea803d..ada6d08 100644
--- a/resolv/getaddrinfo_a.c
+++ b/resolv/getaddrinfo_a.c
@@ -116,9 +116,9 @@ getaddrinfo_a (int mode, struct gaicb *list[], int ent, struct sigevent *sig)
 	    ++total;
 	  }
 
-      /* Since `pthread_cond_wait'/`pthread_cond_timedwait' are cancelation
+      /* Since `pthread_cond_wait'/`pthread_cond_timedwait' are cancellation
 	 points we must be careful.  We added entries to the waiting lists
-	 which we must remove.  So defer cancelation for now.  */
+	 which we must remove.  So defer cancellation for now.  */
       pthread_setcancelstate (PTHREAD_CANCEL_DISABLE, &oldstate);
 
       while (total > 0)
diff --git a/nptl/pthread_once.c b/nptl/pthread_once.c
index 86ea5e2..c8f3e9c 100644
--- a/nptl/pthread_once.c
+++ b/nptl/pthread_once.c
@@ -37,7 +37,7 @@ __pthread_once (once_control, init_routine)
       lll_lock (once_lock, LLL_PRIVATE);
 
       /* XXX This implementation is not complete.  It doesn't take
-	 cancelation and fork into account.  */
+	 cancellation and fork into account.  */
       if (*once_control == PTHREAD_ONCE_INIT)
 	{
 	  init_routine ();
diff --git a/rt/aio.h b/rt/aio.h
index 23d602d..c4c427b 100644
--- a/rt/aio.h
+++ b/rt/aio.h
@@ -100,7 +100,7 @@ struct aioinit
 #endif
 
 
-/* Return values of cancelation function.  */
+/* Return values of cancellation function.  */
 enum
 {
   AIO_CANCELED,
diff --git a/sysdeps/unix/syscall-template.S b/sysdeps/unix/syscall-template.S
index 43d332e..1e8fbc9 100644
--- a/sysdeps/unix/syscall-template.S
+++ b/sysdeps/unix/syscall-template.S
@@ -27,7 +27,7 @@
 	SYSCALL_NAME		syscall name
 	SYSCALL_NARGS		number of arguments this call takes
 	SYSCALL_SYMBOL		primary symbol name
-	SYSCALL_CANCELLABLE	1 if the call is a cancelation point
+	SYSCALL_CANCELLABLE	1 if the call is a cancellation point
 	SYSCALL_NOERRNO		1 to define a no-errno version (see below)
 	SYSCALL_ERRVAL		1 to define an error-value version (see below)
 
diff --git a/nptl/tst-cancel9.c b/nptl/tst-cancel9.c
index 14916ad..00b3b1d 100644
--- a/nptl/tst-cancel9.c
+++ b/nptl/tst-cancel9.c
@@ -60,7 +60,7 @@ tf (void *arg)
     }
 
   while (1)
-    /* fprintf() uses write() which is a cancallation point.  */
+    /* fprintf() uses write() which is a cancellation point.  */
     fprintf (fp, "foo");
 
   pthread_cleanup_pop (0);
diff --git a/nptl/sysdeps/unix/sysv/linux/allocrtsig.c b/nptl/sysdeps/unix/sysv/linux/allocrtsig.c
index fd14683..c3caf3f 100644
--- a/nptl/sysdeps/unix/sysv/linux/allocrtsig.c
+++ b/nptl/sysdeps/unix/sysv/linux/allocrtsig.c
@@ -23,7 +23,7 @@ static int current_rtmin = __SIGRTMIN + 2;
 static int current_rtmax = __SIGRTMAX;
 
 
-/* We reserve __SIGRTMIN for use as the cancelation signal.  This
+/* We reserve __SIGRTMIN for use as the cancellation signal.  This
    signal is used internally.  */
 int
 __libc_current_sigrtmin (void)
diff --git a/resolv/gai_suspend.c b/resolv/gai_suspend.c
index a61a337..0f37a43 100644
--- a/resolv/gai_suspend.c
+++ b/resolv/gai_suspend.c
@@ -126,7 +126,7 @@ gai_suspend (const struct gaicb *const list[], int ent,
 	      *listp = (*listp)->next;
 	  }
 
-      /* Now it's time to restore the cancelation state.  */
+      /* Now it's time to restore the cancellation state.  */
       pthread_setcancelstate (oldstate, NULL);
 
 #ifndef DONT_NEED_GAI_MISC_COND
diff --git a/resolv/getaddrinfo_a.c b/resolv/getaddrinfo_a.c
index 4ea803d..ada6d08 100644
--- a/resolv/getaddrinfo_a.c
+++ b/resolv/getaddrinfo_a.c
@@ -131,7 +131,7 @@ getaddrinfo_a (int mode, struct gaicb *list[], int ent, struct sigevent *sig)
 #endif
 	}
 
-      /* Now it's time to restore the cancelation state.  */
+      /* Now it's time to restore the cancellation state.  */
       pthread_setcancelstate (oldstate, NULL);
 
 #ifndef DONT_NEED_GAI_MISC_COND
diff --git a/nptl/pthreadP.h b/nptl/pthreadP.h
index 789bbf6..e7a11df 100644
--- a/nptl/pthreadP.h
+++ b/nptl/pthreadP.h
@@ -319,7 +319,7 @@ __do_cancel (void)
 # define LIBC_CANCEL_HANDLED()	/* Nothing.  */
 #endif
 
-/* The signal used for asynchronous cancelation.  */
+/* The signal used for asynchronous cancellation.  */
 #define SIGCANCEL	__SIGRTMIN
 
 
diff --git a/sysdeps/s390/dl-procinfo.h b/sysdeps/s390/dl-procinfo.h
index 45e27f1..65f037b 100644
--- a/sysdeps/s390/dl-procinfo.h
+++ b/sysdeps/s390/dl-procinfo.h
@@ -31,7 +31,7 @@
 #define _DL_HWCAP_PLATFORM	(((1ULL << _DL_PLATFORMS_COUNT) - 1) \
 				 << _DL_FIRST_PLATFORM)
 
-/* Hardware capablity bit numbers are derived directly from the
+/* Hardware capability bit numbers are derived directly from the
    facility indications as stored by the "store facility list" (STFL)
    instruction.
    highgprs is an alien in that list.  It describes a *kernel*
diff --git a/localedata/tst-digits.c b/localedata/tst-digits.c
index a0cb473..c5b594e 100644
--- a/localedata/tst-digits.c
+++ b/localedata/tst-digits.c
@@ -178,7 +178,7 @@ main (void)
   printf ("%d failures in wprintf tests\n", failures);
   status = failures != 0;
 
-  /* ctype tests.  This makes sure that the multibyte chracter digit
+  /* ctype tests.  This makes sure that the multibyte character digit
      representations are not handle in this table.  */
   failures = 0;
   for (cnt = 0; cnt < 256; ++cnt)
diff --git a/sysdeps/i386/strpbrk.S b/sysdeps/i386/strpbrk.S
index bbc0cbe..b205b14 100644
--- a/sysdeps/i386/strpbrk.S
+++ b/sysdeps/i386/strpbrk.S
@@ -205,7 +205,7 @@ L(1):	leal -4(%edx), %eax	/* prepare loop */
 	   1. a character in the stopset was found
 	   and
 	   2. the end of the string was found
-	   But as a sign that the chracter is in the stopset we store its
+	   But as a sign that the character is in the stopset we store its
 	   value in the table.  But the value of NUL is NUL so the loop
 	   terminates for NUL in every case.  */
 
diff --git a/resolv/ns_name.c b/resolv/ns_name.c
index adf64bb..f355cf3 100644
--- a/resolv/ns_name.c
+++ b/resolv/ns_name.c
@@ -681,7 +681,7 @@ libresolv_hidden_def (ns_name_skip)
 
 /*%
  *	Thinking in noninternationalized USASCII (per the DNS spec),
- *	is this characted special ("in need of quoting") ?
+ *	is this character special ("in need of quoting") ?
  *
  * return:
  *\li	boolean.
diff --git a/iconvdata/iso-2022-jp.c b/iconvdata/iso-2022-jp.c
index ce66121..db82578 100644
--- a/iconvdata/iso-2022-jp.c
+++ b/iconvdata/iso-2022-jp.c
@@ -271,7 +271,7 @@ gconv_end (struct __gconv_step *data)
     if (__builtin_expect (ch, 0) == ESC)				      \
       {									      \
 	/* We now must be prepared to read two to three more		      \
-	   chracters.  If we have a match in the first character but	      \
+	   characters.  If we have a match in the first character but	      \
 	   then the input buffer ends we terminate with an error since	      \
 	   we must not risk missing an escape sequence just because it	      \
 	   is not entirely in the current input buffer.  */		      \
diff --git a/localedata/tests-mbwc/dat_wcsncat.c b/localedata/tests-mbwc/dat_wcsncat.c
index 948d80c..9ad3763 100644
--- a/localedata/tests-mbwc/dat_wcsncat.c
+++ b/localedata/tests-mbwc/dat_wcsncat.c
@@ -9,7 +9,7 @@
 
 /*
  *  Note:
- *	  A terminating null wide chararacter is always appended to
+ *	  A terminating null wide chararcters is always appended to
  *	  the result: ws1.
  *
  */
diff --git a/ports/sysdeps/unix/sysv/linux/hppa/clone.S b/ports/sysdeps/unix/sysv/linux/hppa/clone.S
index 0d7a7eb..cfbf0f0 100644
--- a/ports/sysdeps/unix/sysv/linux/hppa/clone.S
+++ b/ports/sysdeps/unix/sysv/linux/hppa/clone.S
@@ -155,7 +155,7 @@ ENTRY(__clone)
 	ldw	-60(%sp), %arg0
 	ldw     -64(%sp), %r22
 
-	/* $$dyncall fixes childs PIC register */
+	/* $$dyncall fixes children PIC register */
 
 	/* Call the user's function */
 #ifdef PIC
diff --git a/sysdeps/mach/hurd/profil.c b/sysdeps/mach/hurd/profil.c
index fee244a..4161b9d 100644
--- a/sysdeps/mach/hurd/profil.c
+++ b/sysdeps/mach/hurd/profil.c
@@ -216,7 +216,7 @@ fork_profil_parent (void)
 }
 text_set_element (_hurd_fork_parent_hook, fork_profil_parent);
 
-/* In the childs, unlock the interlock, and start a profiling thread up
+/* In the children, unlock the interlock, and start a profiling thread up
    if necessary. */
 static void
 fork_profil_child (void)
diff --git a/nptl/tst-cancel4.c b/nptl/tst-cancel4.c
index 6d25e48..6ef654a 100644
--- a/nptl/tst-cancel4.c
+++ b/nptl/tst-cancel4.c
@@ -83,7 +83,7 @@ static pthread_barrier_t b2;
 # define IPC_ADDVAL 0
 #endif
 
-/* The WRITE_BUFFER_SIZE value needs to be choosen such that if we set
+/* The WRITE_BUFFER_SIZE value needs to be chosen such that if we set
    the socket send buffer size to '1', a write of this size on that
    socket will block.
 
diff --git a/ports/sysdeps/powerpc/powerpc32/405/memcpy.S b/ports/sysdeps/powerpc/powerpc32/405/memcpy.S
index 761e967..a2c1bc1 100644
--- a/ports/sysdeps/powerpc/powerpc32/405/memcpy.S
+++ b/ports/sysdeps/powerpc/powerpc32/405/memcpy.S
@@ -98,7 +98,7 @@ L(string_count_loop): /* Copy odd 0-31 bytes */
        lswx    r6,0,r4
        stswx   r6,0,r3
 
-L(pre_string_copy): /* Check how many 32 byte chunck to copy */
+L(pre_string_copy): /* Check how many 32 byte chunk to copy */
        srwi.   r7,r5,4
        beq     L(end_memcpy)
        mtctr   r7
diff --git a/sysdeps/ieee754/ldbl-128/e_expl.c b/sysdeps/ieee754/ldbl-128/e_expl.c
index 589f957..23c204c 100644
--- a/sysdeps/ieee754/ldbl-128/e_expl.c
+++ b/sysdeps/ieee754/ldbl-128/e_expl.c
@@ -117,7 +117,7 @@ static const long double C[] = {
 #define TWO15 C[11]
  32768.0L,
 
-/* Chebyshev polynom coeficients for (exp(x)-1)/x */
+/* Chebyshev polynom coefficients for (exp(x)-1)/x */
 #define P1 C[12]
 #define P2 C[13]
 #define P3 C[14]
diff --git a/sysdeps/ieee754/ldbl-128ibm/e_expl.c b/sysdeps/ieee754/ldbl-128ibm/e_expl.c
index b599f36..1b994cd 100644
--- a/sysdeps/ieee754/ldbl-128ibm/e_expl.c
+++ b/sysdeps/ieee754/ldbl-128ibm/e_expl.c
@@ -116,7 +116,7 @@ static const long double C[] = {
 #define TWO15 C[11]
  32768.0L,
 
-/* Chebyshev polynom coeficients for (exp(x)-1)/x */
+/* Chebyshev polynom coefficients for (exp(x)-1)/x */
 #define P1 C[12]
 #define P2 C[13]
 #define P3 C[14]
diff --git a/ports/sysdeps/ia64/fpu/s_erfcl.S b/ports/sysdeps/ia64/fpu/s_erfcl.S
index b9f7004..2f38c48 100644
--- a/ports/sysdeps/ia64/fpu/s_erfcl.S
+++ b/ports/sysdeps/ia64/fpu/s_erfcl.S
@@ -71,7 +71,7 @@
 //    -0.5*[x(i+1)-x(i)] <= z <= 0.5*[x(i+1)-x(i)].
 //
 //    Let  Q(z)= (P(z)- S)/S, S = a0, rounded to 16 bits.
-//    Polynomial coeffitients for Q(z) we have in the table erfc_Q_table as
+//    Polynomial coefficients for Q(z) we have in the table erfc_Q_table as
 //    long double values
 //
 //    We use multi precision to calculate input argument -x^2 for expl and
diff --git a/ports/sysdeps/ia64/fpu/s_erfc.S b/ports/sysdeps/ia64/fpu/s_erfc.S
index c67c61a..6729cda 100644
--- a/ports/sysdeps/ia64/fpu/s_erfc.S
+++ b/ports/sysdeps/ia64/fpu/s_erfc.S
@@ -65,7 +65,7 @@
 //
 //    Let P14(z) - polynomial approximation of degree 14 for function
 //    erfc(z+x(i)) * exp( (z+x(i))^2) and 0 <= z <= x(i+1)-x(i).
-//    Polynomial coeffitients we have in the table erfc_p_table.
+//    Polynomial coefficients we have in the table erfc_p_table.
 //
 //    So we can find result for erfc(x) as above.
 //    Algorithm description for exp function see below.
diff --git a/ports/sysdeps/ia64/fpu/s_erfcf.S b/ports/sysdeps/ia64/fpu/s_erfcf.S
index ce6be8d..6fe0650 100644
--- a/ports/sysdeps/ia64/fpu/s_erfcf.S
+++ b/ports/sysdeps/ia64/fpu/s_erfcf.S
@@ -63,7 +63,7 @@
 //
 //    Let P15(x) - polynomial approximation of degree 15 for function
 //    erfcf(x) * exp( x^2) and x(i) <= x <= x(i+1), i = 0,1,2,3
-//    Polynomial coeffitients we have in the table erfc_p_table.
+//    Polynomial coefficients we have in the table erfc_p_table.
 //
 //    So we can find result for erfcf(x) as above.
 //    Algorithm description for exp function see below.
diff --git a/ports/sysdeps/ia64/fpu/e_logf.S b/ports/sysdeps/ia64/fpu/e_logf.S
index 3d11a29..1debe47 100644
--- a/ports/sysdeps/ia64/fpu/e_logf.S
+++ b/ports/sysdeps/ia64/fpu/e_logf.S
@@ -838,7 +838,7 @@ GLOBAL_IEEE754_ENTRY(log10f)
 { .mib
       setf.exp      FR_A2 = GR_05 // create A2
       sub           GR_de = GR_Exp,GR_05 // biased_exponent_of_x - 0xFFFE
-                                         // needed to comparion with 0.5 and 2.0
+                                         // needed to comparing with 0.5 and 2.0
       br.cond.sptk  logf_log10f_common
 };;
 GLOBAL_IEEE754_END(log10f)
diff --git a/ports/sysdeps/ia64/fpu/e_logf.S b/ports/sysdeps/ia64/fpu/e_logf.S
index 3d11a29..1debe47 100644
--- a/ports/sysdeps/ia64/fpu/e_logf.S
+++ b/ports/sysdeps/ia64/fpu/e_logf.S
@@ -873,7 +873,7 @@ GLOBAL_IEEE754_ENTRY(logf)
       setf.d        FR_A3 = GR_A3 // create A3
       fcmp.eq.s1    p13,p14 = f0,f0 // p13 - true for logf
       sub           GR_de = GR_Exp,GR_05 // biased_exponent_of_x - 0xFFFE
-                                         // needed to comparion with 0.5 and 2.0
+                                         // needed to comparing with 0.5 and 2.0
 }
 { .mlx
       setf.exp      FR_A2 = GR_05 // create A2
diff --git a/sysdeps/x86_64/multiarch/strcmp-sse42.S b/sysdeps/x86_64/multiarch/strcmp-sse42.S
index a503e92..c84f1c2 100644
--- a/sysdeps/x86_64/multiarch/strcmp-sse42.S
+++ b/sysdeps/x86_64/multiarch/strcmp-sse42.S
@@ -206,7 +206,7 @@ LABEL(touppermask):
 	jnz	LABEL(less16bytes)/* If not, find different value or null char */
 #if defined USE_AS_STRNCMP || defined USE_AS_STRNCASECMP_L
 	sub	$16, %r11
-	jbe	LABEL(strcmp_exitz)/* finish comparision */
+	jbe	LABEL(strcmp_exitz)/* finish comparison */
 #endif
 	add	$16, %rsi		/* prepare to search next 16 bytes */
 	add	$16, %rdi		/* prepare to search next 16 bytes */
diff --git a/sysdeps/x86_64/strcmp.S b/sysdeps/x86_64/strcmp.S
index 7680937..2b82d3e 100644
--- a/sysdeps/x86_64/strcmp.S
+++ b/sysdeps/x86_64/strcmp.S
@@ -239,7 +239,7 @@ END (STRCMP)
 	jnz	LABEL(less16bytes)	/* If not, find different value or null char */
 # if defined USE_AS_STRNCMP || defined USE_AS_STRNCASECMP_L
 	sub	$16, %r11
-	jbe	LABEL(strcmp_exitz)	/* finish comparision */
+	jbe	LABEL(strcmp_exitz)	/* finish comparison */
 # endif
 	add	$16, %rsi		/* prepare to search next 16 bytes */
 	add	$16, %rdi		/* prepare to search next 16 bytes */
diff --git a/sysdeps/x86_64/multiarch/strstr.c b/sysdeps/x86_64/multiarch/strstr.c
index cd63b68..34aa1b5 100644
--- a/sysdeps/x86_64/multiarch/strstr.c
+++ b/sysdeps/x86_64/multiarch/strstr.c
@@ -39,7 +39,7 @@
 	_SIDD_SBYTE_OPS
 	| _SIDD_CMP_EQUAL_ORDER
 	| _SIDD_LEAST_SIGNIFICANT
-   on pcmpistri to do the scanning and string comparsion requirements of
+   on pcmpistri to do the scanning and string comparison requirements of
    sub-string match.  In the scanning phase, we process Cflag and ECX
    index to locate the first fragment match; once the first fragment
    match position has been identified, we do comparison of subsequent
diff --git a/ports/sysdeps/unix/sysv/linux/alpha/bits/netdb.h b/ports/sysdeps/unix/sysv/linux/alpha/bits/netdb.h
index b9437ff..65f76fd 100644
--- a/ports/sysdeps/unix/sysv/linux/alpha/bits/netdb.h
+++ b/ports/sysdeps/unix/sysv/linux/alpha/bits/netdb.h
@@ -29,6 +29,6 @@ struct netent
   char **n_aliases;		/* Alias list.  */
   int n_addrtype;		/* Net address type.  */
   /* XXX We should probably use uint32_t for the field and ensure
-     compatiblity by adding appropriate padding.  */
+     compatibility by adding appropriate padding.  */
   unsigned long	int n_net;	/* Network number.  */
 };
diff --git a/sysdeps/x86_64/dl-trampoline.S b/sysdeps/x86_64/dl-trampoline.S
index 5770c64..a5c0c85 100644
--- a/sysdeps/x86_64/dl-trampoline.S
+++ b/sysdeps/x86_64/dl-trampoline.S
@@ -119,7 +119,7 @@ _dl_runtime_profile:
 	movq %rax, LR_RSP_OFFSET(%rsp)
 
 	/* We always store the XMM registers even if AVX is available.
-	   This is to provide backward binary compatility for existing
+	   This is to provide backward binary compatibility for existing
 	   audit modules.  */
 	movaps %xmm0,		   (LR_XMM_OFFSET)(%rsp)
 	movaps %xmm1, (LR_XMM_OFFSET +   XMM_SIZE)(%rsp)
diff --git a/sunrpc/rpc_thread.c b/sunrpc/rpc_thread.c
index 94d9f1f..fee47f7 100644
--- a/sunrpc/rpc_thread.c
+++ b/sunrpc/rpc_thread.c
@@ -80,7 +80,7 @@ __rpc_thread_variables (void)
 
 /* Global variables If we're single-threaded, or if this is the first
    thread using the variable, use the existing global variable.  This
-   provides backwards compatability for existing applications which
+   provides backwards compatibility for existing applications which
    dynamically link against this code.  */
 #undef svc_fdset
 #undef rpc_createerr
diff --git a/nis/rpcsvc/nis.h b/nis/rpcsvc/nis.h
index 5c5c7bb..933c4d9 100644
--- a/nis/rpcsvc/nis.h
+++ b/nis/rpcsvc/nis.h
@@ -470,7 +470,7 @@ typedef struct fd_result fd_result;
 #define NIS_NOBODY(a, m)       (((a) & ((m) << 24)) != 0)
 /*
  * EOL Alert - The following non-prefixed test macros are
- * here for backward compatability, and will be not be present
+ * here for backward compatibility, and will be not be present
  * in future releases - use the NIS_*() macros above.
  */
 #define WORLD(a, m)	(((a) & (m)) != 0)
diff --git a/sysdeps/unix/sysv/linux/i386/chown.c b/sysdeps/unix/sysv/linux/i386/chown.c
index 94f2940..5fa6402 100644
--- a/sysdeps/unix/sysv/linux/i386/chown.c
+++ b/sysdeps/unix/sysv/linux/i386/chown.c
@@ -49,7 +49,7 @@ __real_chown (const char *file, uid_t owner, gid_t group)
 
 
 #if SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)
-/* Compiling for compatibiity.  */
+/* Compiling for compatibility.  */
 int
 attribute_compat_text_section
 __chown_is_lchown (const char *file, uid_t owner, gid_t group)
diff --git a/sysdeps/unix/sysv/linux/s390/s390-32/chown.c b/sysdeps/unix/sysv/linux/s390/s390-32/chown.c
index cd0cb74..7fbd28a 100644
--- a/sysdeps/unix/sysv/linux/s390/s390-32/chown.c
+++ b/sysdeps/unix/sysv/linux/s390/s390-32/chown.c
@@ -46,7 +46,7 @@ __real_chown (const char *file, uid_t owner, gid_t group)
 
 
 #if SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)
-/* Compiling for compatibiity.  */
+/* Compiling for compatibility.  */
 int
 attribute_compat_text_section
 __chown_is_lchown (const char *file, uid_t owner, gid_t group)
diff --git a/sysdeps/ieee754/k_standard.c b/sysdeps/ieee754/k_standard.c
index 150921f..4a0d82d 100644
--- a/sysdeps/ieee754/k_standard.c
+++ b/sysdeps/ieee754/k_standard.c
@@ -31,7 +31,7 @@ static char rcsid[] = "$NetBSD: k_standard.c,v 1.6 1995/05/10 20:46:35 jtc Exp $
 #endif	/* !defined(_USE_WRITE) */
 
 /* XXX gcc versions until now don't delay the 0.0/0.0 division until
-   runtime but produce NaN at copile time.  This is wrong since the
+   runtime but produce NaN at compile time.  This is wrong since the
    exceptions are not set correctly.  */
 #if 0
 static const double zero = 0.0;	/* used as const */
diff --git a/sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c b/sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c
index bd3d4f9..5e64efa 100644
--- a/sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c
+++ b/sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c
@@ -28,7 +28,7 @@
    Returning to the correct parent context is pretty simple on
    Sparc.  We only need to link up the register windows correctly.
    Since global registers are clobbered by calls, we need not be
-   concernred about those, and thus is all could be worked out without
+   concerned about those, and thus is all could be worked out without
    using a trampoline.
 
    Except that we must deal with the signal mask, thus a trampoline
diff --git a/nptl/sysdeps/pthread/pthread.h b/nptl/sysdeps/pthread/pthread.h
index 61d5346..80c7454 100644
--- a/nptl/sysdeps/pthread/pthread.h
+++ b/nptl/sysdeps/pthread/pthread.h
@@ -1034,13 +1034,13 @@ extern int pthread_condattr_setpshared (pthread_condattr_t *__attr,
 					int __pshared) __THROW __nonnull ((1));
 
 #ifdef __USE_XOPEN2K
-/* Get the clock selected for the conditon variable attribute ATTR.  */
+/* Get the clock selected for the condition variable attribute ATTR.  */
 extern int pthread_condattr_getclock (const pthread_condattr_t *
 				      __restrict __attr,
 				      __clockid_t *__restrict __clock_id)
      __THROW __nonnull ((1, 2));
 
-/* Set the clock selected for the conditon variable attribute ATTR.  */
+/* Set the clock selected for the condition variable attribute ATTR.  */
 extern int pthread_condattr_setclock (pthread_condattr_t *__attr,
 				      __clockid_t __clock_id)
      __THROW __nonnull ((1));
diff --git a/ports/sysdeps/unix/sysv/linux/hppa/nptl/pthread.h b/ports/sysdeps/unix/sysv/linux/hppa/nptl/pthread.h
index 70e0604..b3596c0 100644
--- a/ports/sysdeps/unix/sysv/linux/hppa/nptl/pthread.h
+++ b/ports/sysdeps/unix/sysv/linux/hppa/nptl/pthread.h
@@ -1014,13 +1014,13 @@ extern int pthread_condattr_setpshared (pthread_condattr_t *__attr,
 					int __pshared) __THROW __nonnull ((1));
 
 #ifdef __USE_XOPEN2K
-/* Get the clock selected for the conditon variable attribute ATTR.  */
+/* Get the clock selected for the condition variable attribute ATTR.  */
 extern int pthread_condattr_getclock (const pthread_condattr_t *
 				      __restrict __attr,
 				      __clockid_t *__restrict __clock_id)
      __THROW __nonnull ((1, 2));
 
-/* Set the clock selected for the conditon variable attribute ATTR.  */
+/* Set the clock selected for the condition variable attribute ATTR.  */
 extern int pthread_condattr_setclock (pthread_condattr_t *__attr,
 				      __clockid_t __clock_id)
      __THROW __nonnull ((1));
diff --git a/nptl/sysdeps/unix/sysv/linux/internaltypes.h b/nptl/sysdeps/unix/sysv/linux/internaltypes.h
index 699a618..a7ee3fe 100644
--- a/nptl/sysdeps/unix/sysv/linux/internaltypes.h
+++ b/nptl/sysdeps/unix/sysv/linux/internaltypes.h
@@ -66,7 +66,7 @@ struct pthread_condattr
 {
   /* Combination of values:
 
-     Bit 0  : flag whether coditional variable will be shareable between
+     Bit 0  : flag whether conditional variable will be sharable between
 	      processes.
 
      Bit 1-7: clock ID.  */
diff --git a/ports/sysdeps/ia64/fpu/libm_reduce.S b/ports/sysdeps/ia64/fpu/libm_reduce.S
index 8bdf91d..e5ceffe 100644
--- a/ports/sysdeps/ia64/fpu/libm_reduce.S
+++ b/ports/sysdeps/ia64/fpu/libm_reduce.S
@@ -75,7 +75,7 @@
 //
 // IEEE Special Conditions:
 //
-//    No condions should be raised.
+//    No conditions should be raised.
 //
 //*********************************************************************
 //
diff --git a/streams/stropts.h b/streams/stropts.h
index 7988602..5af61dc 100644
--- a/streams/stropts.h
+++ b/streams/stropts.h
@@ -35,7 +35,7 @@ typedef __uid_t uid_t;
 typedef __t_scalar_t t_scalar_t;
 typedef __t_uscalar_t t_uscalar_t;
 
-/* Get system specific contants.  */
+/* Get system specific constants.  */
 #include <bits/stropts.h>
 
 
diff --git a/sysdeps/mach/hurd/dl-sysdep.c b/sysdeps/mach/hurd/dl-sysdep.c
index d85c22a..f330b23 100644
--- a/sysdeps/mach/hurd/dl-sysdep.c
+++ b/sysdeps/mach/hurd/dl-sysdep.c
@@ -54,7 +54,7 @@ int __libc_enable_secure = 0;
 INTVARDEF(__libc_enable_secure)
 int __libc_multiple_libcs = 0;	/* Defining this here avoids the inclusion
 				   of init-first.  */
-/* This variable containts the lowest stack address ever used.  */
+/* This variable contains the lowest stack address ever used.  */
 void *__libc_stack_end;
 
 #if HP_TIMING_AVAIL
diff --git a/elf/dl-open.c b/elf/dl-open.c
index 7adf66b..1403c8c 100644
--- a/elf/dl-open.c
+++ b/elf/dl-open.c
@@ -158,7 +158,7 @@ add_to_global (struct link_map *new)
   return 0;
 }
 
-/* Search link maps in all namespaces for the DSO that containes the object at
+/* Search link maps in all namespaces for the DSO that contains the object at
    address ADDR.  Returns the pointer to the link map of the matching DSO, or
    NULL if a match is not found.  */
 struct link_map *
diff --git a/ports/sysdeps/ia64/fpu/libm_reduce.S b/ports/sysdeps/ia64/fpu/libm_reduce.S
index 8bdf91d..e5ceffe 100644
--- a/ports/sysdeps/ia64/fpu/libm_reduce.S
+++ b/ports/sysdeps/ia64/fpu/libm_reduce.S
@@ -288,7 +288,7 @@
 //
 // Set sgn_x := sign(x); x := |x|; x_lo := 2 lsb of x.
 //
-// In memory, 2/pi is stored contigously as
+// In memory, 2/pi is stored contiguously as
 //
 //  0x00000000 0x00000000 0xA2F....
 //                       ^
diff --git a/ports/sysdeps/ia64/fpu/libm_reduce.S b/ports/sysdeps/ia64/fpu/libm_reduce.S
index 8bdf91d..e5ceffe 100644
--- a/ports/sysdeps/ia64/fpu/libm_reduce.S
+++ b/ports/sysdeps/ia64/fpu/libm_reduce.S
@@ -786,7 +786,7 @@ __libm_pi_by_2_reduce:
 //          setf.sig FR_ScaleP3 = GR_x_lo
 //          fmerge.se FR_X = FR_X,FR_ScaleP3
 //    Set sgn_x := sign(x); x := |x|; x_lo := 2 lsb of x.
-//    2/pi is stored contigously as
+//    2/pi is stored contiguously as
 //    0x00000000 0x00000000.0xA2F....
 //    M = EXP - BIAS  ( M >= 63)
 //    Given x = 2^m * 1.xxxx...xxx; we calculate L := 62 - m.
diff --git a/ports/sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c b/ports/sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c
index efe95b1..9d263f2 100644
--- a/ports/sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c
+++ b/ports/sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c
@@ -19,7 +19,7 @@
 /* The public __longjmp() implementation is limited to jumping within
    the same stack.  That is, in general it is not possible to use this
    __longjmp() implementation to cross from one stack to another.
-   In constrast, the __sigstack_longjmp() implemented here allows
+   In contrast, the __sigstack_longjmp() implemented here allows
    crossing from the alternate signal stack to the normal stack
    as a special case.  */
 
diff --git a/stdio-common/vfscanf.c b/stdio-common/vfscanf.c
index 3430567..338eb73 100644
--- a/stdio-common/vfscanf.c
+++ b/stdio-common/vfscanf.c
@@ -2185,7 +2185,7 @@ _IO_vfscanf_internal (_IO_FILE *s, const char *format, _IO_va_list argptr,
 		    }
 
 		  /* Start checking against localized digits, if
-		     convertion is done correctly. */
+		     conversion is done correctly. */
 		  while (1)
 		    {
 		      if (got_e && wp[wpsize - 1] == exp_char
diff --git a/iconv/loop.c b/iconv/loop.c
index 46bfdbb..ad0181f 100644
--- a/iconv/loop.c
+++ b/iconv/loop.c
@@ -38,7 +38,7 @@
      BODY		this is supposed to expand to the body of the loop.
 			The user must provide this.
 
-     EXTRA_LOOP_DECLS	extra arguments passed from converion loop call.
+     EXTRA_LOOP_DECLS	extra arguments passed from conversion loop call.
 
      INIT_PARAMS	code to define and initialize variables from params.
      UPDATE_PARAMS	code to store result in params.
diff --git a/iconvdata/gbbig5.c b/iconvdata/gbbig5.c
index c08a2c1..bb75fa7 100644
--- a/iconvdata/gbbig5.c
+++ b/iconvdata/gbbig5.c
@@ -22,7 +22,7 @@
 #include <stdint.h>
 
 /*
- * This module does convertions between gb2312 and big5 encodings.
+ * This module does conversions between gb2312 and big5 encodings.
  * It is necessary because gb2312 encoding use simplified chinese,
  * while big5 use traditional one. Often times both the simplified
  * version of a chinese character and its traditional counterpart
diff --git a/iconv/gconv_int.h b/iconv/gconv_int.h
index 80c1533..fcf9124 100644
--- a/iconv/gconv_int.h
+++ b/iconv/gconv_int.h
@@ -49,7 +49,7 @@ struct gconv_alias
 };
 
 
-/* How many character should be conveted in one call?  */
+/* How many character should be converted in one call?  */
 #define GCONV_NCHAR_GOAL	8160
 
 
diff --git a/ports/sysdeps/mips/memcpy.S b/ports/sysdeps/mips/memcpy.S
index aeea491..b47b846 100644
--- a/ports/sysdeps/mips/memcpy.S
+++ b/ports/sysdeps/mips/memcpy.S
@@ -157,10 +157,10 @@
 /* MAX_PREFETCH_SIZE is the maximum size of a prefetch, it must not be less
  * then PREFETCH_CHUNK, the assumed size of each prefetch.  If the real size
  * of a prefetch is greater then MAX_PREFETCH_SIZE and the PREPAREFORSTORE
- * hint is used, the code will not work corrrectly.  If PREPAREFORSTORE is not
+ * hint is used, the code will not work correctly.  If PREPAREFORSTORE is not
  * used then MAX_PREFETCH_SIZE does not matter.  */
 #define MAX_PREFETCH_SIZE 128
-/* PREFETCH_LIMIT is set based on the fact that we neve use an offset greater
+/* PREFETCH_LIMIT is set based on the fact that we never use an offset greater
  * then 5 on a STORE prefetch and that a single prefetch can never be larger
  * then MAX_PREFETCH_SIZE.  We add the extra 32 when USE_DOUBLE is set because
  * we actually do two prefetches in that case, one 32 bytes after the other.  */
diff --git a/localedata/tests/test6.c b/localedata/tests/test6.c
index 30d4a11..6548601 100644
--- a/localedata/tests/test6.c
+++ b/localedata/tests/test6.c
@@ -40,7 +40,7 @@ main (void)
       /* Test basic table handling (basic == not more than 256 characters).
 	 The charmaps swaps the normal lower-upper case meaning of the
 	 ASCII characters used in the source code while the Unicode mapping
-	 in the repertoire map has the normal correspondants.  This test
+	 in the repertoire map has the normal correspondents.  This test
 	 shows the independence of the tables for `char' and `wchar_t'
 	 characters.  */
 
diff --git a/posix/regexec.c b/posix/regexec.c
index f85c5e8..69d6b96 100644
--- a/posix/regexec.c
+++ b/posix/regexec.c
@@ -2438,7 +2438,7 @@ find_recover_state (reg_errcode_t *err, re_match_context_t *mctx)
 /* From the node set CUR_NODES, pick up the nodes whose types are
    OP_OPEN_SUBEXP and which have corresponding back references in the regular
    expression. And register them to use them later for evaluating the
-   correspoding back references.  */
+   corresponding back references.  */
 
 static reg_errcode_t
 internal_function
diff --git a/ports/sysdeps/ia64/fpu/e_log.S b/ports/sysdeps/ia64/fpu/e_log.S
index 3c5ebc2..9763aa6 100644
--- a/ports/sysdeps/ia64/fpu/e_log.S
+++ b/ports/sysdeps/ia64/fpu/e_log.S
@@ -122,7 +122,7 @@
 //   L2 = 1.0/log(10)
 //
 // So common code with two different entry points those set pointers
-// to the base address of coresponding data sets containing values
+// to the base address of corresponding data sets containing values
 // of L2,T and prepare integer representation of L1 needed for following
 // setf instruction.
 //
diff --git a/ports/sysdeps/ia64/fpu/e_logf.S b/ports/sysdeps/ia64/fpu/e_logf.S
index 3d11a29..1debe47 100644
--- a/ports/sysdeps/ia64/fpu/e_logf.S
+++ b/ports/sysdeps/ia64/fpu/e_logf.S
@@ -119,7 +119,7 @@
 //   L2 = 1.0/log(10)
 //
 // So common code with two different entry points those set pointers
-// to the base address of coresponding data sets containing values
+// to the base address of corresponding data sets containing values
 // of L2,T and prepare integer representation of L1 needed for following
 // setf instruction can be used.
 //
diff --git a/ports/sysdeps/ia64/fpu/libm_reduce.S b/ports/sysdeps/ia64/fpu/libm_reduce.S
index 8bdf91d..e5ceffe 100644
--- a/ports/sysdeps/ia64/fpu/libm_reduce.S
+++ b/ports/sysdeps/ia64/fpu/libm_reduce.S
@@ -159,7 +159,7 @@
 //
 //      P_1    =      b   b    b     ...    b
 //
-// each b can be 0 or 1. Also, let P_0 be the two bits correspoding to
+// each b can be 0 or 1. Also, let P_0 be the two bits corresponding to
 // bit positions L+2 and L+1. So, when each of the P_j is interpreted
 // with appropriate scaling, we have
 //
diff --git a/posix/regexec.c b/posix/regexec.c
index f85c5e8..69d6b96 100644
--- a/posix/regexec.c
+++ b/posix/regexec.c
@@ -2256,7 +2256,7 @@ sift_states_iter_mb (const re_match_context_t *mctx, re_sift_context_t *sctx,
 			    dfa->nexts[node_idx]))
     /* The node can't accept the `multi byte', or the
        destination was already thrown away, then the node
-       could't accept the current input `multi byte'.   */
+       couldn't accept the current input `multi byte'.   */
     naccepted = 0;
   /* Otherwise, it is sure that the node could accept
      `naccepted' bytes input.  */
diff --git a/ports/sysdeps/aarch64/strlen.S b/ports/sysdeps/aarch64/strlen.S
index ba05009..d408134 100644
--- a/ports/sysdeps/aarch64/strlen.S
+++ b/ports/sysdeps/aarch64/strlen.S
@@ -45,7 +45,7 @@
 #define REP8_7f 0x7f7f7f7f7f7f7f7f
 #define REP8_80 0x8080808080808080
 
-	/* Start of critial section -- keep to one 64Byte cache line.  */
+	/* Start of critical section -- keep to one 64Byte cache line.  */
 ENTRY_ALIGN (strlen, 6)
 	mov	zeroones, #REP8_01
 	bic	src, srcin, #15
diff --git a/ports/sysdeps/aarch64/strnlen.S b/ports/sysdeps/aarch64/strnlen.S
index e582e8a..90ffb48 100644
--- a/ports/sysdeps/aarch64/strnlen.S
+++ b/ports/sysdeps/aarch64/strnlen.S
@@ -67,7 +67,7 @@ ENTRY_ALIGN_AND_PAD (__strnlen, 6, 9)
 	   especially on cores with a high number of issue slots per
 	   cycle, as we get much better parallelism out of the operations.  */
 
-	/* Start of critial section -- keep to one 64Byte cache line.  */
+	/* Start of critical section -- keep to one 64Byte cache line.  */
 L(loop):
 	ldp	data1, data2, [src], #16
 L(realigned):
diff --git a/sunrpc/xdr_rec.c b/sunrpc/xdr_rec.c
index 9d79ace..9342de4 100644
--- a/sunrpc/xdr_rec.c
+++ b/sunrpc/xdr_rec.c
@@ -101,7 +101,7 @@ typedef struct rec_strm
     caddr_t out_base;		/* output buffer (points to frag header) */
     caddr_t out_finger;		/* next output position */
     caddr_t out_boundry;	/* data cannot up to this address */
-    u_int32_t *frag_header;	/* beginning of curren fragment */
+    u_int32_t *frag_header;	/* beginning of current fragment */
     bool_t frag_sent;		/* true if buffer sent in middle of record */
     /*
      * in-coming bits
diff --git a/libidn/iconvme.c b/libidn/iconvme.c
index d248438..339258f 100644
--- a/libidn/iconvme.c
+++ b/libidn/iconvme.c
@@ -51,7 +51,7 @@
 
 /* Convert a zero-terminated string STR from the FROM_CODSET code set
    to the TO_CODESET code set.  The returned string is allocated using
-   malloc, and must be dellocated by the caller using free.  On
+   malloc, and must be deallocated by the caller using free.  On
    failure, NULL is returned and errno holds the error reason.  Note
    that if TO_CODESET uses \0 for anything but to terminate the
    string, the caller of this function may have difficulties finding
diff --git a/nptl/sysdeps/unix/sysv/linux/bits/local_lim.h b/nptl/sysdeps/unix/sysv/linux/bits/local_lim.h
index 039304b..c6a2536 100644
--- a/nptl/sysdeps/unix/sysv/linux/bits/local_lim.h
+++ b/nptl/sysdeps/unix/sysv/linux/bits/local_lim.h
@@ -73,7 +73,7 @@
 /* We have no predefined limit on the number of threads.  */
 #undef PTHREAD_THREADS_MAX
 
-/* Maximum amount by which a process can descrease its asynchronous I/O
+/* Maximum amount by which a process can decrease its asynchronous I/O
    priority level.  */
 #define AIO_PRIO_DELTA_MAX	20
 
diff --git a/nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h b/nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h
index 3e8439a..39f594e 100644
--- a/nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h
+++ b/nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h
@@ -73,7 +73,7 @@
 /* We have no predefined limit on the number of threads.  */
 #undef PTHREAD_THREADS_MAX
 
-/* Maximum amount by which a process can descrease its asynchronous I/O
+/* Maximum amount by which a process can decrease its asynchronous I/O
    priority level.  */
 #define AIO_PRIO_DELTA_MAX	20
 
diff --git a/nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h b/nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h
index b3645a7..7d9e22a 100644
--- a/nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h
+++ b/nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h
@@ -73,7 +73,7 @@
 /* We have no predefined limit on the number of threads.  */
 #undef PTHREAD_THREADS_MAX
 
-/* Maximum amount by which a process can descrease its asynchronous I/O
+/* Maximum amount by which a process can decrease its asynchronous I/O
    priority level.  */
 #define AIO_PRIO_DELTA_MAX	20
 
diff --git a/ports/sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h b/ports/sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h
index 3acedb8..47e0a7d 100644
--- a/ports/sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h
+++ b/ports/sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h
@@ -74,7 +74,7 @@
 /* We have no predefined limit on the number of threads.  */
 #undef PTHREAD_THREADS_MAX
 
-/* Maximum amount by which a process can descrease its asynchronous I/O
+/* Maximum amount by which a process can decrease its asynchronous I/O
    priority level.  */
 #define AIO_PRIO_DELTA_MAX	20
 
diff --git a/ports/sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h b/ports/sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h
index 57c7796..3fa0551 100644
--- a/ports/sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h
+++ b/ports/sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h
@@ -73,7 +73,7 @@
 /* We have no predefined limit on the number of threads.  */
 #undef PTHREAD_THREADS_MAX
 
-/* Maximum amount by which a process can descrease its asynchronous I/O
+/* Maximum amount by which a process can decrease its asynchronous I/O
    priority level.  */
 #define AIO_PRIO_DELTA_MAX	20
 
diff --git a/ports/sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h b/ports/sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h
index c1af6db..eea82de 100644
--- a/ports/sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h
+++ b/ports/sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h
@@ -73,7 +73,7 @@
 /* We have no predefined limit on the number of threads.  */
 #undef PTHREAD_THREADS_MAX
 
-/* Maximum amount by which a process can descrease its asynchronous I/O
+/* Maximum amount by which a process can decrease its asynchronous I/O
    priority level.  */
 #define AIO_PRIO_DELTA_MAX	20
 
diff --git a/ports/sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h b/ports/sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h
index a1fb978..2d4819c 100644
--- a/ports/sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h
+++ b/ports/sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h
@@ -73,7 +73,7 @@
 /* We have no predefined limit on the number of threads.  */
 #undef PTHREAD_THREADS_MAX
 
-/* Maximum amount by which a process can descrease its asynchronous I/O
+/* Maximum amount by which a process can decrease its asynchronous I/O
    priority level.  */
 #define AIO_PRIO_DELTA_MAX	20
 
diff --git a/ports/sysdeps/unix/sysv/linux/tile/bits/local_lim.h b/ports/sysdeps/unix/sysv/linux/tile/bits/local_lim.h
index cc36307..ed6ffb3 100644
--- a/ports/sysdeps/unix/sysv/linux/tile/bits/local_lim.h
+++ b/ports/sysdeps/unix/sysv/linux/tile/bits/local_lim.h
@@ -73,7 +73,7 @@
 /* We have no predefined limit on the number of threads.  */
 #undef PTHREAD_THREADS_MAX
 
-/* Maximum amount by which a process can descrease its asynchronous I/O
+/* Maximum amount by which a process can decrease its asynchronous I/O
    priority level.  */
 #define AIO_PRIO_DELTA_MAX	20
 
diff --git a/sysdeps/unix/sysv/linux/bits/local_lim.h b/sysdeps/unix/sysv/linux/bits/local_lim.h
index efd4c41..cea6f81 100644
--- a/sysdeps/unix/sysv/linux/bits/local_lim.h
+++ b/sysdeps/unix/sysv/linux/bits/local_lim.h
@@ -58,7 +58,7 @@
 # undef __undef_ARG_MAX
 #endif
 
-/* Maximum amount by which a process can descrease its asynchronous I/O
+/* Maximum amount by which a process can decrease its asynchronous I/O
    priority level.  */
 #define AIO_PRIO_DELTA_MAX	20
 
diff --git a/nscd/connections.c b/nscd/connections.c
index e54d4f2..b9775f0 100644
--- a/nscd/connections.c
+++ b/nscd/connections.c
@@ -1634,7 +1634,7 @@ nscd_run_prune (void *p)
 	     cache content.  Should there be concurrent additions to
 	     the cache which are not accounted for in the cache
 	     pruning we want to know about it.  Therefore set the
-	     timeout to the maximum.  It will be descreased when adding
+	     timeout to the maximum.  It will be decreased when adding
 	     new entries to the cache, if necessary.  */
 	  dbs[my_number].wakeup_time = MAX_TIMEOUT_VALUE;
 
diff --git a/ports/sysdeps/microblaze/math_private.h b/ports/sysdeps/microblaze/math_private.h
index 39b7172..ab1a9fc 100644
--- a/ports/sysdeps/microblaze/math_private.h
+++ b/ports/sysdeps/microblaze/math_private.h
@@ -1,7 +1,7 @@
 #ifndef _MATH_PRIVATE_H
 
 /* Suppress use of exceptions here to avoid build errors if the FE_*
-   macros aren't definied. Only allow rounding modes implemented for
+   macros aren't defined. Only allow rounding modes implemented for
    MicroBlaze.
 
    This does mean that some code will silently fail to report exceptions,
diff --git a/sunrpc/rpc_svcout.c b/sunrpc/rpc_svcout.c
index 4f12a81..dfeab73 100644
--- a/sunrpc/rpc_svcout.c
+++ b/sunrpc/rpc_svcout.c
@@ -325,7 +325,7 @@ write_programs (const char *storage)
 }
 
 /* write out definition of internal function (e.g. _printmsg_1(...))
-   which calls server's defintion of actual function (e.g. printmsg_1(...)).
+   which calls server's definition of actual function (e.g. printmsg_1(...)).
    Unpacks single user argument of printmsg_1 to call-by-value format
    expected by printmsg_1. */
 static void
diff --git a/sysdeps/generic/pty-private.h b/sysdeps/generic/pty-private.h
index de5f95b..2fe5df4 100644
--- a/sysdeps/generic/pty-private.h
+++ b/sysdeps/generic/pty-private.h
@@ -1,4 +1,4 @@
-/* Internal defenitions and declarations for pseudo terminal functions.
+/* Internal definitions and declarations for pseudo terminal functions.
    Copyright (C) 1998-2013 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Zack Weinberg <zack@rabi.phys.columbia.edu>, 1998.
diff --git a/inet/netinet/igmp.h b/inet/netinet/igmp.h
index 915dcab..8e4f805 100644
--- a/inet/netinet/igmp.h
+++ b/inet/netinet/igmp.h
@@ -109,7 +109,7 @@ struct igmp {
 #define IGMP_v2_ROUTER		2
 
 /*
- * The following four defininitions are for backwards compatibility.
+ * The following four definitions are for backwards compatibility.
  * They should be removed as soon as all applications are updated to
  * use the new constant names.
  */
diff --git a/sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c b/sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
index 00e44b8..262085e 100644
--- a/sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
+++ b/sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
@@ -43,21 +43,21 @@ __mpn_extract_long_double (mp_ptr res_ptr, mp_size_t size,
 
   lo = ((long long) u.ieee.mantissa2 << 32) | u.ieee.mantissa3;
   hi = ((long long) u.ieee.mantissa0 << 32) | u.ieee.mantissa1;
-  /* If the lower double is not a denomal or zero then set the hidden
+  /* If the lower double is not a denormal or zero then set the hidden
      53rd bit.  */
   if (u.ieee.exponent2 > 0)
     {
       lo |= 1LL << 52;
 
       /* The lower double is normalized separately from the upper.  We may
-	 need to adjust the lower manitissa to reflect this.  */
+	 need to adjust the lower mantissa to reflect this.  */
       ediff = u.ieee.exponent - u.ieee.exponent2;
       if (ediff > 53)
 	lo = lo >> (ediff-53);
     }
   /* The high double may be rounded and the low double reflects the
      difference between the long double and the rounded high double
-     value.  This is indicated by a differnce between the signs of the
+     value.  This is indicated by a difference between the signs of the
      high and low doubles.  */
   if ((u.ieee.negative != u.ieee.negative2)
       && ((u.ieee.exponent2 != 0) && (lo != 0L)))
diff --git a/sysdeps/ieee754/ldbl-128ibm/math_ldbl.h b/sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
index 046293e..d90adcc 100644
--- a/sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
+++ b/sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
@@ -21,14 +21,14 @@ ldbl_extract_mantissa (int64_t *hi64, uint64_t *lo64, int *exp, long double x)
 
   lo = ((int64_t)eldbl.ieee.mantissa2 << 32) | eldbl.ieee.mantissa3;
   hi = ((int64_t)eldbl.ieee.mantissa0 << 32) | eldbl.ieee.mantissa1;
-  /* If the lower double is not a denomal or zero then set the hidden
+  /* If the lower double is not a denormal or zero then set the hidden
      53rd bit.  */
   if (eldbl.ieee.exponent2 > 0x001)
     {
       lo |= (1ULL << 52);
       lo = lo << 7; /* pre-shift lo to match ieee854.  */
       /* The lower double is normalized separately from the upper.  We
-	 may need to adjust the lower manitissa to reflect this.  */
+	 may need to adjust the lower mantissa to reflect this.  */
       ediff = eldbl.ieee.exponent - eldbl.ieee.exponent2;
       if (ediff > 53)
 	lo = lo >> (ediff-53);
diff --git a/sysdeps/ieee754/ldbl-128ibm/printf_fphex.c b/sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
index 247dc20..0cc4c23 100644
--- a/sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
+++ b/sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
@@ -34,14 +34,14 @@ do {									      \
       lo = ((long long)eldbl.ieee.mantissa2 << 32) | eldbl.ieee.mantissa3;    \
       hi = ((long long)eldbl.ieee.mantissa0 << 32) | eldbl.ieee.mantissa1;    \
       lo <<= 7; /* pre-shift lo to match ieee854.  */			      \
-      /* If the lower double is not a denomal or zero then set the hidden     \
+      /* If the lower double is not a denormal or zero then set the hidden     \
 	 53rd bit.  */							      \
       if (eldbl.ieee.exponent2 != 0)					      \
 	lo |= (1ULL << (52 + 7));					      \
       else								      \
 	lo <<= 1;							      \
       /* The lower double is normalized separately from the upper.  We	      \
-	 may need to adjust the lower manitissa to reflect this.  */	      \
+	 may need to adjust the lower mantissa to reflect this.  */	      \
       ediff = eldbl.ieee.exponent - eldbl.ieee.exponent2;		      \
       if (ediff > 53 + 63)						      \
 	lo = 0;								      \
diff --git a/sysdeps/ieee754/ldbl-128ibm/s_frexpl.c b/sysdeps/ieee754/ldbl-128ibm/s_frexpl.c
index 3ac5374..0ce2499 100644
--- a/sysdeps/ieee754/ldbl-128ibm/s_frexpl.c
+++ b/sysdeps/ieee754/ldbl-128ibm/s_frexpl.c
@@ -54,7 +54,7 @@ long double __frexpl(long double x, int *eptr)
 	if (ixl != 0ULL) {
 	  explo = (ixl>>52) - (ix>>52) + 0x3fe;
 	  if ((ixl&0x7ff0000000000000ULL) == 0LL) {
-	    /* the lower double is a denomal so we need to correct its
+	    /* the lower double is a denormal so we need to correct its
 	       mantissa and perhaps its exponent.  */
 	    int cnt;
 
diff --git a/elf/dl-version.c b/elf/dl-version.c
index 62be4ae..64883da 100644
--- a/elf/dl-version.c
+++ b/elf/dl-version.c
@@ -179,7 +179,7 @@ _dl_check_map_versions (struct link_map *map, int verbose, int trace_mode)
   /* Pointer to dynamic section with definitions.  */
   ElfW(Dyn) *def;
   /* We need to find out which is the highest version index used
-    in a dependecy.  */
+    in a dependency.  */
   unsigned int ndx_high = 0;
   /* Initialize to make the compiler happy.  */
   const char *errstring = NULL;
diff --git a/sysdeps/unix/sysv/linux/net/if_shaper.h b/sysdeps/unix/sysv/linux/net/if_shaper.h
index 9f0fb54..154faec 100644
--- a/sysdeps/unix/sysv/linux/net/if_shaper.h
+++ b/sysdeps/unix/sysv/linux/net/if_shaper.h
@@ -27,7 +27,7 @@ __BEGIN_DECLS
 
 #define SHAPER_QLEN	10
 /*
- *	This is a bit speed dependant (read it shouldnt be a constant!)
+ *	This is a bit speed dependent (read it shouldn't be a constant!)
  *
  *	5 is about right for 28.8 upwards. Below that double for every
  *	halving of speed or so. - ie about 20 for 9600 baud.
diff --git a/math/fenv.h b/math/fenv.h
index f8f3d6a..28e6301 100644
--- a/math/fenv.h
+++ b/math/fenv.h
@@ -24,7 +24,7 @@
 
 #include <features.h>
 
-/* Get the architecture dependend definitions.  The following definitions
+/* Get the architecture dependent definitions.  The following definitions
    are expected to be done:
 
    fenv_t	type for object representing an entire floating-point
diff --git a/localedata/tests-mbwc/dat_strxfrm.c b/localedata/tests-mbwc/dat_strxfrm.c
index 2642be4..5c4146f 100644
--- a/localedata/tests-mbwc/dat_strxfrm.c
+++ b/localedata/tests-mbwc/dat_strxfrm.c
@@ -13,7 +13,7 @@
  *  Return value and errno value are checked only for 2nd string:
  *  org2[]; n1 and n2 don't mean bytes to be translated.
  *  It means a buffer size including a null character.
- *  Results of this test depens on results of strcoll().
+ *  Results of this test depends on results of strcoll().
  *  If you got errors, check both test results.
  *
  *  The buffer size should be enough to contain a string including a
diff --git a/localedata/tests-mbwc/dat_wcsxfrm.c b/localedata/tests-mbwc/dat_wcsxfrm.c
index 231da38..81675cc 100644
--- a/localedata/tests-mbwc/dat_wcsxfrm.c
+++ b/localedata/tests-mbwc/dat_wcsxfrm.c
@@ -12,7 +12,7 @@
  *  Return value and errno value are checked only for 2nd string:
  *  org2[]; n1 and n2 don't mean bytes to be translated.
  *  It means a buffer size including a null character.
- *  Results of this test depens on results of wcscoll().
+ *  Results of this test depends on results of wcscoll().
  *  If you got errors, check both test results.
  */
 
diff --git a/elf/dl-profile.c b/elf/dl-profile.c
index 8fa6efc..846ca56 100644
--- a/elf/dl-profile.c
+++ b/elf/dl-profile.c
@@ -177,7 +177,7 @@ static unsigned int log_hashfraction;
 
 
 \f
-/* Set up profiling data to profile object desribed by MAP.  The output
+/* Set up profiling data to profile object described by MAP.  The output
    file is found (or created) in OUTPUT_DIR.  */
 void
 internal_function
diff --git a/posix/tst-exec.c b/posix/tst-exec.c
index a1a2c18..69a4144 100644
--- a/posix/tst-exec.c
+++ b/posix/tst-exec.c
@@ -134,7 +134,7 @@ do_test (int argc, char *argv[])
      - three parameters left if called through re-execution
        + file descriptor number which is supposed to be closed
        + the open file descriptor
-       + the name of the closed desriptor
+       + the name of the closed descriptor
   */
 
   if (restart)
diff --git a/elf/sprof.c b/elf/sprof.c
index 60f310f..cc7e01c 100644
--- a/elf/sprof.c
+++ b/elf/sprof.c
@@ -810,7 +810,7 @@ load_profdata (const char *name, struct shobj *shobj)
       return NULL;
     }
 
-  /* We don't need the file desriptor anymore.  */
+  /* We don't need the file descriptor anymore.  */
   if (close (fd) < 0)
     {
       error (0, errno, _("error while closing the profiling data file"));
diff --git a/rt/aio.h b/rt/aio.h
index 23d602d..c4c427b 100644
--- a/rt/aio.h
+++ b/rt/aio.h
@@ -170,7 +170,7 @@ extern int aio_suspend (const struct aiocb *const __list[], int __nent,
 			const struct timespec *__restrict __timeout)
   __nonnull ((1));
 
-/* Force all operations associated with file desriptor described by
+/* Force all operations associated with file descriptor described by
    `aio_fildes' member of AIOCBP.  */
 extern int aio_fsync (int __operation, struct aiocb *__aiocbp)
   __THROW __nonnull ((2));
diff --git a/iconv/gconv_int.h b/iconv/gconv_int.h
index 80c1533..fcf9124 100644
--- a/iconv/gconv_int.h
+++ b/iconv/gconv_int.h
@@ -169,7 +169,7 @@ __libc_lock_define (extern, __gconv_lock attribute_hidden)
   })
 
 
-/* Return in *HANDLE decriptor for transformation from FROMSET to TOSET.  */
+/* Return in *HANDLE descriptor for transformation from FROMSET to TOSET.  */
 extern int __gconv_open (const char *toset, const char *fromset,
 			 __gconv_t *handle, int flags)
      internal_function;
diff --git a/csu/check_fds.c b/csu/check_fds.c
index 3616e6c..dd66362 100644
--- a/csu/check_fds.c
+++ b/csu/check_fds.c
@@ -69,7 +69,7 @@ check_one_fd (int fd, int mode)
 
 	 Note that the following code assumes that STDIN_FILENO,
 	 STDOUT_FILENO, STDERR_FILENO are the three lowest file
-	 decsriptor numbers, in this order.  */
+	 descriptor numbers, in this order.  */
       struct stat64 st;
       if (__builtin_expect (nullfd != fd, 0)
 	  || __builtin_expect (__fxstat64 (_STAT_VER, fd, &st), 0) != 0
diff --git a/sysdeps/pthread/aio_misc.c b/sysdeps/pthread/aio_misc.c
index 79153c8..2027c80 100644
--- a/sysdeps/pthread/aio_misc.c
+++ b/sysdeps/pthread/aio_misc.c
@@ -365,7 +365,7 @@ __aio_enqueue_request (aiocb_union *aiocbp, int operation)
       /* The current file descriptor is worked on.  It makes no sense
 	 to start another thread since this new thread would fight
 	 with the running thread for the resources.  But we also cannot
-	 say that the thread processing this desriptor shall immediately
+	 say that the thread processing this descriptor shall immediately
 	 after finishing the current job process this request if there
 	 are other threads in the running queue which have a higher
 	 priority.  */
diff --git a/iconv/iconv_prog.c b/iconv/iconv_prog.c
index 1a1d0d0..f2ea321 100644
--- a/iconv/iconv_prog.c
+++ b/iconv/iconv_prog.c
@@ -558,7 +558,7 @@ incomplete character or shift sequence at end of buffer"));
 static int
 process_fd (iconv_t cd, int fd, FILE **output, const char *output_file)
 {
-  /* we have a problem with reading from a desriptor since we must not
+  /* we have a problem with reading from a descriptor since we must not
      provide the iconv() function an incomplete character or shift
      sequence at the end of the buffer.  Since we have to deal with
      arbitrary encodings we must read the whole text in a buffer and
diff --git a/nptl/pthread_getattr_np.c b/nptl/pthread_getattr_np.c
index 88ac072..64ee5d4 100644
--- a/nptl/pthread_getattr_np.c
+++ b/nptl/pthread_getattr_np.c
@@ -41,7 +41,7 @@ pthread_getattr_np (thread_id, attr)
   lll_lock (thread->lock, LLL_PRIVATE);
 
   /* The thread library is responsible for keeping the values in the
-     thread desriptor up-to-date in case the user changes them.  */
+     thread descriptor up-to-date in case the user changes them.  */
   memcpy (&iattr->schedparam, &thread->schedparam,
 	  sizeof (struct sched_param));
   iattr->schedpolicy = thread->schedpolicy;
diff --git a/rt/aio.h b/rt/aio.h
index 23d602d..c4c427b 100644
--- a/rt/aio.h
+++ b/rt/aio.h
@@ -34,7 +34,7 @@ __BEGIN_DECLS
 /* Asynchronous I/O control block.  */
 struct aiocb
 {
-  int aio_fildes;		/* File desriptor.  */
+  int aio_fildes;		/* File descriptor.  */
   int aio_lio_opcode;		/* Operation to be performed.  */
   int aio_reqprio;		/* Request priority offset.  */
   volatile void *aio_buf;	/* Location of buffer.  */
diff --git a/rt/aio.h b/rt/aio.h
index 23d602d..c4c427b 100644
--- a/rt/aio.h
+++ b/rt/aio.h
@@ -62,7 +62,7 @@ struct aiocb
 #ifdef __USE_LARGEFILE64
 struct aiocb64
 {
-  int aio_fildes;		/* File desriptor.  */
+  int aio_fildes;		/* File descriptor.  */
   int aio_lio_opcode;		/* Operation to be performed.  */
   int aio_reqprio;		/* Request priority offset.  */
   volatile void *aio_buf;	/* Location of buffer.  */
diff --git a/sysdeps/pthread/aio_cancel.c b/sysdeps/pthread/aio_cancel.c
index 86fbcf6..33859f2 100644
--- a/sysdeps/pthread/aio_cancel.c
+++ b/sysdeps/pthread/aio_cancel.c
@@ -108,7 +108,7 @@ aio_cancel (fildes, aiocbp)
   else
     {
       /* Find the beginning of the list of all requests for this
-	 desriptor.  */
+	 descriptor.  */
       req = __aio_find_req_fd (fildes);
 
       /* If any request is worked on by a thread it must be the first.
diff --git a/libio/genops.c b/libio/genops.c
index a5fe137..01da127 100644
--- a/libio/genops.c
+++ b/libio/genops.c
@@ -38,7 +38,7 @@
 static _IO_lock_t list_all_lock = _IO_lock_initializer;
 #endif
 
-/* Used to signal modifications to the list of FILE decriptors.  */
+/* Used to signal modifications to the list of FILE descriptors.  */
 static int _IO_list_all_stamp;
 
 
diff --git a/locale/localeinfo.h b/locale/localeinfo.h
index 3142726..6b7c38e 100644
--- a/locale/localeinfo.h
+++ b/locale/localeinfo.h
@@ -209,7 +209,7 @@ extern struct __locale_struct _nl_global_locale attribute_hidden;
 __libc_tsd_define (extern, __locale_t, LOCALE)
 
 
-/* For static linking it is desireable to avoid always linking in the code
+/* For static linking it is desirable to avoid always linking in the code
    and data for every category when we can tell at link time that they are
    unused.  We can manage this playing some tricks with weak references.
    But with thread-local locale settings, it becomes quite ungainly unless
diff --git a/ports/sysdeps/unix/sysv/linux/alpha/rt_sigaction.S b/ports/sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
index 3d291fd..567807b 100644
--- a/ports/sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
+++ b/ports/sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
@@ -18,7 +18,7 @@
 
 #include <sysdep.h>
 
-/* On Alpha we desparately want to avoid having to issue an imb.  Ordinarily
+/* On Alpha we desperately want to avoid having to issue an imb.  Ordinarily
    the kernel would have to issue one after setting up the signal return
    stack, but the Linux rt_sigaction syscall is prepared to accept a pointer
    to the sigreturn syscall, instead of inlining it on the stack.
diff --git a/ports/sysdeps/powerpc/powerpc32/405/memcpy.S b/ports/sysdeps/powerpc/powerpc32/405/memcpy.S
index 761e967..a2c1bc1 100644
--- a/ports/sysdeps/powerpc/powerpc32/405/memcpy.S
+++ b/ports/sysdeps/powerpc/powerpc32/405/memcpy.S
@@ -26,7 +26,7 @@
        r5:byte count
 
        Save return address in r0.
-       If destinationn and source are unaligned and copy count is greater than 256
+       If destination and source are unaligned and copy count is greater than 256
        then copy 0-3 bytes to make destination aligned.
        If 32 or more bytes to copy we use 32 byte copy loop.
        Finaly we copy 0-31 extra bytes. */
diff --git a/ports/sysdeps/powerpc/powerpc32/405/memset.S b/ports/sysdeps/powerpc/powerpc32/405/memset.S
index b73dba8..e0813f2 100644
--- a/ports/sysdeps/powerpc/powerpc32/405/memset.S
+++ b/ports/sysdeps/powerpc/powerpc32/405/memset.S
@@ -27,11 +27,11 @@
        r12:temp return address
 
        Save return address in r12
-       If destinationn is unaligned and count is greater tha 255 bytes
+       If destination is unaligned and count is greater tha 255 bytes
        set 0-3 bytes to make destination aligned
        If count is greater tha 255 bytes and setting zero to memory
-       use dbcz to set memeory when we can
-       otherwsie do the follwoing
+       use dbcz to set memory when we can
+       otherwise do the following
        If 16 or more words to set we use 16 word copy loop.
        Finaly we set 0-15 extra bytes with string store. */
 
diff --git a/ports/sysdeps/powerpc/powerpc32/476/memset.S b/ports/sysdeps/powerpc/powerpc32/476/memset.S
index 48c21d6..fd2210c 100644
--- a/ports/sysdeps/powerpc/powerpc32/476/memset.S
+++ b/ports/sysdeps/powerpc/powerpc32/476/memset.S
@@ -27,11 +27,11 @@
        r12:temp return address
 
        Save return address in r12
-       If destinationn is unaligned and count is greater tha 255 bytes
+       If destination is unaligned and count is greater tha 255 bytes
        set 0-3 bytes to make destination aligned
        If count is greater tha 255 bytes and setting zero to memory
-       use dbcz to set memeory when we can
-       otherwsie do the follwoing
+       use dbcz to set memory when we can
+       otherwise do the following
        If 16 or more words to set we use 16 word copy loop.
        Finaly we set 0-15 extra bytes with string store. */
 
diff --git a/nptl/sysdeps/pthread/timer_create.c b/nptl/sysdeps/pthread/timer_create.c
index c483a32..89975f7 100644
--- a/nptl/sysdeps/pthread/timer_create.c
+++ b/nptl/sysdeps/pthread/timer_create.c
@@ -112,7 +112,7 @@ timer_create (clock_id, evp, timerid)
       else
 	pthread_attr_init (&newtimer->attr);
 
-      /* Ensure thread attributes call for deatched thread.  */
+      /* Ensure thread attributes call for detached thread.  */
       pthread_attr_setdetachstate (&newtimer->attr, PTHREAD_CREATE_DETACHED);
 
       /* Try to find existing thread having the right attributes.  */
diff --git a/ports/sysdeps/arm/find_exidx.c b/ports/sysdeps/arm/find_exidx.c
index 978ed49..320c40e 100644
--- a/ports/sysdeps/arm/find_exidx.c
+++ b/ports/sysdeps/arm/find_exidx.c
@@ -26,7 +26,7 @@ struct unw_eh_callback_data
 };
 
 
-/* Callback to determins if the PC lies within an object, and remember the
+/* Callback to determines if the PC lies within an object, and remember the
    location of the exception index table if it does.  */
 
 static int
diff --git a/nis/nis_checkpoint.c b/nis/nis_checkpoint.c
index f344d8c..17dd173 100644
--- a/nis/nis_checkpoint.c
+++ b/nis/nis_checkpoint.c
@@ -43,7 +43,7 @@ nis_checkpoint (const_nis_name dirname)
 	  return res2;
 	}
 
-      /* Check if obj is really a diryectory object */
+      /* Check if obj is really a directory object */
       if (__type_of (NIS_RES_OBJECT (res2)) != NIS_DIRECTORY_OBJ)
 	{
 	  nis_freeresult (res2);
diff --git a/nis/nis_ping.c b/nis/nis_ping.c
index d042770..2d8470c 100644
--- a/nis/nis_ping.c
+++ b/nis/nis_ping.c
@@ -46,7 +46,7 @@ nis_ping (const_nis_name dirname, unsigned int utime,
   else
     obj = (nis_object *) dirobj;
 
-  /* Check if obj is really a diryectory object */
+  /* Check if obj is really a directory object */
   if (__type_of (obj) != NIS_DIRECTORY_OBJ)
     {
       nis_freeresult (res);
diff --git a/stdlib/tst-random.c b/stdlib/tst-random.c
index 47195d6..cbb8fe4 100644
--- a/stdlib/tst-random.c
+++ b/stdlib/tst-random.c
@@ -8,14 +8,14 @@
    is regenerated twice and checked against the stored values.
 
    First they are regenerated one sequence at a time, using srandom()
-   to set the initial state.  A discrepency here would suggest that
+   to set the initial state.  A discrepancy here would suggest that
    srandom() was failing to completely initialize the random number
    generator.
 
    Second the sequences are regenerated in an interleaved order.
    A state vector is created for each sequence using initstate().
    setstate() is used to switch from sequence to sequence during
-   the interleaved generation.  A discrepency here would suggest
+   the interleaved generation.  A discrepancy here would suggest
    a problem with either initstate() failing to initialize the
    random number generator properly, or the failure of setstate()
    to correctly save and restore state information.  Also, each
diff --git a/stdlib/lldiv.c b/stdlib/lldiv.c
index d1202bf..f8ba749 100644
--- a/stdlib/lldiv.c
+++ b/stdlib/lldiv.c
@@ -1,4 +1,4 @@
-/* `long long int' divison with remainder.
+/* `long long int' division with remainder.
    Copyright (C) 1992-2013 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
diff --git a/math/bits/mathcalls.h b/math/bits/mathcalls.h
index 870c54c..cd90e91 100644
--- a/math/bits/mathcalls.h
+++ b/math/bits/mathcalls.h
@@ -284,7 +284,7 @@ __MATHCALLX (nextafter,, (_Mdouble_ __x, _Mdouble_ __y), (__const__));
 __MATHCALLX (nexttoward,, (_Mdouble_ __x, long double __y), (__const__));
 # endif
 
-/* Return the remainder of integer divison X / Y with infinite precision.  */
+/* Return the remainder of integer division X / Y with infinite precision.  */
 __MATHCALL (remainder,, (_Mdouble_ __x, _Mdouble_ __y));
 
 # if defined __USE_MISC || defined __USE_ISOC99
diff --git a/math/tgmath.h b/math/tgmath.h
index a29efd3..0daafa6 100644
--- a/math/tgmath.h
+++ b/math/tgmath.h
@@ -397,7 +397,7 @@
 #define nexttoward(Val1, Val2) \
      __TGMATH_BINARY_FIRST_REAL_ONLY (Val1, Val2, nexttoward)
 
-/* Return the remainder of integer divison X / Y with infinite precision.  */
+/* Return the remainder of integer division X / Y with infinite precision.  */
 #define remainder(Val1, Val2) __TGMATH_BINARY_REAL_ONLY (Val1, Val2, remainder)
 
 /* Return X times (2 to the Nth power).  */
diff --git a/localedata/tests-mbwc/dat_mblen.c b/localedata/tests-mbwc/dat_mblen.c
index a5eff44..47c3743 100644
--- a/localedata/tests-mbwc/dat_mblen.c
+++ b/localedata/tests-mbwc/dat_mblen.c
@@ -19,7 +19,7 @@
  *
  *	 o When you feed a null pointer for a string (s) to the function,
  *	   set s_flg=0 instead of putting just a 'NULL' there.
- *	   Even if you set a 'NULL', it doens't mean a NULL pointer.
+ *	   Even if you set a 'NULL', it doesn't mean a NULL pointer.
  *
  *	 o When s is a null pointer, the function checks state dependency.
  *
diff --git a/sysdeps/generic/unwind-dw2-fde-glibc.c b/sysdeps/generic/unwind-dw2-fde-glibc.c
index 9c566f7..ac06f88 100644
--- a/sysdeps/generic/unwind-dw2-fde-glibc.c
+++ b/sysdeps/generic/unwind-dw2-fde-glibc.c
@@ -134,7 +134,7 @@ _Unwind_IteratePhdrCallback (struct dl_phdr_info *info, size_t size, void *ptr)
   data->dbase = NULL;
   if (p_dynamic)
     {
-      /* For dynamicly linked executables and shared libraries,
+      /* For dynamically linked executables and shared libraries,
 	 DT_PLTGOT is the gp value for that object.  */
       ElfW(Dyn) *dyn = (ElfW(Dyn) *)(p_dynamic->p_vaddr + load_base);
       for (; dyn->d_tag != DT_NULL ; dyn++)
diff --git a/stdio-common/printf_fp.c b/stdio-common/printf_fp.c
index e20eab6..80f1178 100644
--- a/stdio-common/printf_fp.c
+++ b/stdio-common/printf_fp.c
@@ -1197,7 +1197,7 @@ ___printf_fp (FILE *fp,
 
 	  /* Now copy the wide character string.  Since the character
 	     (except for the decimal point and thousands separator) must
-	     be coming from the ASCII range we can esily convert the
+	     be coming from the ASCII range we can easily convert the
 	     string without mapping tables.  */
 	  for (cp = buffer, copywc = wstartp; copywc < wcp; ++copywc)
 	    if (*copywc == decimalwc)
diff --git a/benchtests/bench-memcmp.c b/benchtests/bench-memcmp.c
index 053bb50..3ac4219 100644
--- a/benchtests/bench-memcmp.c
+++ b/benchtests/bench-memcmp.c
@@ -41,7 +41,7 @@ simple_wmemcmp (const wchar_t *s1, const wchar_t *s2, size_t n)
   int ret = 0;
   /* Warning!
 	wmemcmp has to use SIGNED comparison for elements.
-	memcmp has to use UNSIGNED comparison for elemnts.
+	memcmp has to use UNSIGNED comparison for elements.
   */
   while (n-- && (ret = *s1 < *s2 ? -1 : *s1 == *s2 ? 0 : 1) == 0) {s1++; s2++;}
   return ret;
diff --git a/string/test-memcmp.c b/string/test-memcmp.c
index 0420cd0..890d97fe 100644
--- a/string/test-memcmp.c
+++ b/string/test-memcmp.c
@@ -43,7 +43,7 @@ simple_wmemcmp (const wchar_t *s1, const wchar_t *s2, size_t n)
   int ret = 0;
   /* Warning!
 	wmemcmp has to use SIGNED comparison for elements.
-	memcmp has to use UNSIGNED comparison for elemnts.
+	memcmp has to use UNSIGNED comparison for elements.
   */
   while (n-- && (ret = *s1 < *s2 ? -1 : *s1 == *s2 ? 0 : 1) == 0) {s1++; s2++;}
   return ret;
diff --git a/sysdeps/i386/i686/multiarch/memcmp-sse4.S b/sysdeps/i386/i686/multiarch/memcmp-sse4.S
index 14226f5..fabee30 100644
--- a/sysdeps/i386/i686/multiarch/memcmp-sse4.S
+++ b/sysdeps/i386/i686/multiarch/memcmp-sse4.S
@@ -73,7 +73,7 @@
 
 /* Warning!
            wmemcmp has to use SIGNED comparison for elements.
-           memcmp has to use UNSIGNED comparison for elemnts.
+           memcmp has to use UNSIGNED comparison for elements.
 */
 
 	.section .text.sse4.2,"ax",@progbits
diff --git a/sysdeps/i386/i686/multiarch/memcmp-ssse3.S b/sysdeps/i386/i686/multiarch/memcmp-ssse3.S
index dccaff8..ce761cf 100644
--- a/sysdeps/i386/i686/multiarch/memcmp-ssse3.S
+++ b/sysdeps/i386/i686/multiarch/memcmp-ssse3.S
@@ -45,7 +45,7 @@
 
 /* Warning!
            wmemcmp has to use SIGNED comparison for elements.
-           memcmp has to use UNSIGNED comparison for elemnts.
+           memcmp has to use UNSIGNED comparison for elements.
 */
 
 	atom_text_section
diff --git a/sysdeps/x86_64/multiarch/memcmp-sse4.S b/sysdeps/x86_64/multiarch/memcmp-sse4.S
index 1ed4200..2f0db2e 100644
--- a/sysdeps/x86_64/multiarch/memcmp-sse4.S
+++ b/sysdeps/x86_64/multiarch/memcmp-sse4.S
@@ -40,7 +40,7 @@
 
 /* Warning!
            wmemcmp has to use SIGNED comparison for elements.
-           memcmp has to use UNSIGNED comparison for elemnts.
+           memcmp has to use UNSIGNED comparison for elements.
 */
 
 	.section .text.sse4.1,"ax",@progbits
diff --git a/sysdeps/x86_64/multiarch/memcmp-ssse3.S b/sysdeps/x86_64/multiarch/memcmp-ssse3.S
index e319df9..c001f1b 100644
--- a/sysdeps/x86_64/multiarch/memcmp-ssse3.S
+++ b/sysdeps/x86_64/multiarch/memcmp-ssse3.S
@@ -31,7 +31,7 @@
 
 /* Warning!
 	   wmemcmp has to use SIGNED comparison for elements.
-	   memcmp has to use UNSIGNED comparison for elemnts.
+	   memcmp has to use UNSIGNED comparison for elements.
 */
 
 	atom_text_section
diff --git a/elf/elf.h b/elf/elf.h
index f372271..0201c8c 100644
--- a/elf/elf.h
+++ b/elf/elf.h
@@ -211,7 +211,7 @@ typedef struct
 #define EM_68HC12	53		/* Motorola M68HC12 */
 #define EM_MMA		54		/* Fujitsu MMA Multimedia Accelerator*/
 #define EM_PCP		55		/* Siemens PCP */
-#define EM_NCPU		56		/* Sony nCPU embeeded RISC */
+#define EM_NCPU		56		/* Sony nCPU embedded RISC */
 #define EM_NDR1		57		/* Denso NDR1 microprocessor */
 #define EM_STARCORE	58		/* Motorola Start*Core processor */
 #define EM_ME16		59		/* Toyota ME16 processor */
diff --git a/nis/nss_compat/compat-grp.c b/nis/nss_compat/compat-grp.c
index 72a9a7a..177c5c6 100644
--- a/nis/nss_compat/compat-grp.c
+++ b/nis/nss_compat/compat-grp.c
@@ -254,7 +254,7 @@ getgrent_next_nss (struct group *result, ent_t *ent, char *buffer,
   return NSS_STATUS_SUCCESS;
 }
 
-/* This function handle the +group entrys in /etc/group */
+/* This function handle the +group entries in /etc/group */
 static enum nss_status
 getgrnam_plusgroup (const char *name, struct group *result, ent_t *ent,
 		    char *buffer, size_t buflen, int *errnop)
diff --git a/nis/nss_compat/compat-pwd.c b/nis/nss_compat/compat-pwd.c
index f934fb2..c3b929a 100644
--- a/nis/nss_compat/compat-pwd.c
+++ b/nis/nss_compat/compat-pwd.c
@@ -478,7 +478,7 @@ getpwent_next_nss (struct passwd *result, ent_t *ent, char *buffer,
   return NSS_STATUS_SUCCESS;
 }
 
-/* This function handle the +user entrys in /etc/passwd */
+/* This function handle the +user entries in /etc/passwd */
 static enum nss_status
 getpwnam_plususer (const char *name, struct passwd *result, ent_t *ent,
 		   char *buffer, size_t buflen, int *errnop)
diff --git a/nis/nss_compat/compat-spwd.c b/nis/nss_compat/compat-spwd.c
index e854b28..c89b7fd 100644
--- a/nis/nss_compat/compat-spwd.c
+++ b/nis/nss_compat/compat-spwd.c
@@ -430,7 +430,7 @@ getspent_next_nss (struct spwd *result, ent_t *ent,
 }
 
 
-/* This function handle the +user entrys in /etc/shadow */
+/* This function handle the +user entries in /etc/shadow */
 static enum nss_status
 getspnam_plususer (const char *name, struct spwd *result, ent_t *ent,
 		   char *buffer, size_t buflen, int *errnop)
diff --git a/csu/init-first.c b/csu/init-first.c
index 89d8d96..cd7ee25 100644
--- a/csu/init-first.c
+++ b/csu/init-first.c
@@ -33,7 +33,7 @@
    used in the process.  Safe assumption if initializer never runs.  */
 int __libc_multiple_libcs attribute_hidden = 1;
 
-/* Remember the command line argument and enviroment contents for
+/* Remember the command line argument and environment contents for
    later calls of initializers for dynamic libraries.  */
 int __libc_argc attribute_hidden;
 char **__libc_argv attribute_hidden;
diff --git a/posix/regcomp.c b/posix/regcomp.c
index 0ffc2fa..11ded43 100644
--- a/posix/regcomp.c
+++ b/posix/regcomp.c
@@ -2776,7 +2776,7 @@ parse_bracket_exp (re_string_t *regexp, re_dfa_t *dfa, re_token_t *token,
   const int32_t *symb_table;
   const unsigned char *extra;
 
-  /* Local function for parse_bracket_exp used in _LIBC environement.
+  /* Local function for parse_bracket_exp used in _LIBC environment.
      Seek the collating symbol entry correspondings to NAME.
      Return the index of the symbol in the SYMB_TABLE,
      or -1 if not found.  */
diff --git a/posix/regcomp.c b/posix/regcomp.c
index 0ffc2fa..11ded43 100644
--- a/posix/regcomp.c
+++ b/posix/regcomp.c
@@ -2868,11 +2868,11 @@ parse_bracket_exp (re_string_t *regexp, re_dfa_t *dfa, re_token_t *token,
       return UINT_MAX;
     }
 
-  /* Local function for parse_bracket_exp used in _LIBC environement.
+  /* Local function for parse_bracket_exp used in _LIBC environment.
      Build the range expression which starts from START_ELEM, and ends
      at END_ELEM.  The result are written to MBCSET and SBCSET.
      RANGE_ALLOC is the allocated size of mbcset->range_starts, and
-     mbcset->range_ends, is a pointer argument sinse we may
+     mbcset->range_ends, is a pointer argument since we may
      update it.  */
 
   auto inline reg_errcode_t
diff --git a/posix/regcomp.c b/posix/regcomp.c
index 0ffc2fa..11ded43 100644
--- a/posix/regcomp.c
+++ b/posix/regcomp.c
@@ -2949,11 +2949,11 @@ parse_bracket_exp (re_string_t *regexp, re_dfa_t *dfa, re_token_t *token,
       return REG_NOERROR;
     }
 
-  /* Local function for parse_bracket_exp used in _LIBC environement.
+  /* Local function for parse_bracket_exp used in _LIBC environment.
      Build the collating element which is represented by NAME.
      The result are written to MBCSET and SBCSET.
      COLL_SYM_ALLOC is the allocated size of mbcset->coll_sym, is a
-     pointer argument sinse we may update it.  */
+     pointer argument since we may update it.  */
 
   auto inline reg_errcode_t
   __attribute ((always_inline))
diff --git a/posix/fnmatch_loop.c b/posix/fnmatch_loop.c
index 078b982..8102d86 100644
--- a/posix/fnmatch_loop.c
+++ b/posix/fnmatch_loop.c
@@ -417,7 +417,7 @@ FCT (pattern, string, string_end, no_leading_period, flags, ends, alloca_used)
 			  {
 			    /* We found a table entry.  Now see whether the
 			       character we are currently at has the same
-			       equivalance class value.  */
+			       equivalence class value.  */
 			    int len = weights[idx & 0xffffff];
 			    int32_t idx2;
 			    const UCHAR *np = (const UCHAR *) n;
diff --git a/sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h b/sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
index 935a68c..e886c3b 100644
--- a/sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
+++ b/sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
@@ -115,7 +115,7 @@ typedef struct {
  * either NULL (if this processor does not support the VMX feature) or the
  * address of the first quadword within the allocated (vmx_reserve) area.
  *
- * The pointer (v_regs) of vector type (elf_vrreg_t) is essentually
+ * The pointer (v_regs) of vector type (elf_vrreg_t) is essentially
  * an array of 34 quadword entries.  The entries with
  * indexes 0-31 contain the corresponding vector registers.  The entry with
  * index 32 contains the vscr as the last word (offset 12) within the
diff --git a/sysdeps/mach/hurd/net/ethernet.h b/sysdeps/mach/hurd/net/ethernet.h
index 82d060f..3ef150c 100644
--- a/sysdeps/mach/hurd/net/ethernet.h
+++ b/sysdeps/mach/hurd/net/ethernet.h
@@ -55,7 +55,7 @@ struct ether_header
 #define	ETHER_MIN_LEN	(ETH_ZLEN + ETH_CRC_LEN) /* min packet length */
 #define	ETHER_MAX_LEN	(ETH_FRAME_LEN + ETH_CRC_LEN) /* max packet length */
 
-/* make sure ethenet length is valid */
+/* make sure Ethernet length is valid */
 #define	ETHER_IS_VALID_LEN(foo)	\
 	((foo) >= ETHER_MIN_LEN && (foo) <= ETHER_MAX_LEN)
 
diff --git a/sysdeps/unix/sysv/linux/net/ethernet.h b/sysdeps/unix/sysv/linux/net/ethernet.h
index bf36e84..e5b08b8 100644
--- a/sysdeps/unix/sysv/linux/net/ethernet.h
+++ b/sysdeps/unix/sysv/linux/net/ethernet.h
@@ -63,7 +63,7 @@ struct ether_header
 #define	ETHER_MIN_LEN	(ETH_ZLEN + ETHER_CRC_LEN) /* min packet length */
 #define	ETHER_MAX_LEN	(ETH_FRAME_LEN + ETHER_CRC_LEN) /* max packet length */
 
-/* make sure ethenet length is valid */
+/* make sure Ethernet length is valid */
 #define	ETHER_IS_VALID_LEN(foo)	\
 	((foo) >= ETHER_MIN_LEN && (foo) <= ETHER_MAX_LEN)
 
diff --git a/sysdeps/sparc/sparc32/sparcv9/rem.S b/sysdeps/sparc/sparc32/sparcv9/rem.S
index 5385bd8..7eb3780 100644
--- a/sysdeps/sparc/sparc32/sparcv9/rem.S
+++ b/sysdeps/sparc/sparc32/sparcv9/rem.S
@@ -1,7 +1,7 @@
 /*
  * Sparc v9 has divide.
  * As divx takes 68 cycles and sdivcc only 36,
- * we use sdivcc eventhough it is deprecated.
+ * we use sdivcc even though it is deprecated.
  */
 
 #include <sysdep.h>
diff --git a/sysdeps/sparc/sparc32/sparcv9/sdiv.S b/sysdeps/sparc/sparc32/sparcv9/sdiv.S
index d765514..e58b727 100644
--- a/sysdeps/sparc/sparc32/sparcv9/sdiv.S
+++ b/sysdeps/sparc/sparc32/sparcv9/sdiv.S
@@ -1,7 +1,7 @@
 /*
  * Sparc v9 has divide.
  * As divx takes 68 cycles and sdivcc only 36,
- * we use sdivcc eventhough it is deprecated.
+ * we use sdivcc even though it is deprecated.
  */
 
 #include <sysdep.h>
diff --git a/sysdeps/sparc/sparc32/sparcv9/udiv.S b/sysdeps/sparc/sparc32/sparcv9/udiv.S
index de79899..ce687f6 100644
--- a/sysdeps/sparc/sparc32/sparcv9/udiv.S
+++ b/sysdeps/sparc/sparc32/sparcv9/udiv.S
@@ -1,7 +1,7 @@
 /*
  * Sparc v9 has divide.
  * As divx takes 68 cycles and udiv only 37,
- * we use udiv eventhough it is deprecated.
+ * we use udiv even though it is deprecated.
  */
 
 #include <sysdep.h>
diff --git a/sysdeps/sparc/sparc32/sparcv9/urem.S b/sysdeps/sparc/sparc32/sparcv9/urem.S
index cab16c9..76fa49e 100644
--- a/sysdeps/sparc/sparc32/sparcv9/urem.S
+++ b/sysdeps/sparc/sparc32/sparcv9/urem.S
@@ -1,7 +1,7 @@
 /*
  * Sparc v9 has divide.
  * As divx takes 68 cycles and udiv only 37,
- * we use udiv eventhough it is deprecated.
+ * we use udiv even though it is deprecated.
  */
 
 #include <sysdep.h>
diff --git a/nscd/nscd_helper.c b/nscd/nscd_helper.c
index 8587e45..43f9264 100644
--- a/nscd/nscd_helper.c
+++ b/nscd/nscd_helper.c
@@ -468,7 +468,7 @@ __nscd_get_map_ref (request_type type, const char *name,
   (offsetof (struct hashentry, dellist) + sizeof (int32_t))
 
 
-/* Don't return const struct datahead *, as eventhough the record
+/* Don't return const struct datahead *, as even though the record
    is normally constant, it can change arbitrarily during nscd
    garbage collection.  */
 struct datahead *
diff --git a/ports/sysdeps/unix/sysv/linux/alpha/ioperm.c b/ports/sysdeps/unix/sysv/linux/alpha/ioperm.c
index 67e3438..c17520c 100644
--- a/ports/sysdeps/unix/sysv/linux/alpha/ioperm.c
+++ b/ports/sysdeps/unix/sysv/linux/alpha/ioperm.c
@@ -31,7 +31,7 @@
    sparse address space would work (e.g., the Low Cost Alpha chip has an
    I/O address space that's 512MB large!).  */
 
-/* Make sure the ldbu/stb asms below are not expaneded to macros.  */
+/* Make sure the ldbu/stb asms below are not expanded to macros.  */
 #ifndef __alpha_bwx__
 asm(".arch ev56");
 #endif
diff --git a/iconvdata/tst-table.sh b/iconvdata/tst-table.sh
index b0e667d..d562713 100755
--- a/iconvdata/tst-table.sh
+++ b/iconvdata/tst-table.sh
@@ -46,7 +46,7 @@ if test ${charset} = GB18030; then
   mv ${objpfx}tst-${charset}.truncated.table ${objpfx}tst-${charset}.charmap.table
 fi
 
-# Precomputed expexted differences between the charmap and iconv forward.
+# Precomputed expected differences between the charmap and iconv forward.
 precomposed=${charset}.precomposed
 
 # Precompute expected differences between the charmap and iconv backward.
diff --git a/libio/ioftell.c b/libio/ioftell.c
index f28a40f..631c4f1 100644
--- a/libio/ioftell.c
+++ b/libio/ioftell.c
@@ -27,7 +27,7 @@
 #include "libioP.h"
 #include <stdlib.h>
 #include <errno.h>
-/* ANSI explicily requires setting errno to a positive value on failure. */
+/* ANSI explicitly requires setting errno to a positive value on failure. */
 
 long int
 _IO_ftell (fp)
diff --git a/manual/message.texi b/manual/message.texi
index bb5b11b..d24b9bd 100644
--- a/manual/message.texi
+++ b/manual/message.texi
@@ -25,7 +25,7 @@ industry decisions and therefore not necessarily based on reasonable
 decisions.
 
 As mentioned above the message catalog handling provides easy
-extendibility by using external data files which contain the message
+extensibility by using external data files which contain the message
 translations.  I.e., these files contain for each of the messages used
 in the program a translation for the appropriate language.  So the tasks
 of the message handling functions are
diff --git a/ports/sysdeps/unix/sysv/linux/alpha/sys/io.h b/ports/sysdeps/unix/sysv/linux/alpha/sys/io.h
index 6793790..7159d9f 100644
--- a/ports/sysdeps/unix/sysv/linux/alpha/sys/io.h
+++ b/ports/sysdeps/unix/sysv/linux/alpha/sys/io.h
@@ -50,7 +50,7 @@ extern unsigned long bus_base_sparse (void) __THROW __attribute__ ((const));
 extern int _hae_shift (void) __THROW __attribute__ ((const));
 extern int hae_shift (void) __THROW __attribute__ ((const));
 
-/* Previous three are deprecated in favour of the following, which
+/* Previous three are deprecated in favor of the following, which
    knows about multiple PCI "hoses".  Provide the PCI bus and dfn
    numbers just as to pciconfig_read/write.  */
 
diff --git a/sunrpc/svc_auth.c b/sunrpc/svc_auth.c
index f33bda2..b453ac1 100644
--- a/sunrpc/svc_auth.c
+++ b/sunrpc/svc_auth.c
@@ -88,7 +88,7 @@ svcauthsw[] =
  * msg->u.cmb.verf.  The authentication system retains ownership of
  * rqst->rq_client_cred, the cooked credentials.
  *
- * There is an assumption that any flavour less than AUTH_NULL is
+ * There is an assumption that any flavor less than AUTH_NULL is
  * invalid.
  */
 enum auth_stat
diff --git a/ports/sysdeps/unix/sysv/linux/mips/bits/endian.h b/ports/sysdeps/unix/sysv/linux/mips/bits/endian.h
index 0a3d2fa..7ada531 100644
--- a/ports/sysdeps/unix/sysv/linux/mips/bits/endian.h
+++ b/ports/sysdeps/unix/sysv/linux/mips/bits/endian.h
@@ -1,5 +1,5 @@
 /* The MIPS architecture has selectable endianness.
-   Linux/MIPS exists in two both little and big endian flavours and we
+   Linux/MIPS exists in two both little and big endian flavors and we
    want to be able to share the installed headerfiles between both,
    so we define __BYTE_ORDER based on GCC's predefines.  */
 
diff --git a/sysdeps/generic/dl-librecon.h b/sysdeps/generic/dl-librecon.h
index ba73bc3..f02da6a 100644
--- a/sysdeps/generic/dl-librecon.h
+++ b/sysdeps/generic/dl-librecon.h
@@ -1,4 +1,4 @@
-/* Optional code to distinguish library flavours.
+/* Optional code to distinguish library flavors.
    Copyright (C) 1998-2013 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998.
diff --git a/sysdeps/unix/sysv/linux/dl-librecon.h b/sysdeps/unix/sysv/linux/dl-librecon.h
index af4caab..8e5fb32 100644
--- a/sysdeps/unix/sysv/linux/dl-librecon.h
+++ b/sysdeps/unix/sysv/linux/dl-librecon.h
@@ -1,4 +1,4 @@
-/* Optional code to distinguish library flavours.
+/* Optional code to distinguish library flavors.
    Copyright (C) 2001-2013 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Jakub Jelinek <jakub@redhat.com>, 2001.
diff --git a/sysdeps/unix/sysv/linux/i386/dl-librecon.h b/sysdeps/unix/sysv/linux/i386/dl-librecon.h
index fe26e26..b55c607 100644
--- a/sysdeps/unix/sysv/linux/i386/dl-librecon.h
+++ b/sysdeps/unix/sysv/linux/i386/dl-librecon.h
@@ -1,4 +1,4 @@
-/* Optional code to distinguish library flavours.
+/* Optional code to distinguish library flavors.
    Copyright (C) 1998-2013 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998.
diff --git a/nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c b/nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c
index f6c47ef..6def40a 100644
--- a/nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c
+++ b/nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c
@@ -30,7 +30,7 @@
 int
 __lll_trylock_elision (int *futex, short *adapt_count)
 {
-  /* Implement POSIX semantics by forbiding nesting
+  /* Implement POSIX semantics by forbidding nesting
      trylock.  Sorry.  After the abort the code is re-executed
      non transactional and if the lock was already locked
      return an error.  */
diff --git a/ports/sysdeps/mips/sys/asm.h b/ports/sysdeps/mips/sys/asm.h
index 293cf36..59bb50d 100644
--- a/ports/sysdeps/mips/sys/asm.h
+++ b/ports/sysdeps/mips/sys/asm.h
@@ -199,7 +199,7 @@ symbol		=	value
 		TEXT(msg)
 
 /*
- * Print formated string
+ * Print formatted string
  */
 #define PRINT(string)                                   \
 		.set	push;				\
diff --git a/login/programs/utmpdump.c b/login/programs/utmpdump.c
index 7271b57..3384744 100644
--- a/login/programs/utmpdump.c
+++ b/login/programs/utmpdump.c
@@ -29,7 +29,7 @@ print_entry (struct utmp *up)
   /* Mixed 32-/64-bit systems may have timeval structs of different sixe
      but need struct utmp to be the same size.  So in 64-bit up->ut_tv may
      not be a timeval but a struct of __int32_t's.  This would cause a compile
-     time warning and a formating error when 32-bit int is passed where
+     time warning and a formatting error when 32-bit int is passed where
      a 64-bit long is expected. So copy up->up_tv to a temporary timeval.
      This is 32-/64-bit agnostic and expands the timeval fields to the
      expected size as needed. */
diff --git a/string/strverscmp.c b/string/strverscmp.c
index 719b8ce..c1dd731 100644
--- a/string/strverscmp.c
+++ b/string/strverscmp.c
@@ -22,7 +22,7 @@
 #include <ctype.h>
 
 /* states: S_N: normal, S_I: comparing integral part, S_F: comparing
-           fractionnal parts, S_Z: idem but with leading Zeroes only */
+           fractional parts, S_Z: idem but with leading Zeroes only */
 #define  S_N    0x0
 #define  S_I    0x3
 #define  S_F    0x6
diff --git a/benchtests/bench-skeleton.c b/benchtests/bench-skeleton.c
index 4e3a507..1f5d1b5 100644
--- a/benchtests/bench-skeleton.c
+++ b/benchtests/bench-skeleton.c
@@ -28,12 +28,12 @@ volatile unsigned int dontoptimize = 0;
 void
 startup (void)
 {
-  /* This loop should cause CPU to switch to maximal freqency.
+  /* This loop should cause CPU to switch to maximal frequency.
      This makes subsequent measurement more accurate.  We need a side effect
      to prevent the loop being deleted by compiler.
      This should be enough to cause CPU to speed up and it is simpler than
      running loop for constant time. This is used when user does not have root
-     access to set a constant freqency.  */
+     access to set a constant frequency.  */
   for (int k = 0; k < 10000000; k++)
     dontoptimize += 23 * dontoptimize + 2;
 }
diff --git a/ports/sysdeps/arm/dl-machine.h b/ports/sysdeps/arm/dl-machine.h
index d251527..5c75cf1 100644
--- a/ports/sysdeps/arm/dl-machine.h
+++ b/ports/sysdeps/arm/dl-machine.h
@@ -57,7 +57,7 @@ elf_machine_load_address (void)
   Elf32_Addr got_addr = (Elf32_Addr) &__dl_start;
   Elf32_Addr pcrel_addr;
 #ifdef __thumb__
-  /* Clear the low bit of the funciton address.  */
+  /* Clear the low bit of the function address.  */
   got_addr &= ~(Elf32_Addr) 1;
 #endif
   asm ("adr %0, _dl_start" : "=r" (pcrel_addr));
diff --git a/resolv/gai_misc.c b/resolv/gai_misc.c
index 6b73aac..edc6a2e 100644
--- a/resolv/gai_misc.c
+++ b/resolv/gai_misc.c
@@ -77,11 +77,11 @@ static int idle_thread_count;
 
 
 /* These are the values used for optimization.  We will probably
-   create a funcion to set these values.  */
+   create a function to set these values.  */
 static struct gaiinit optim =
 {
   20,	/* int gai_threads;	Maximal number of threads.  */
-  64,	/* int gai_num;		Number of expected simultanious requests. */
+  64,	/* int gai_num;		Number of expected simultaneous requests. */
   0,
   0,
   0,
diff --git a/ports/sysdeps/ia64/fpu/libm_sincos_large.S b/ports/sysdeps/ia64/fpu/libm_sincos_large.S
index b09d369..aaaa229 100644
--- a/ports/sysdeps/ia64/fpu/libm_sincos_large.S
+++ b/ports/sysdeps/ia64/fpu/libm_sincos_large.S
@@ -1175,7 +1175,7 @@ SINCOS_CONTINUE:
 { .mfi
       nop.m 999
 //
-//     For big s: r = s - w: No futher reduction is necessary
+//     For big s: r = s - w: No further reduction is necessary
 //     For small s: w = N * P_3 (change sign) More reduction
 //
 (p6)   fcmp.lt.unc.s1 p8, p9 = FR_r, FR_Two_to_M3
diff --git a/ports/sysdeps/ia64/fpu/libm_sincosl.S b/ports/sysdeps/ia64/fpu/libm_sincosl.S
index 1d89ff4..60f484d 100644
--- a/ports/sysdeps/ia64/fpu/libm_sincosl.S
+++ b/ports/sysdeps/ia64/fpu/libm_sincosl.S
@@ -1112,7 +1112,7 @@ SINCOSL_COMMON2:
 };;
 
 //
-//     For big s: r = s - w: No futher reduction is necessary
+//     For big s: r = s - w: No further reduction is necessary
 //     For small s: w = N * P_3 (change sign) More reduction
 //
 { .mfi
diff --git a/ports/sysdeps/ia64/fpu/s_cosl.S b/ports/sysdeps/ia64/fpu/s_cosl.S
index 8d71e50..1b4a1e2 100644
--- a/ports/sysdeps/ia64/fpu/s_cosl.S
+++ b/ports/sysdeps/ia64/fpu/s_cosl.S
@@ -1083,7 +1083,7 @@ SINCOSL_COMMON:
 ;;
 
 //
-//     For big s: r = s - w: No futher reduction is necessary
+//     For big s: r = s - w: No further reduction is necessary
 //     For small s: w = N * P_3 (change sign) More reduction
 //
 { .mfi
diff --git a/sysdeps/powerpc/bits/setjmp.h b/sysdeps/powerpc/bits/setjmp.h
index cb41e87..3f0dd18 100644
--- a/sysdeps/powerpc/bits/setjmp.h
+++ b/sysdeps/powerpc/bits/setjmp.h
@@ -32,7 +32,7 @@
 
 /* The current powerpc 32-bit Altivec ABI specifies for SVR4 ABI and EABI
    the vrsave must be at byte 248 & v20 at byte 256.  So we must pad this
-   correctly on 32 bit.  It also insists that vecregs are only gauranteed
+   correctly on 32 bit.  It also insists that vecregs are only guaranteed
    4 byte alignment so we need to use vperm in the setjmp/longjmp routines.
    We have to version the code because members like  int __mask_was_saved
    in the jmp_buf will move as jmp_buf is now larger than 248 bytes.  We
diff --git a/elf/dynamic-link.h b/elf/dynamic-link.h
index d563cba..ad49d0d 100644
--- a/elf/dynamic-link.h
+++ b/elf/dynamic-link.h
@@ -105,7 +105,7 @@ elf_machine_lazy_rel (struct link_map *map,
 /* On some machines, notably SPARC, DT_REL* includes DT_JMPREL in its
    range.  Note that according to the ELF spec, this is completely legal!
 
-   We are guarenteed that we have one of three situations.  Either DT_JMPREL
+   We are guaranteed that we have one of three situations.  Either DT_JMPREL
    comes immediately after DT_REL*, or there is overlap and DT_JMPREL
    consumes precisely the very end of the DT_REL*, or DT_JMPREL and DT_REL*
    are completely separate and there is a gap between them.  */
diff --git a/sysdeps/unix/sysv/linux/sparc/sys/ucontext.h b/sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
index 1a3d4b5..cc5a309 100644
--- a/sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
+++ b/sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
@@ -171,7 +171,7 @@ typedef struct gwindows
 /*
  * struct fq defines the minimal format of a floating point instruction queue
  * entry. The size of entries in the floating point queue are implementation
- * dependent. The union FQu is guarenteed to be the first field in any ABI
+ * dependent. The union FQu is guaranteed to be the first field in any ABI
  * conformant system implementation. Any additional fields provided by an
  * implementation should not be used applications designed to be ABI conformant. */
 
diff --git a/ports/sysdeps/unix/sysv/linux/alpha/sys/procfs.h b/ports/sysdeps/unix/sysv/linux/alpha/sys/procfs.h
index 2fbaffd..4983043 100644
--- a/ports/sysdeps/unix/sysv/linux/alpha/sys/procfs.h
+++ b/ports/sysdeps/unix/sysv/linux/alpha/sys/procfs.h
@@ -115,7 +115,7 @@ typedef gregset_t prgregset_t;
 typedef fpregset_t prfpregset_t;
 
 /* We don't have any differences between processes and threads,
-   therefore habe only ine PID type.  */
+   therefore have only one PID type.  */
 typedef __pid_t lwpid_t;
 
 
diff --git a/ports/sysdeps/unix/sysv/linux/ia64/sys/procfs.h b/ports/sysdeps/unix/sysv/linux/ia64/sys/procfs.h
index 29d1c42..066c07a 100644
--- a/ports/sysdeps/unix/sysv/linux/ia64/sys/procfs.h
+++ b/ports/sysdeps/unix/sysv/linux/ia64/sys/procfs.h
@@ -117,7 +117,7 @@ typedef gregset_t prgregset_t;
 typedef fpregset_t prfpregset_t;
 
 /* We don't have any differences between processes and threads,
-   therefore habe only ine PID type.  */
+   therefore have only one PID type.  */
 typedef __pid_t lwpid_t;
 
 
diff --git a/ports/sysdeps/unix/sysv/linux/mips/sys/procfs.h b/ports/sysdeps/unix/sysv/linux/mips/sys/procfs.h
index d07c7e1..8110775 100644
--- a/ports/sysdeps/unix/sysv/linux/mips/sys/procfs.h
+++ b/ports/sysdeps/unix/sysv/linux/mips/sys/procfs.h
@@ -114,7 +114,7 @@ typedef elf_gregset_t prgregset_t;
 typedef elf_fpregset_t prfpregset_t;
 
 /* We don't have any differences between processes and threads,
-   therefore habe only ine PID type.  */
+   therefore have only one PID type.  */
 typedef __pid_t lwpid_t;
 
 
diff --git a/sysdeps/unix/sysv/linux/powerpc/sys/procfs.h b/sysdeps/unix/sysv/linux/powerpc/sys/procfs.h
index b046897..f6d21a5 100644
--- a/sysdeps/unix/sysv/linux/powerpc/sys/procfs.h
+++ b/sysdeps/unix/sysv/linux/powerpc/sys/procfs.h
@@ -127,7 +127,7 @@ typedef elf_gregset_t prgregset_t;
 typedef elf_fpregset_t prfpregset_t;
 
 /* We don't have any differences between processes and threads,
-   therefore habe only ine PID type.  */
+   therefore have only one PID type.  */
 typedef __pid_t lwpid_t;
 
 
diff --git a/sysdeps/unix/sysv/linux/sh/sys/procfs.h b/sysdeps/unix/sysv/linux/sh/sys/procfs.h
index b31dba9..3c6102a 100644
--- a/sysdeps/unix/sysv/linux/sh/sys/procfs.h
+++ b/sysdeps/unix/sysv/linux/sh/sys/procfs.h
@@ -99,7 +99,7 @@ typedef elf_gregset_t prgregset_t;
 typedef elf_fpregset_t prfpregset_t;
 
 /* We don't have any differences between processes and threads,
-   therefore habe only ine PID type.  */
+   therefore have only one PID type.  */
 typedef __pid_t lwpid_t;
 
 
diff --git a/sysdeps/unix/sysv/linux/sys/procfs.h b/sysdeps/unix/sysv/linux/sys/procfs.h
index 61eac45..82c2425 100644
--- a/sysdeps/unix/sysv/linux/sys/procfs.h
+++ b/sysdeps/unix/sysv/linux/sys/procfs.h
@@ -102,7 +102,7 @@ typedef gregset_t prgregset_t;
 typedef fpregset_t prfpregset_t;
 
 /* We don't have any differences between processes and threads,
-   therefore habe only ine PID type.  */
+   therefore have only one PID type.  */
 typedef __pid_t lwpid_t;
 
 
diff --git a/locale/programs/config.h b/locale/programs/config.h
index d3178a4..b31026b 100644
--- a/locale/programs/config.h
+++ b/locale/programs/config.h
@@ -28,7 +28,7 @@
 
 #define DEFAULT_CHARMAP "ANSI_X3.4-1968" /* ASCII */
 
-/* This must be one higer than the last used LC_xxx category value.  */
+/* This must be one higher than the last used LC_xxx category value.  */
 #define __LC_LAST	13
 
 #include_next <config.h>
diff --git a/malloc/memusage.c b/malloc/memusage.c
index e32f6ba..ddd9d96 100644
--- a/malloc/memusage.c
+++ b/malloc/memusage.c
@@ -874,7 +874,7 @@ dest (void)
 	     failed[idx_munmap] ? "\e[01;41m" : "",
 	     (unsigned long int) failed[idx_munmap]);
 
-  /* Write out a histoogram of the sizes of the allocations.  */
+  /* Write out a histogram of the sizes of the allocations.  */
   fprintf (stderr, "\e[01;32mHistogram for block sizes:\e[0;0m\n");
 
   /* Determine the maximum of all calls for each size range.  */
diff --git a/elf/ldconfig.c b/elf/ldconfig.c
index c7b9eb9..6713f70 100644
--- a/elf/ldconfig.c
+++ b/elf/ldconfig.c
@@ -1232,7 +1232,7 @@ parse_conf_include (const char *config_file, unsigned int lineno,
   free (copy);
 }
 
-/* Honour LD_HWCAP_MASK.  */
+/* Honor LD_HWCAP_MASK.  */
 static void
 set_hwcap (void)
 {
diff --git a/soft-fp/testit.c b/soft-fp/testit.c
index 1aaf8b4..d4ce27f 100644
--- a/soft-fp/testit.c
+++ b/soft-fp/testit.c
@@ -297,7 +297,7 @@ void test_double_arith(double (*tf)(double, double),
 #ifdef __i386__
     /* Don't worry.  Even this does not make it error free
        on ia32.  If the result is denormal,  it will not
-       honour the double precision and generate bad results
+       honor the double precision and generate bad results
        anyway.  On the other side,  who wants to use ia32
        for IEEE math?  I don't.  */
     _FPU_GETCW(fcw0);
diff --git a/sysdeps/generic/ldsodefs.h b/sysdeps/generic/ldsodefs.h
index e7b0516..a7312a2 100644
--- a/sysdeps/generic/ldsodefs.h
+++ b/sysdeps/generic/ldsodefs.h
@@ -498,7 +498,7 @@ struct rtld_global_ro
   /* Mask for hardware capabilities that are available.  */
   EXTERN uint64_t _dl_hwcap;
 
-  /* Mask for important hardware capabilities we honour. */
+  /* Mask for important hardware capabilities we honor. */
   EXTERN uint64_t _dl_hwcap_mask;
 
   /* Pointer to the auxv list supplied to the program at startup.  */
diff --git a/sysdeps/x86_64/multiarch/strstr.c b/sysdeps/x86_64/multiarch/strstr.c
index cd63b68..34aa1b5 100644
--- a/sysdeps/x86_64/multiarch/strstr.c
+++ b/sysdeps/x86_64/multiarch/strstr.c
@@ -149,7 +149,7 @@ KMP16Bovrlap (__m128i s2)
   else if (!k1)
     {
       /* There are al least two distinct chars in s2.  If byte 0 and 1 are
-	 idential and the distinct value lies farther down, we can deduce
+	 identical and the distinct value lies farther down, we can deduce
 	 the next byte offset to restart full compare is least no earlier
 	 than byte 3.  */
       return 3;
diff --git a/ports/sysdeps/unix/sysv/linux/alpha/ioperm.c b/ports/sysdeps/unix/sysv/linux/alpha/ioperm.c
index 67e3438..c17520c 100644
--- a/ports/sysdeps/unix/sysv/linux/alpha/ioperm.c
+++ b/ports/sysdeps/unix/sysv/linux/alpha/ioperm.c
@@ -96,7 +96,7 @@ asm(".arch ev56");
 #define TSUNAMI_DENSE_MEM	(0x80000000000UL)
 
 /* Polaris has SPARSE space, but we prefer to use only DENSE
-   because of some idiosyncracies in actually using SPARSE.  */
+   because of some idiosyncrasies in actually using SPARSE.  */
 #define POLARIS_IO_BASE		(0xf9fc000000UL)
 #define POLARIS_DENSE_MEM	(0xf900000000UL)
 
diff --git a/sysdeps/i386/i386-mcount.S b/sysdeps/i386/i386-mcount.S
index 5651368..a1b46dd 100644
--- a/sysdeps/i386/i386-mcount.S
+++ b/sysdeps/i386/i386-mcount.S
@@ -1,4 +1,4 @@
-/* i386-specific implemetation of profiling support.
+/* i386-specific implementation of profiling support.
    Copyright (C) 1997-2013 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
diff --git a/sysdeps/s390/s390-32/s390-mcount.S b/sysdeps/s390/s390-32/s390-mcount.S
index ba93260..6162519 100644
--- a/sysdeps/s390/s390-32/s390-mcount.S
+++ b/sysdeps/s390/s390-32/s390-mcount.S
@@ -1,4 +1,4 @@
-/* S/390-specific implemetation of profiling support.
+/* S/390-specific implementation of profiling support.
    Copyright (C) 2000-2013 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Martin Schwidefsky (schwidefsky@de.ibm.com)
diff --git a/sysdeps/s390/s390-64/s390x-mcount.S b/sysdeps/s390/s390-64/s390x-mcount.S
index 66ec9e6..aa3a849 100644
--- a/sysdeps/s390/s390-64/s390x-mcount.S
+++ b/sysdeps/s390/s390-64/s390x-mcount.S
@@ -1,4 +1,4 @@
-/* 64 bit S/390-specific implemetation of profiling support.
+/* 64 bit S/390-specific implementation of profiling support.
    Copyright (C) 2001-2013 Free Software Foundation, Inc.
    Contributed by Martin Schwidefsky (schwidefsky@de.ibm.com)
    This file is part of the GNU C Library.
diff --git a/sysdeps/sparc/sparc-mcount.S b/sysdeps/sparc/sparc-mcount.S
index da71556..542fba4 100644
--- a/sysdeps/sparc/sparc-mcount.S
+++ b/sysdeps/sparc/sparc-mcount.S
@@ -1,4 +1,4 @@
-/* sparc-specific implemetation of profiling support.
+/* sparc-specific implementation of profiling support.
    Copyright (C) 2008-2013 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by David S. Miller <davem@davemloft.net>, 2008.
diff --git a/ports/sysdeps/ia64/fpu/libm_support.h b/ports/sysdeps/ia64/fpu/libm_support.h
index dc9c0a2..0cb599c 100644
--- a/ports/sysdeps/ia64/fpu/libm_support.h
+++ b/ports/sysdeps/ia64/fpu/libm_support.h
@@ -89,7 +89,7 @@
 #endif
 
 #if defined(__ICC) || defined(__ICL) || defined(__ECC) || defined(__ECL)
-# pragma warning( disable : 1682 )	/* #1682: ixplicit conversion of a 64-bit integral type to a smaller integral type (potential portability problem) */
+# pragma warning( disable : 1682 )	/* #1682: implicit conversion of a 64-bit integral type to a smaller integral type (potential portability problem) */
 # pragma warning( disable : 1683 )	/* #1683: explicit conversion of a 64-bit integral type to a smaller integral type (potential portability problem) */
 #endif
 #endif
diff --git a/math/e_exp10.c b/math/e_exp10.c
index e980531..50cffb4 100644
--- a/math/e_exp10.c
+++ b/math/e_exp10.c
@@ -26,7 +26,7 @@ __ieee754_exp10 (double arg)
   if (__finite (arg) && arg < DBL_MIN_10_EXP - DBL_DIG - 10)
     return DBL_MIN * DBL_MIN;
   else
-    /* This is a very stupid and inprecise implementation.  It'll get
+    /* This is a very stupid and imprecise implementation.  It'll get
        replaced sometime (soon?).  */
     return __ieee754_exp (M_LN10 * arg);
 }
diff --git a/math/e_exp10l.c b/math/e_exp10l.c
index 31c3ea8..9d66619 100644
--- a/math/e_exp10l.c
+++ b/math/e_exp10l.c
@@ -26,7 +26,7 @@ __ieee754_exp10l (long double arg)
   if (__finitel (arg) && arg < LDBL_MIN_10_EXP - LDBL_DIG - 10)
     return LDBL_MIN * LDBL_MIN;
   else
-    /* This is a very stupid and inprecise implementation.  It'll get
+    /* This is a very stupid and imprecise implementation.  It'll get
        replaced sometime (soon?).  */
     return __ieee754_expl (M_LN10l * arg);
 }
diff --git a/ports/sysdeps/ia64/fpu/e_acoshl.S b/ports/sysdeps/ia64/fpu/e_acoshl.S
index 1ce292c..86bc2eb 100644
--- a/ports/sysdeps/ia64/fpu/e_acoshl.S
+++ b/ports/sysdeps/ia64/fpu/e_acoshl.S
@@ -41,7 +41,7 @@
 //
 // History:
 // 10/01/01 Initial version
-// 10/10/01 Performance inproved
+// 10/10/01 Performance improved
 // 12/11/01 Changed huges_logp to not be global
 // 01/02/02 Corrected .restore syntax
 // 05/20/02 Cleaned up namespace and sf0 syntax
diff --git a/ports/sysdeps/alpha/soft-fp/ots_cvtqux.c b/ports/sysdeps/alpha/soft-fp/ots_cvtqux.c
index 84edefd..e1e2472 100644
--- a/ports/sysdeps/alpha/soft-fp/ots_cvtqux.c
+++ b/ports/sysdeps/alpha/soft-fp/ots_cvtqux.c
@@ -21,7 +21,7 @@
 #include "local-soft-fp.h"
 
 /* Should never actually be used, since we've more bits of precision
-   than the incomming long, but needed for linkage.  */
+   than the incoming long, but needed for linkage.  */
 #undef FP_ROUNDMODE
 #define FP_ROUNDMODE  FP_RND_ZERO
 
diff --git a/ports/sysdeps/alpha/soft-fp/ots_cvtqx.c b/ports/sysdeps/alpha/soft-fp/ots_cvtqx.c
index 0db1cac..426988d 100644
--- a/ports/sysdeps/alpha/soft-fp/ots_cvtqx.c
+++ b/ports/sysdeps/alpha/soft-fp/ots_cvtqx.c
@@ -21,7 +21,7 @@
 #include "local-soft-fp.h"
 
 /* Should never actually be used, since we've more bits of precision
-   than the incomming long, but needed for linkage.  */
+   than the incoming long, but needed for linkage.  */
 #undef FP_ROUNDMODE
 #define FP_ROUNDMODE  FP_RND_ZERO
 
diff --git a/ports/sysdeps/unix/sysv/linux/alpha/getcontext.S b/ports/sysdeps/unix/sysv/linux/alpha/getcontext.S
index 9dc944a..a8d146a 100644
--- a/ports/sysdeps/unix/sysv/linux/alpha/getcontext.S
+++ b/ports/sysdeps/unix/sysv/linux/alpha/getcontext.S
@@ -44,7 +44,7 @@ weak_alias (__getcontext, getcontext)
 
 
 /* An internal routine used by getcontext and setcontext.
-   The incomming return address register is $0.  */
+   The incoming return address register is $0.  */
 
 	.align	4
 	.globl	__getcontext_x
diff --git a/iconvdata/gbgbk.c b/iconvdata/gbgbk.c
index 8568e3a..ef13a90 100644
--- a/iconvdata/gbgbk.c
+++ b/iconvdata/gbgbk.c
@@ -62,7 +62,7 @@
 	     0xA8BB to 0xA8C0						      \
 									      \
 	   All these characters are not defined in GB2312.  Besides this      \
-	   there is an incomatibility in the mapping.  The Unicode tables     \
+	   there is an incompatibility in the mapping.  The Unicode tables     \
 	   say that 0xA1A4 maps in GB2312 to U30FB while in GBK it maps to    \
 	   U00B7.  Similarly, 0xA1AA maps in GB2312 to U2015 while in GBK     \
 	   it maps to U2014.  Since we are free to do whatever we want if     \
diff --git a/localedata/tests-mbwc/dat_strcoll.c b/localedata/tests-mbwc/dat_strcoll.c
index 168425c..c735cfb 100644
--- a/localedata/tests-mbwc/dat_strcoll.c
+++ b/localedata/tests-mbwc/dat_strcoll.c
@@ -13,7 +13,7 @@
    expected value = 0.	If a return value is expected to be a
    positive/negative value, set ret_flg=0, and set the expected value
    = +1/-1.
-   There is inconsistensy between tst_strcoll() and tst_wcscoll()(it
+   There is inconsistency between tst_strcoll() and tst_wcscoll()(it
    has cmp_flg) for input data. I'll fix it.
 
    Assuming en_US to be en_US.ascii. (maybe, should be iso8859-1).
diff --git a/elf/cache.c b/elf/cache.c
index 9bf261c..bc5459d 100644
--- a/elf/cache.c
+++ b/elf/cache.c
@@ -543,7 +543,7 @@ struct aux_cache_file_entry
 {
   struct aux_cache_entry_id id;	/* Unique id of entry.  */
   int32_t flags;		/* This is 1 for an ELF library.  */
-  uint32_t soname;		/* String table indice.  */
+  uint32_t soname;		/* String table index.  */
   uint32_t osversion;		/* Required OS version.	 */
   int32_t pad;
 };
diff --git a/iconvdata/jis0208.c b/iconvdata/jis0208.c
index ea23667..8d1a23e 100644
--- a/iconvdata/jis0208.c
+++ b/iconvdata/jis0208.c
@@ -1867,7 +1867,7 @@ const char __jisx0208_from_ucs4_greek[0xc1][2] =
 /* The mapping of all the other UCS values is quite difficult since they
    are distributed from 0x2010 upto to 0xffe5.  There are many gaps with
    unpredictable place and size.  Therefore we use a table which maps
-   ranges to idexes in a table.  This table ca be generated with:
+   ranges to indexes in a table.  This table ca be generated with:
 
    egrep '^0x' < .../eastasia/jis/jis0208.txt | awk '{ print $3, $2}' |
    egrep '^0x[^01]' | sort -u | perl tab.pl
diff --git a/nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h b/nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h
index 2a0da86..fb02dec 100644
--- a/nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h
+++ b/nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h
@@ -89,7 +89,7 @@
 #define _POSIX_THREAD_PRIO_PROTECT	200809L
 
 #ifdef __USE_XOPEN2K8
-/* We support priority inheritence for robust mutexes.  */
+/* We support priority inheritance for robust mutexes.  */
 # define _POSIX_THREAD_ROBUST_PRIO_INHERIT	200809L
 
 /* We do not support priority protection for robust mutexes.  */
diff --git a/nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h b/nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h
index 2a0da86..fb02dec 100644
--- a/nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h
+++ b/nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h
@@ -81,7 +81,7 @@
 /* We support user-defined stacks.  */
 #define _POSIX_THREAD_ATTR_STACKADDR	200809L
 
-/* We support priority inheritence.  */
+/* We support priority inheritance.  */
 #define _POSIX_THREAD_PRIO_INHERIT	200809L
 
 /* We support priority protection, though only for non-robust
diff --git a/resolv/resolv.h b/resolv/resolv.h
index 53c3bba..33f73cc 100644
--- a/resolv/resolv.h
+++ b/resolv/resolv.h
@@ -166,7 +166,7 @@ typedef struct __res_state *res_state;
 /*
  * Resolver configuration file.
  * Normally not present, but may contain the address of the
- * inital name server(s) to query and the domain search list.
+ * initial name server(s) to query and the domain search list.
  */
 
 #ifndef _PATH_RESCONF
diff --git a/ports/sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c b/ports/sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c
index 2fb9b85..98ff396 100644
--- a/ports/sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c
+++ b/ports/sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c
@@ -78,7 +78,7 @@ __pthread_once (pthread_once_t *once_control, void (*init_routine) (void))
 
   pthread_cleanup_pop (0);
 
-  /* Say that the initialisation is done.  */
+  /* Say that the initialization is done.  */
   *once_control = __fork_generation | 2;
 
   /* Wake up all other threads.  */
diff --git a/ports/sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c b/ports/sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c
index 0c897ab..6f0bdd3 100644
--- a/ports/sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c
+++ b/ports/sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c
@@ -77,7 +77,7 @@ __pthread_once (pthread_once_t *once_control, void (*init_routine) (void))
 
   pthread_cleanup_pop (0);
 
-  /* Say that the initialisation is done.  */
+  /* Say that the initialization is done.  */
   *once_control = __fork_generation | 2;
 
   /* Wake up all other threads.  */
diff --git a/ports/sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c b/ports/sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c
index 8a1f307..4ee0c7a 100644
--- a/ports/sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c
+++ b/ports/sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c
@@ -78,7 +78,7 @@ __pthread_once (pthread_once_t *once_control, void (*init_routine) (void))
 
   pthread_cleanup_pop (0);
 
-  /* Say that the initialisation is done.  */
+  /* Say that the initialization is done.  */
   *once_control = __fork_generation | 2;
 
   /* Wake up all other threads.  */
diff --git a/ports/sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c b/ports/sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c
index b1f2f4d..700dadd 100644
--- a/ports/sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c
+++ b/ports/sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c
@@ -77,7 +77,7 @@ __pthread_once (pthread_once_t *once_control, void (*init_routine) (void))
 
   pthread_cleanup_pop (0);
 
-  /* Say that the initialisation is done.  */
+  /* Say that the initialization is done.  */
   *once_control = __fork_generation | 2;
 
   /* Wake up all other threads.  */
diff --git a/sysdeps/powerpc/powerpc64/dl-machine.h b/sysdeps/powerpc/powerpc64/dl-machine.h
index 059fdaf..5dd51f6 100644
--- a/sysdeps/powerpc/powerpc64/dl-machine.h
+++ b/sysdeps/powerpc/powerpc64/dl-machine.h
@@ -172,7 +172,7 @@ DL_STARTING_UP_DEF							\
 "	.popsection\n"							\
 "	.type	" BODY_PREFIX "_dl_start_user,@function\n"		\
 "	" ENTRY_2(_dl_start_user) "\n"					\
-/* Now, we do our main work of calling initialisation procedures.	\
+/* Now, we do our main work of calling initialization procedures.	\
    The ELF ABI doesn't say anything about parameters for these,		\
    so we just pass argc, argv, and the environment.			\
    Changing these is strongly discouraged (not least because argc is	\
diff --git a/sysdeps/powerpc/powerpc32/dl-start.S b/sysdeps/powerpc/powerpc32/dl-start.S
index fa9c9bc..e33813b 100644
--- a/sysdeps/powerpc/powerpc32/dl-start.S
+++ b/sysdeps/powerpc/powerpc32/dl-start.S
@@ -39,7 +39,7 @@ ENTRY(_start)
 
 	/* FALLTHRU */
 _dl_start_user:
-/* Now, we do our main work of calling initialisation procedures.
+/* Now, we do our main work of calling initialization procedures.
    The ELF ABI doesn't say anything about parameters for these,
    so we just pass argc, argv, and the environment.
    Changing these is strongly discouraged (not least because argc is
diff --git a/csu/libc-start.c b/csu/libc-start.c
index e5da3ef..776acc6 100644
--- a/csu/libc-start.c
+++ b/csu/libc-start.c
@@ -174,7 +174,7 @@ LIBC_START_MAIN (int (*main) (int, char **, char ** MAIN_AUXVEC_DECL),
 # ifdef DL_SYSDEP_OSCHECK
   if (!__libc_multiple_libcs)
     {
-      /* This needs to run to initiliaze _dl_osversion before TLS
+      /* This needs to run to initialize _dl_osversion before TLS
 	 setup might check it.  */
       DL_SYSDEP_OSCHECK (__libc_fatal);
     }
diff --git a/ports/sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h b/ports/sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
index 7e52c68..ffa75c6 100644
--- a/ports/sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
+++ b/ports/sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
@@ -73,7 +73,7 @@ typedef union
     /* KIND must stay at this position in the structure to maintain
        binary compatibility.  */
     int __kind;
-    /* The old 4-word 16-byte aligned lock. This is initalized
+    /* The old 4-word 16-byte aligned lock. This is initialized
        to all ones by the Linuxthreads PTHREAD_MUTEX_INITIALIZER.
        Unused in NPTL.  */
     int __compat_padding[4];
diff --git a/sysdeps/powerpc/powerpc32/dl-machine.c b/sysdeps/powerpc/powerpc32/dl-machine.c
index 188f72c..3b124c2 100644
--- a/sysdeps/powerpc/powerpc32/dl-machine.c
+++ b/sysdeps/powerpc/powerpc32/dl-machine.c
@@ -25,7 +25,7 @@
 #include <dl-machine.h>
 #include <_itoa.h>
 
-/* The value __cache_line_size is defined in dl-sysdep.c and is initialised
+/* The value __cache_line_size is defined in dl-sysdep.c and is initialized
    by _dl_sysdep_start via DL_PLATFORM_INIT.  */
 extern int __cache_line_size attribute_hidden;
 
diff --git a/posix/regex.h b/posix/regex.h
index 74c73bc..146dc1d 100644
--- a/posix/regex.h
+++ b/posix/regex.h
@@ -467,7 +467,7 @@ extern reg_syntax_t re_set_syntax (reg_syntax_t __syntax);
    BUFFER.  Return NULL if successful, and an error string if not.
 
    To free the allocated storage, you must call `regfree' on BUFFER.
-   Note that the translate table must either have been initialised by
+   Note that the translate table must either have been initialized by
    `regcomp', with a malloc'ed value, or set to NULL before calling
    `regfree'.  */
 extern const char *re_compile_pattern (const char *__pattern, size_t __length,
diff --git a/grp/initgroups.c b/grp/initgroups.c
index 932d8fb..eb29e91 100644
--- a/grp/initgroups.c
+++ b/grp/initgroups.c
@@ -205,7 +205,7 @@ initgroups (const char *user, gid_t group)
   long int limit = __sysconf (_SC_NGROUPS_MAX);
 
   if (limit > 0)
-    /* We limit the size of the intially allocated array.  */
+    /* We limit the size of the initially allocated array.  */
     size = MIN (limit, 64);
   else
     /* No fixed limit on groups.  Pick a starting buffer size.  */
diff --git a/nscd/initgrcache.c b/nscd/initgrcache.c
index 462780e..f8827f6 100644
--- a/nscd/initgrcache.c
+++ b/nscd/initgrcache.c
@@ -99,7 +99,7 @@ addinitgroupsX (struct database_dyn *db, int fd, request_header *req,
 
   long int size;
   if (limit > 0)
-    /* We limit the size of the intially allocated array.  */
+    /* We limit the size of the initially allocated array.  */
     size = MIN (limit, 64);
   else
     /* No fixed limit on groups.  Pick a starting buffer size.  */
diff --git a/sunrpc/rpc_cout.c b/sunrpc/rpc_cout.c
index db7b571..5300c1b 100644
--- a/sunrpc/rpc_cout.c
+++ b/sunrpc/rpc_cout.c
@@ -627,7 +627,7 @@ emit_struct (definition * def)
   size = 0;
   can_inline = 0;
   /*
-   * Make a first pass and see if inling is possible.
+   * Make a first pass and see if inlining is possible.
    */
   for (dl = def->def.st.decls; dl != NULL; dl = dl->next)
     if ((dl->decl.prefix == NULL) &&
diff --git a/time/strptime_l.c b/time/strptime_l.c
index 00fc1ef..efcb124 100644
--- a/time/strptime_l.c
+++ b/time/strptime_l.c
@@ -312,7 +312,7 @@ __strptime_internal (rp, fmt, tmp, statep LOCALE_PARAM)
 	}
 
       /* Any character but `%' must be matched by the same character
-	 in the iput string.  */
+	 in the input string.  */
       if (*fmt != '%')
 	{
 	  match_char (*fmt++, *rp++);
diff --git a/ports/sysdeps/ia64/fpu/e_logf.S b/ports/sysdeps/ia64/fpu/e_logf.S
index 3d11a29..1debe47 100644
--- a/ports/sysdeps/ia64/fpu/e_logf.S
+++ b/ports/sysdeps/ia64/fpu/e_logf.S
@@ -130,7 +130,7 @@
 //   InvX = frcpa(x)
 //   r = InvX*x - 1
 //   P(r) = r*((1 - A2*r) + r^2*(A3 - A4*r)) = r*P2(r),
-//   A4,A3,A2 are created with setf inctruction.
+//   A4,A3,A2 are created with setf instruction.
 //   We use Taylor series and so A4 = 1/4, A3 = 1/3,
 //   A2 = 1/2 rounded to double.
 //
diff --git a/sysdeps/i386/i686/hp-timing.h b/sysdeps/i386/i686/hp-timing.h
index 920d441..530d472 100644
--- a/sysdeps/i386/i686/hp-timing.h
+++ b/sysdeps/i386/i686/hp-timing.h
@@ -89,7 +89,7 @@ typedef unsigned long long int hp_timing_t;
 /* That's quite simple.  Use the `rdtsc' instruction.  Note that the value
    might not be 100% accurate since there might be some more instructions
    running in this moment.  This could be changed by using a barrier like
-   'cpuid' right before the `rdtsc' instruciton.  But we are not interested
+   'cpuid' right before the `rdtsc' instruction.  But we are not interested
    in accurate clock cycles here so we don't do this.  */
 #define HP_TIMING_NOW(Var)	__asm__ __volatile__ ("rdtsc" : "=A" (Var))
 
diff --git a/ports/sysdeps/ia64/fpu/libm_reduce.S b/ports/sysdeps/ia64/fpu/libm_reduce.S
index 8bdf91d..e5ceffe 100644
--- a/ports/sysdeps/ia64/fpu/libm_reduce.S
+++ b/ports/sysdeps/ia64/fpu/libm_reduce.S
@@ -134,7 +134,7 @@
 // ==============
 //
 // This describes the algorithm in the most natural way using
-// unsigned interger multiplication. The implementation section
+// unsigned integer multiplication. The implementation section
 // describes how the integer arithmetic is simulated.
 //
 // STEP 0. Initialization
diff --git a/ports/sysdeps/ia64/fpu/e_pow.S b/ports/sysdeps/ia64/fpu/e_pow.S
index 89449c7..5b2e9a7 100644
--- a/ports/sysdeps/ia64/fpu/e_pow.S
+++ b/ports/sysdeps/ia64/fpu/e_pow.S
@@ -992,7 +992,7 @@ POW_COMMON:
 }
 ;;
 
-// Note POW_Xm1 and POW_r1 are used interchangably
+// Note POW_Xm1 and POW_r1 are used interchangeably
 { .mfi
           alloc         r32=ar.pfs,2,19,4,0
           fms.s1        POW_r           = POW_B, POW_NORM_X,f1
diff --git a/ports/sysdeps/ia64/fpu/e_powf.S b/ports/sysdeps/ia64/fpu/e_powf.S
index 5585f9d..9870d00 100644
--- a/ports/sysdeps/ia64/fpu/e_powf.S
+++ b/ports/sysdeps/ia64/fpu/e_powf.S
@@ -928,7 +928,7 @@ GLOBAL_LIBM_ENTRY(powf)
           fclass.m  p14,p0              = f8, 0x07
           nop.i 999
 }
-// Note POW_Xm1 and POW_r1 are used interchangably
+// Note POW_Xm1 and POW_r1 are used interchangeably
 { .mfb
           nop.m 999
 (p8)      fnma.s1        POW_Xm1        = POW_Xp1,f1,f0
diff --git a/resolv/res_init.c b/resolv/res_init.c
index 5e1a747..d650d26 100644
--- a/resolv/res_init.c
+++ b/resolv/res_init.c
@@ -120,7 +120,7 @@ unsigned long long int __res_initstamp attribute_hidden;
  * there will have precedence.  Otherwise, the server address is set to
  * INADDR_ANY and the default domain name comes from the gethostname().
  *
- * An interrim version of this code (BIND 4.9, pre-4.4BSD) used 127.0.0.1
+ * An interim version of this code (BIND 4.9, pre-4.4BSD) used 127.0.0.1
  * rather than INADDR_ANY ("0.0.0.0") as the default name server address
  * since it was noted that INADDR_ANY actually meant ``the first interface
  * you "ifconfig"'d at boot time'' and if this was a SLIP or PPP interface,
diff --git a/sysdeps/unix/sysv/linux/scsi/sg.h b/sysdeps/unix/sysv/linux/scsi/sg.h
index 68f57f2..f0fb7ee 100644
--- a/sysdeps/unix/sysv/linux/scsi/sg.h
+++ b/sysdeps/unix/sysv/linux/scsi/sg.h
@@ -119,7 +119,7 @@ struct sg_scsi_id {
 /* Used by SG_GET_REQUEST_TABLE ioctl().  */
 typedef struct sg_req_info {
     char req_state;     /* 0 -> not used, 1 -> written, 2 -> ready to read */
-    char orphan;        /* 0 -> normal request, 1 -> from interruped SG_IO */
+    char orphan;        /* 0 -> normal request, 1 -> from interrupted SG_IO */
     char sg_io_owned;   /* 0 -> complete with read(), 1 -> owned by SG_IO */
     char problem;       /* 0 -> no problem detected, 1 -> error to report */
     int pack_id;        /* pack_id associated with request */
diff --git a/sysdeps/x86_64/multiarch/strcasestr-nonascii.c b/sysdeps/x86_64/multiarch/strcasestr-nonascii.c
index 032a642..601e524 100644
--- a/sysdeps/x86_64/multiarch/strcasestr-nonascii.c
+++ b/sysdeps/x86_64/multiarch/strcasestr-nonascii.c
@@ -1,4 +1,4 @@
-/* strstr with SSE4.2 intrinsics
+/* strstr with SSE4.2 intrinsic
    Copyright (C) 2010-2013 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
diff --git a/sysdeps/x86_64/multiarch/strcspn-c.c b/sysdeps/x86_64/multiarch/strcspn-c.c
index 9c0dcf0..358d17c 100644
--- a/sysdeps/x86_64/multiarch/strcspn-c.c
+++ b/sysdeps/x86_64/multiarch/strcspn-c.c
@@ -1,4 +1,4 @@
-/* strcspn with SSE4.2 intrinsics
+/* strcspn with SSE4.2 intrinsic
    Copyright (C) 2009-2013 Free Software Foundation, Inc.
    Contributed by Intel Corporation.
    This file is part of the GNU C Library.
diff --git a/sysdeps/x86_64/multiarch/strspn-c.c b/sysdeps/x86_64/multiarch/strspn-c.c
index 8128cb9..827f372 100644
--- a/sysdeps/x86_64/multiarch/strspn-c.c
+++ b/sysdeps/x86_64/multiarch/strspn-c.c
@@ -1,4 +1,4 @@
-/* strspn with SSE4.2 intrinsics
+/* strspn with SSE4.2 intrinsic
    Copyright (C) 2009-2013 Free Software Foundation, Inc.
    Contributed by Intel Corporation.
    This file is part of the GNU C Library.
diff --git a/sysdeps/x86_64/multiarch/strstr.c b/sysdeps/x86_64/multiarch/strstr.c
index cd63b68..34aa1b5 100644
--- a/sysdeps/x86_64/multiarch/strstr.c
+++ b/sysdeps/x86_64/multiarch/strstr.c
@@ -1,4 +1,4 @@
-/* strstr with SSE4.2 intrinsics
+/* strstr with SSE4.2 intrinsic
    Copyright (C) 2009-2013 Free Software Foundation, Inc.
    Contributed by Intel Corporation.
    This file is part of the GNU C Library.
diff --git a/nptl/sysdeps/unix/sysv/linux/x86/hle.h b/nptl/sysdeps/unix/sysv/linux/x86/hle.h
index 4a7b9e3..9ca9270 100644
--- a/nptl/sysdeps/unix/sysv/linux/x86/hle.h
+++ b/nptl/sysdeps/unix/sysv/linux/x86/hle.h
@@ -1,5 +1,5 @@
-/* Shared RTM header.  Emulate TSX intrinsics for compilers and assemblers
-   that do not support the intrinsics and instructions yet.  */
+/* Shared RTM header.  Emulate TSX intrinsic for compilers and assemblers
+   that do not support the intrinsic and instructions yet.  */
 #ifndef _HLE_H
 #define _HLE_H 1
 
diff --git a/nptl/sysdeps/unix/sysv/linux/x86/hle.h b/nptl/sysdeps/unix/sysv/linux/x86/hle.h
index 4a7b9e3..9ca9270 100644
--- a/nptl/sysdeps/unix/sysv/linux/x86/hle.h
+++ b/nptl/sysdeps/unix/sysv/linux/x86/hle.h
@@ -25,7 +25,7 @@
 
 #endif
 
-/* Official RTM intrinsics interface matching gcc/icc, but works
+/* Official RTM intrinsic interface matching gcc/icc, but works
    on older gcc compatible compilers and binutils.
    We should somehow detect if the compiler supports it, because
    it may be able to generate slightly better code.  */
diff --git a/ports/sysdeps/ia64/fpu/w_tgamma.S b/ports/sysdeps/ia64/fpu/w_tgamma.S
index e4b39cc..1ed2ba7 100644
--- a/ports/sysdeps/ia64/fpu/w_tgamma.S
+++ b/ports/sysdeps/ia64/fpu/w_tgamma.S
@@ -1263,7 +1263,7 @@ GLOBAL_LIBM_ENTRY(tgamma)
       frcpa.s1      FR_Rcp0,p0 = f1,FR_GAMMA
       cmp.ltu       p13,p0 = GR_Sign_Exp,GR_ExpOf1
 };;
-// NR method: ineration #1
+// NR method: iteration #1
 { .mfi
 (p13) getf.exp      GR_Sign_Exp = FR_AbsX
       fnma.s1       FR_Rcp1 = FR_Rcp0,FR_GAMMA,f1 // t = 1 - r0*x
diff --git a/ports/sysdeps/ia64/fpu/w_tgamma.S b/ports/sysdeps/ia64/fpu/w_tgamma.S
index e4b39cc..1ed2ba7 100644
--- a/ports/sysdeps/ia64/fpu/w_tgamma.S
+++ b/ports/sysdeps/ia64/fpu/w_tgamma.S
@@ -1294,7 +1294,7 @@ GLOBAL_LIBM_ENTRY(tgamma)
       fma.s1        FR_Rcp1 = FR_Rcp0,FR_Rcp1,FR_Rcp0
       nop.i         0
 };;
-// NR method: ineration #2
+// NR method: iteration #2
 { .mfi
       nop.m         0
       fnma.s1       FR_Rcp2 = FR_Rcp1,FR_GAMMA,f1 // t = 1 - r1*x
diff --git a/ports/sysdeps/ia64/fpu/w_tgamma.S b/ports/sysdeps/ia64/fpu/w_tgamma.S
index e4b39cc..1ed2ba7 100644
--- a/ports/sysdeps/ia64/fpu/w_tgamma.S
+++ b/ports/sysdeps/ia64/fpu/w_tgamma.S
@@ -1305,7 +1305,7 @@ GLOBAL_LIBM_ENTRY(tgamma)
       fma.s1        FR_Rcp2 = FR_Rcp1,FR_Rcp2,FR_Rcp1
       nop.i         0
 };;
-// NR method: ineration #3
+// NR method: iteration #3
 { .mfi
       nop.m         0
       fnma.s1       FR_Rcp3 = FR_Rcp2,FR_GAMMA,f1 // t = 1 - r2*x
diff --git a/ports/sysdeps/ia64/fpu/w_tgamma.S b/ports/sysdeps/ia64/fpu/w_tgamma.S
index e4b39cc..1ed2ba7 100644
--- a/ports/sysdeps/ia64/fpu/w_tgamma.S
+++ b/ports/sysdeps/ia64/fpu/w_tgamma.S
@@ -170,7 +170,7 @@
 //   Step 3: Division
 //   ----------------
 //    To calculate 1/(x*GAMMA(x)*S21(r)) we use frcpa instruction
-//    with following Newton-Raphson interations.
+//    with following Newton-Raphson iterations.
 //
 //
 //*********************************************************************
diff --git a/ports/sysdeps/ia64/fpu/w_tgammaf.S b/ports/sysdeps/ia64/fpu/w_tgammaf.S
index ffd7daa..bad4564 100644
--- a/ports/sysdeps/ia64/fpu/w_tgammaf.S
+++ b/ports/sysdeps/ia64/fpu/w_tgammaf.S
@@ -171,7 +171,7 @@
 //   Step 3: Division
 //   ----------------
 //    To calculate 1/x and 1/(GAMMA(x)*S12(rs)) we use frcpa
-//    instruction with following Newton-Raphson interations.
+//    instruction with following Newton-Raphson iterations.
 //
 //
 //*********************************************************************
diff --git a/sysdeps/posix/readdir.c b/sysdeps/posix/readdir.c
index 55b32eb..b5e1e4e 100644
--- a/sysdeps/posix/readdir.c
+++ b/sysdeps/posix/readdir.c
@@ -94,7 +94,7 @@ __READDIR (DIR *dirp)
       reclen = sizeof *dp;
       /* The name is not terminated if it is the largest possible size.
 	 Clobber the following byte to ensure proper null termination.  We
-	 read jst one entry at a time above so we know that byte will not
+	 read just one entry at a time above so we know that byte will not
 	 be used later.  */
       dp->d_name[sizeof dp->d_name] = '\0';
 #endif
diff --git a/elf/dl-tls.c b/elf/dl-tls.c
index 576d9a1..5f124c8 100644
--- a/elf/dl-tls.c
+++ b/elf/dl-tls.c
@@ -130,7 +130,7 @@ _dl_determine_tlsoffset (void)
      and an alignment requirement.  The GNU ld computes the alignment
      requirements for the data at the positions *in the file*, though.
      I.e, it is not simply possible to allocate a block with the size
-     of the TLS program header entry.  The data is layed out assuming
+     of the TLS program header entry.  The data is laid out assuming
      that the first byte of the TLS block fulfills
 
        p_vaddr mod p_align == &TLS_BLOCK mod p_align
diff --git a/sysdeps/x86_64/multiarch/strstr.c b/sysdeps/x86_64/multiarch/strstr.c
index cd63b68..34aa1b5 100644
--- a/sysdeps/x86_64/multiarch/strstr.c
+++ b/sysdeps/x86_64/multiarch/strstr.c
@@ -59,7 +59,7 @@
    2. No ordered-comparison match, there is EOS in either fragment,
    2a. Zflg = 0, Sflg = 1, we continue
    2b. Zflg = 1, Sflg = 0, we conclude no match and return.
-   2c. Zflg = 1, sflg = 1, lenth determine match or no match
+   2c. Zflg = 1, sflg = 1, length determine match or no match
 
    In the string comparison phase, the 1st fragment match is fixed up
    to produce ECX = 0.  Subsequent fragment compare of nonzero index
diff --git a/malloc/malloc.c b/malloc/malloc.c
index be472b2..4c04707 100644
--- a/malloc/malloc.c
+++ b/malloc/malloc.c
@@ -975,7 +975,7 @@ int      __posix_memalign(void **, size_t, size_t);
 
   In 2001, the kernel had a maximum size for brk() which was about 800
   megabytes on 32 bit x86, at that point brk() would hit the first
-  mmaped shared libaries and couldn't expand anymore. With current 2.6
+  mmaped shared libraries and couldn't expand anymore. With current 2.6
   kernels, the VA space layout is different and brk() and mmap
   both can span the entire heap at will.
 
diff --git a/manual/crypt.texi b/manual/crypt.texi
index ef90590..4d55ce9 100644
--- a/manual/crypt.texi
+++ b/manual/crypt.texi
@@ -48,7 +48,7 @@ to provide a definitive survey of the laws affecting cryptography.
 Instead, this section warns you of some of the known trouble spots; this
 may help you when you try to find out what the laws of your country are.
 
-Some countries require that you have a licence to use, possess, or import
+Some countries require that you have a license to use, possess, or import
 cryptography.  These countries are believed to include Byelorussia,
 Burma, India, Indonesia, Israel, Kazakhstan, Pakistan, Russia, and Saudi
 Arabia.
diff --git a/crypt/speeds.c b/crypt/speeds.c
index 0d55ae8..8a2d392 100644
--- a/crypt/speeds.c
+++ b/crypt/speeds.c
@@ -3,7 +3,7 @@
  * is derived from one floating around in
  * the net. It's distributed along with
  * UFC-crypt but is not covered by any
- * licence.
+ * license.
  *
  * @(#)speeds.c	1.11 20 Aug 1996
  */
diff --git a/ports/sysdeps/ia64/fpu/s_erfcl.S b/ports/sysdeps/ia64/fpu/s_erfcl.S
index b9f7004..2f38c48 100644
--- a/ports/sysdeps/ia64/fpu/s_erfcl.S
+++ b/ports/sysdeps/ia64/fpu/s_erfcl.S
@@ -1548,7 +1548,7 @@ GLOBAL_LIBM_ENTRY(erfcl)
 { .mfi
       ldfe           FR_A12 = [GR_P_POINT_1], -64
       nop.f          0
-      extr           GR_K = GR_N_fix, 12, 32         // Extract limite range K
+      extr           GR_K = GR_N_fix, 12, 32         // Extract limit range K
 }
 { .mfi
       ldfe           FR_A13 = [GR_P_POINT_2], -64
diff --git a/libio/libio.h b/libio/libio.h
index 3cf1712..19b92be 100644
--- a/libio/libio.h
+++ b/libio/libio.h
@@ -102,7 +102,7 @@
 #define _IO_LINKED 0x80 /* Set if linked (using _chain) to streambuf::_list_all.*/
 #define _IO_IN_BACKUP 0x100
 #define _IO_LINE_BUF 0x200
-#define _IO_TIED_PUT_GET 0x400 /* Set if put and get pointer logicly tied. */
+#define _IO_TIED_PUT_GET 0x400 /* Set if put and get pointer logically tied. */
 #define _IO_CURRENTLY_PUTTING 0x800
 #define _IO_IS_APPENDING 0x1000
 #define _IO_IS_FILEBUF 0x2000
diff --git a/posix/regexec.c b/posix/regexec.c
index f85c5e8..69d6b96 100644
--- a/posix/regexec.c
+++ b/posix/regexec.c
@@ -1088,7 +1088,7 @@ acquire_init_state_context (reg_errcode_t *err, const re_match_context_t *mctx,
    FL_LONGEST_MATCH means we want the POSIX longest matching.
    If P_MATCH_FIRST is not NULL, and the match fails, it is set to the
    next place where we may want to try matching.
-   Note that the matcher assume that the maching starts from the current
+   Note that the matcher assume that the matching starts from the current
    index of the buffer.  */
 
 static int
diff --git a/posix/regcomp.c b/posix/regcomp.c
index 0ffc2fa..11ded43 100644
--- a/posix/regcomp.c
+++ b/posix/regcomp.c
@@ -3429,7 +3429,7 @@ build_equiv_class (bitset_t sbcset, const unsigned char *name)
 	/* This isn't a valid character.  */
 	return REG_ECOLLATE;
 
-      /* Build single byte matcing table for this equivalence class.  */
+      /* Build single byte matching table for this equivalence class.  */
       len = weights[idx1 & 0xffffff];
       for (ch = 0; ch < SBC_MAX; ++ch)
 	{
diff --git a/nscd/nscd-client.h b/nscd/nscd-client.h
index 360852b..0960506 100644
--- a/nscd/nscd-client.h
+++ b/nscd/nscd-client.h
@@ -346,7 +346,7 @@ extern int __nscd_open_socket (const char *key, size_t keylen,
 			       request_type type, void *response,
 			       size_t responselen) attribute_hidden;
 
-/* Try to get a file descriptor for the shared meory segment
+/* Try to get a file descriptor for the shared memory segment
    containing the database.  */
 extern struct mapped_database *__nscd_get_mapping (request_type type,
 						   const char *key,
diff --git a/nscd/nscd_helper.c b/nscd/nscd_helper.c
index 8587e45..43f9264 100644
--- a/nscd/nscd_helper.c
+++ b/nscd/nscd_helper.c
@@ -275,7 +275,7 @@ __nscd_unmap (struct mapped_database *mapped)
 }
 
 
-/* Try to get a file descriptor for the shared meory segment
+/* Try to get a file descriptor for the shared memory segment
    containing the database.  */
 struct mapped_database *
 __nscd_get_mapping (request_type type, const char *key,
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S b/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S
index 81af264..02113ea 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S
@@ -81,7 +81,7 @@ ENTRY (__clone)
 	/* Check for child process.  */
 	cmpwi	cr1,r3,0
 	crandc	cr1*4+eq,cr1*4+eq,cr0*4+so
-	bne-	cr1,L(parent)		/* The '-' is to minimise the race.  */
+	bne-	cr1,L(parent)		/* The '-' is to minimize the race.  */
 
 #ifdef RESET_PID
 	andis.	r0,r28,CLONE_THREAD>>16
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S b/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S
index cf46856..48afffc 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S
@@ -82,7 +82,7 @@ ENTRY (__clone)
 	/* Check for child process.  */
 	cmpdi	cr1,r3,0
 	crandc	cr1*4+eq,cr1*4+eq,cr0*4+so
-	bne-	cr1,L(parent)		/* The '-' is to minimise the race.  */
+	bne-	cr1,L(parent)		/* The '-' is to minimize the race.  */
 
 #ifdef RESET_PID
 	andis.	r0,r29,CLONE_THREAD>>16
diff --git a/ports/sysdeps/ia64/fpu/w_tgamma.S b/ports/sysdeps/ia64/fpu/w_tgamma.S
index e4b39cc..1ed2ba7 100644
--- a/ports/sysdeps/ia64/fpu/w_tgamma.S
+++ b/ports/sysdeps/ia64/fpu/w_tgamma.S
@@ -332,7 +332,7 @@ RODATA
 
 LOCAL_OBJECT_START(tgamma_data)
 data8 0x406573FAE561F648 // overflow boundary (171.624376956302739927196)
-data8 0x3FDD8B618D5AF8FE // point of local minium (0.461632144968362356785)
+data8 0x3FDD8B618D5AF8FE // point of local minimum (0.461632144968362356785)
 //
 //[2; 3]
 data8 0xEF0E85C9AE40ABE2,0x00004000 // C01
diff --git a/bits/sigstack.h b/bits/sigstack.h
index 2d8ec5f..b4d3ab7 100644
--- a/bits/sigstack.h
+++ b/bits/sigstack.h
@@ -47,7 +47,7 @@ enum
 #define SS_DISABLE	SS_DISABLE
 };
 
-/* Minumum stack size for a signal handler.  */
+/* Minimum stack size for a signal handler.  */
 #define MINSIGSTKSZ	8192
 
 /* System default stack size.  */
diff --git a/sysdeps/posix/readdir.c b/sysdeps/posix/readdir.c
index 55b32eb..b5e1e4e 100644
--- a/sysdeps/posix/readdir.c
+++ b/sysdeps/posix/readdir.c
@@ -71,7 +71,7 @@ __READDIR (DIR *dirp)
 	      if (bytes < 0 && errno == ENOENT)
 		bytes = 0;
 
-	      /* Don't modifiy errno when reaching EOF.  */
+	      /* Don't modify errno when reaching EOF.  */
 	      if (bytes == 0)
 		__set_errno (saved_errno);
 	      dp = NULL;
diff --git a/locale/programs/simple-hash.c b/locale/programs/simple-hash.c
index 30b1508..4dab6c0 100644
--- a/locale/programs/simple-hash.c
+++ b/locale/programs/simple-hash.c
@@ -262,7 +262,7 @@ lookup (htab, key, keylen, hval)
   size_t idx;
   hash_entry *table = (hash_entry *) htab->table;
 
-  /* First hash function: simply take the modul but prevent zero.  */
+  /* First hash function: simply take the modulo but prevent zero.  */
   hash = 1 + hval % htab->size;
 
   idx = hash;
diff --git a/misc/hsearch_r.c b/misc/hsearch_r.c
index 0c7f57c..79ce750 100644
--- a/misc/hsearch_r.c
+++ b/misc/hsearch_r.c
@@ -158,7 +158,7 @@ hsearch_r (item, action, retval, htab)
   if (hval == 0)
     ++hval;
 
-  /* First hash function: simply take the modul but prevent zero. */
+  /* First hash function: simply take the modulo but prevent zero. */
   idx = hval % htab->size + 1;
 
   if (htab->table[idx].used)
diff --git a/elf/rtld.c b/elf/rtld.c
index 91da88c..b652650 100644
--- a/elf/rtld.c
+++ b/elf/rtld.c
@@ -2152,7 +2152,7 @@ ERROR: ld.so: object '%s' cannot be loaded as audit interface: %s; ignored.\n",
 	  if (l->l_relro_size)
 	    _dl_protect_relro (l);
 
-	  /* Add object to slot information data if necessasy.  */
+	  /* Add object to slot information data if necessary.  */
 	  if (l->l_tls_blocksize != 0 && tls_init_tp_called)
 	    _dl_add_to_slotinfo (l);
 	}
diff --git a/elf/rtld.c b/elf/rtld.c
index 91da88c..b652650 100644
--- a/elf/rtld.c
+++ b/elf/rtld.c
@@ -2200,7 +2200,7 @@ ERROR: ld.so: object '%s' cannot be loaded as audit interface: %s; ignored.\n",
 	    _dl_relocate_object (l, l->l_scope, GLRO(dl_lazy) ? RTLD_LAZY : 0,
 				 consider_profiling);
 
-	  /* Add object to slot information data if necessasy.  */
+	  /* Add object to slot information data if necessary.  */
 	  if (l->l_tls_blocksize != 0 && tls_init_tp_called)
 	    _dl_add_to_slotinfo (l);
 	}
diff --git a/elf/sprof.c b/elf/sprof.c
index 60f310f..cc7e01c 100644
--- a/elf/sprof.c
+++ b/elf/sprof.c
@@ -280,7 +280,7 @@ main (int argc, char *argv[])
     exit (1);
 
   /* We can now determine the filename for the profiling data, if
-     nececessary.  */
+     necessary.  */
   if (profdata == NULL)
     {
       char *newp;
diff --git a/sysdeps/gnu/netinet/tcp.h b/sysdeps/gnu/netinet/tcp.h
index b7bf9b3..bf76e69 100644
--- a/sysdeps/gnu/netinet/tcp.h
+++ b/sysdeps/gnu/netinet/tcp.h
@@ -183,7 +183,7 @@ enum
 # define TCPI_OPT_TIMESTAMPS	1
 # define TCPI_OPT_SACK		2
 # define TCPI_OPT_WSCALE	4
-# define TCPI_OPT_ECN		8  /* ECN was negociated at TCP session init */
+# define TCPI_OPT_ECN		8  /* ECN was negotiated at TCP session init */
 # define TCPI_OPT_ECN_SEEN	16 /* we received at least one packet with ECT */
 # define TCPI_OPT_SYN_DATA	32 /* SYN-ACK acked data in SYN sent or rcvd */
 
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 351befb..084a940 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -4503,7 +4503,7 @@ _negStirling:
 }
 ;;
 
-// here if x falls in neighbourhood of any negative root
+// here if x falls in neighborhood of any negative root
 // "neighbourhood" typically means that |lgammal(x)| < 0.17
 // on the [-3.0,-2.0] range |lgammal(x)| has even less
 // magnitude
diff --git a/posix/regex.c b/posix/regex.c
index 83e5cdf..9725048 100644
--- a/posix/regex.c
+++ b/posix/regex.c
@@ -21,7 +21,7 @@
 #include "config.h"
 #endif
 
-/* Make sure noone compiles this code with a C++ compiler.  */
+/* Make sure no one compiles this code with a C++ compiler.  */
 #ifdef __cplusplus
 # error "This is C code, use a C compiler"
 #endif
diff --git a/nptl/sysdeps/unix/sysv/linux/fork.c b/nptl/sysdeps/unix/sysv/linux/fork.c
index ff08942..56f2f34 100644
--- a/nptl/sysdeps/unix/sysv/linux/fork.c
+++ b/nptl/sysdeps/unix/sysv/linux/fork.c
@@ -157,7 +157,7 @@ __libc_fork (void)
 #ifdef __NR_set_robust_list
       /* Initialize the robust mutex list which has been reset during
 	 the fork.  We do not check for errors since if it fails here
-	 it failed at process start as well and noone could have used
+	 it failed at process start as well and no one could have used
 	 robust mutexes.  We also do not have to set
 	 self->robust_head.futex_offset since we inherit the correct
 	 value from the parent.  */
diff --git a/hurd/fd-close.c b/hurd/fd-close.c
index 40dbd9a..f1033c1 100644
--- a/hurd/fd-close.c
+++ b/hurd/fd-close.c
@@ -33,7 +33,7 @@ _hurd_fd_close (struct hurd_fd *fd)
   else
     {
       /* Clear the descriptor's port cells.
-	 This deallocates the ports if noone else is still using them.  */
+	 This deallocates the ports if no one else is still using them.  */
       _hurd_port_set (&fd->ctty, MACH_PORT_NULL);
       _hurd_port_locked_set (&fd->port, MACH_PORT_NULL);
       err = 0;
diff --git a/elf/dl-fptr.c b/elf/dl-fptr.c
index 45e3abc..b8beb67 100644
--- a/elf/dl-fptr.c
+++ b/elf/dl-fptr.c
@@ -229,7 +229,7 @@ _dl_make_fptr (struct link_map *map, const ElfW(Sym) *sym,
       if (__builtin_expect (COMPARE_AND_SWAP (&ftab[symidx], (ElfW(Addr)) NULL,
 					      fdesc), 1))
 	{
-	  /* Noone has updated the entry and the new function
+	  /* No one has updated the entry and the new function
 	     descriptor has been installed.  */
 #if 0
 	  const char *strtab
diff --git a/ports/sysdeps/hppa/dl-fptr.c b/ports/sysdeps/hppa/dl-fptr.c
index e0a8842..217e4c3 100644
--- a/ports/sysdeps/hppa/dl-fptr.c
+++ b/ports/sysdeps/hppa/dl-fptr.c
@@ -244,7 +244,7 @@ _dl_make_fptr (struct link_map *map, const ElfW(Sym) *sym,
       if (__builtin_expect (COMPARE_AND_SWAP (&ftab[symidx], (ElfW(Addr)) NULL,
 					      fdesc), 1))
 	{
-	  /* Noone has updated the entry and the new function
+	  /* No one has updated the entry and the new function
 	     descriptor has been installed.  */
 #if 0
 	  const char *strtab
diff --git a/sysdeps/mach/hurd/setitimer.c b/sysdeps/mach/hurd/setitimer.c
index 1d3e01a..8df529a 100644
--- a/sysdeps/mach/hurd/setitimer.c
+++ b/sysdeps/mach/hurd/setitimer.c
@@ -82,7 +82,7 @@ timer_thread (void)
 	  error_t return_code;
 	} msg;
 
-      /* Wait for a message on a port that noone sends to.  The purpose is
+      /* Wait for a message on a port that no one sends to.  The purpose is
 	 the receive timeout.  Notice interrupts so that if we are
 	 thread_abort'd, we will loop around and fetch new values from
 	 _hurd_itimerval.  */
diff --git a/hurd/hurdsig.c b/hurd/hurdsig.c
index 558aa07..7d37462 100644
--- a/hurd/hurdsig.c
+++ b/hurd/hurdsig.c
@@ -706,7 +706,7 @@ _hurd_internal_post_signal (struct hurd_sigstate *ss,
 			    __sigmask (SIGTSTP))))
     {
       /* If we would ordinarily stop for a job control signal, but we are
-	 orphaned so noone would ever notice and continue us again, we just
+	 orphaned so no one would ever notice and continue us again, we just
 	 quietly die, alone and in the dark.  */
       detail->code = signo;
       signo = SIGKILL;
diff --git a/inet/arpa/inet.h b/inet/arpa/inet.h
index 52fc068..b599e5d 100644
--- a/inet/arpa/inet.h
+++ b/inet/arpa/inet.h
@@ -45,7 +45,7 @@ extern struct in_addr inet_makeaddr (in_addr_t __net, in_addr_t __host)
 extern in_addr_t inet_netof (struct in_addr __in) __THROW;
 
 /* Extract the network number in network byte order from the address
-   in numbers-and-dots natation starting at CP.  */
+   in numbers-and-dots notation starting at CP.  */
 extern in_addr_t inet_network (const char *__cp) __THROW;
 
 /* Convert Internet number in IN to ASCII representation.  The return value
diff --git a/nptl/sysdeps/unix/sysv/linux/mq_notify.c b/nptl/sysdeps/unix/sysv/linux/mq_notify.c
index 6bc34ba..5de7c74 100644
--- a/nptl/sysdeps/unix/sysv/linux/mq_notify.c
+++ b/nptl/sysdeps/unix/sysv/linux/mq_notify.c
@@ -36,7 +36,7 @@
 
 /* Defined in the kernel headers: */
 #define NOTIFY_COOKIE_LEN	32	/* Length of the cookie used.  */
-#define NOTIFY_WOKENUP		1	/* Code for notifcation.  */
+#define NOTIFY_WOKENUP		1	/* Code for notification.  */
 #define NOTIFY_REMOVED		2	/* Code for closed message queue
 					   of de-notifcation.  */
 
diff --git a/posix/regcomp.c b/posix/regcomp.c
index 0ffc2fa..11ded43 100644
--- a/posix/regcomp.c
+++ b/posix/regcomp.c
@@ -2092,7 +2092,7 @@ peek_token_bracket (re_token_t *token, re_string_t *input, reg_syntax_t syntax)
 
 /* Entry point of the parser.
    Parse the regular expression REGEXP and return the structure tree.
-   If an error is occured, ERR is set by error code, and return NULL.
+   If an error is occurred, ERR is set by error code, and return NULL.
    This function build the following tree, from regular expression <reg_exp>:
 	   CAT
 	   / \
diff --git a/posix/regex_internal.c b/posix/regex_internal.c
index 0a3830b..984f714 100644
--- a/posix/regex_internal.c
+++ b/posix/regex_internal.c
@@ -1270,7 +1270,7 @@ re_node_set_merge (re_node_set *dest, const re_node_set *src)
 
 /* Insert the new element ELEM to the re_node_set* SET.
    SET should not already have ELEM.
-   return -1 if an error is occured, return 1 otherwise.  */
+   return -1 if an error is occurred, return 1 otherwise.  */
 
 static int
 internal_function __attribute_warn_unused_result__
diff --git a/posix/regex_internal.c b/posix/regex_internal.c
index 0a3830b..984f714 100644
--- a/posix/regex_internal.c
+++ b/posix/regex_internal.c
@@ -1327,7 +1327,7 @@ re_node_set_insert (re_node_set *set, int elem)
 
 /* Insert the new element ELEM to the re_node_set* SET.
    SET should not already have any element greater than or equal to ELEM.
-   Return -1 if an error is occured, return 1 otherwise.  */
+   Return -1 if an error is occurred, return 1 otherwise.  */
 
 static int
 internal_function __attribute_warn_unused_result__
diff --git a/posix/regcomp.c b/posix/regcomp.c
index 0ffc2fa..11ded43 100644
--- a/posix/regcomp.c
+++ b/posix/regcomp.c
@@ -3684,7 +3684,7 @@ build_charclass_op (re_dfa_t *dfa, RE_TRANSLATE_TYPE trans,
 /* This is intended for the expressions like "a{1,3}".
    Fetch a number from `input', and return the number.
    Return -1, if the number field is empty like "{,1}".
-   Return -2, If an error is occured.  */
+   Return -2, If an error is occurred.  */
 
 static int
 fetch_number (re_string_t *input, re_token_t *token, reg_syntax_t syntax)
diff --git a/posix/regex_internal.c b/posix/regex_internal.c
index 0a3830b..984f714 100644
--- a/posix/regex_internal.c
+++ b/posix/regex_internal.c
@@ -1402,7 +1402,7 @@ re_node_set_remove_at (re_node_set *set, int idx)
 \f
 
 /* Add the token TOKEN to dfa->nodes, and return the index of the token.
-   Or return -1, if an error will be occured.  */
+   Or return -1, if an error will be occurred.  */
 
 static int
 internal_function
diff --git a/sysdeps/unix/sysv/linux/pathconf.c b/sysdeps/unix/sysv/linux/pathconf.c
index 723d234..d1a62eb 100644
--- a/sysdeps/unix/sysv/linux/pathconf.c
+++ b/sysdeps/unix/sysv/linux/pathconf.c
@@ -138,7 +138,7 @@ __statfs_link_max (int result, const struct statfs *fsbuf, const char *file,
 	/* Not possible, return the default value.  */
 	return LINUX_LINK_MAX;
 
-      /* Some error occured.  */
+      /* Some error occurred.  */
       return -1;
     }
 
diff --git a/sysdeps/unix/sysv/linux/pathconf.c b/sysdeps/unix/sysv/linux/pathconf.c
index 723d234..d1a62eb 100644
--- a/sysdeps/unix/sysv/linux/pathconf.c
+++ b/sysdeps/unix/sysv/linux/pathconf.c
@@ -201,7 +201,7 @@ __statfs_filesize_max (int result, const struct statfs *fsbuf)
 	/* Not possible, return the default value.  */
 	return 32;
 
-      /* Some error occured.  */
+      /* Some error occurred.  */
       return -1;
     }
 
diff --git a/sysdeps/unix/sysv/linux/pathconf.c b/sysdeps/unix/sysv/linux/pathconf.c
index 723d234..d1a62eb 100644
--- a/sysdeps/unix/sysv/linux/pathconf.c
+++ b/sysdeps/unix/sysv/linux/pathconf.c
@@ -250,7 +250,7 @@ __statfs_symlinks (int result, const struct statfs *fsbuf)
 	/* Not possible, return the default value.  */
 	return 1;
 
-      /* Some error occured.  */
+      /* Some error occurred.  */
       return -1;
     }
 
diff --git a/sysdeps/unix/sysv/linux/pathconf.c b/sysdeps/unix/sysv/linux/pathconf.c
index 723d234..d1a62eb 100644
--- a/sysdeps/unix/sysv/linux/pathconf.c
+++ b/sysdeps/unix/sysv/linux/pathconf.c
@@ -285,7 +285,7 @@ __statfs_chown_restricted (int result, const struct statfs *fsbuf)
 	/* Not possible, return the default value.  */
 	return 1;
 
-      /* Some error occured.  */
+      /* Some error occurred.  */
       return -1;
     }
 
diff --git a/ports/sysdeps/arm/armv6/strrchr.S b/ports/sysdeps/arm/armv6/strrchr.S
index e40df90..c5e40b0 100644
--- a/ports/sysdeps/arm/armv6/strrchr.S
+++ b/ports/sysdeps/arm/armv6/strrchr.S
@@ -1,4 +1,4 @@
-/* strrchr -- find the last occurence of C in a nul-terminated string
+/* strrchr -- find the last occurrence of C in a nul-terminated string
    Copyright (C) 2013 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
diff --git a/ports/sysdeps/ia64/memchr.S b/ports/sysdeps/ia64/memchr.S
index 6102644..844e6f2 100644
--- a/ports/sysdeps/ia64/memchr.S
+++ b/ports/sysdeps/ia64/memchr.S
@@ -17,7 +17,7 @@
    License along with the GNU C Library; if not, see
    <http://www.gnu.org/licenses/>.  */
 
-/* Return: the address of the first occurence of chr in str or NULL
+/* Return: the address of the first occurrence of chr in str or NULL
 
    Inputs:
 	in0:	str
diff --git a/ports/sysdeps/ia64/strchr.S b/ports/sysdeps/ia64/strchr.S
index 029eb5c..95de460 100644
--- a/ports/sysdeps/ia64/strchr.S
+++ b/ports/sysdeps/ia64/strchr.S
@@ -17,7 +17,7 @@
    License along with the GNU C Library; if not, see
    <http://www.gnu.org/licenses/>.  */
 
-/* Return: the address of the first occurence of chr in str or NULL
+/* Return: the address of the first occurrence of chr in str or NULL
 
    Inputs:
         in0:    str
diff --git a/elf/dl-load.c b/elf/dl-load.c
index 655e38e..9ab79d8 100644
--- a/elf/dl-load.c
+++ b/elf/dl-load.c
@@ -1728,7 +1728,7 @@ open_verify (const char *name, struct filebuf *fbp, struct link_map *loader,
       unsigned int osversion;
       size_t maplength;
 
-      /* We successfully openened the file.  Now verify it is a file
+      /* We successfully opened the file.  Now verify it is a file
 	 we can use.  */
       __set_errno (0);
       fbp->len = 0;
diff --git a/sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c b/sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c
index 6a72d6a..8885def 100644
--- a/sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c
+++ b/sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c
@@ -243,7 +243,7 @@ int32_t __ieee754_rem_pio2l(long double x, long double *y)
      We split the 113 bits of the mantissa into 5 24bit integers
      stored in a double array.  */
   /* Make the IBM extended format 105 bit mantissa look like the ieee854 112
-     bit mantissa so the next operatation will give the correct result.  */
+     bit mantissa so the next operation will give the correct result.  */
   ldbl_extract_mantissa (&ixd, &lxd, &exp, x);
   exp = exp - 23;
   /* This is faster than doing this in floating point, because we
diff --git a/ports/sysdeps/ia64/memmove.S b/ports/sysdeps/ia64/memmove.S
index 6d01931..a9b04e1 100644
--- a/ports/sysdeps/ia64/memmove.S
+++ b/ports/sysdeps/ia64/memmove.S
@@ -202,7 +202,7 @@ ENTRY(memmove)
 	mov 	ar.lc = saved_lc	// restore the loop counter
 	br.ret.sptk.many b0
 
-// In the case of a backward copy, optimise only the case when everything
+// In the case of a backward copy, optimize only the case when everything
 // is a multiple of 8, otherwise copy byte by byte.  The backward copy is
 // used only when the blocks are overlapping and dest > src.
 
diff --git a/manual/contrib.texi b/manual/contrib.texi
index 8116367..cdfc6d8 100644
--- a/manual/contrib.texi
+++ b/manual/contrib.texi
@@ -53,7 +53,7 @@ committee.
 Thomas Bushnell for his contributions to Hurd.
 
 @item
-Liubov Dmitrieva for optimzed string and math functions on x86-64 and
+Liubov Dmitrieva for optimized string and math functions on x86-64 and
 x86.
 
 @item
diff --git a/sysdeps/mach/hurd/bits/socket.h b/sysdeps/mach/hurd/bits/socket.h
index 931cc07..c2c4b8b 100644
--- a/sysdeps/mach/hurd/bits/socket.h
+++ b/sysdeps/mach/hurd/bits/socket.h
@@ -142,7 +142,7 @@ enum __socket_type
 #define	AF_MAX		PF_MAX
 
 /* Maximum queue length specifiable by listen.  */
-#define SOMAXCONN	128	/* 5 on the origional 4.4 BSD.  */
+#define SOMAXCONN	128	/* 5 on the original 4.4 BSD.  */
 
 /* Get the definition of the macro to define the common sockaddr members.  */
 #include <bits/sockaddr.h>
diff --git a/sysdeps/unix/bsd/bsd4.4/bits/socket.h b/sysdeps/unix/bsd/bsd4.4/bits/socket.h
index 849d2fc..4fb2fb9 100644
--- a/sysdeps/unix/bsd/bsd4.4/bits/socket.h
+++ b/sysdeps/unix/bsd/bsd4.4/bits/socket.h
@@ -122,7 +122,7 @@ enum __socket_type
 #define	AF_MAX		PF_MAX
 
 /* Maximum queue length specifiable by listen.  */
-#define SOMAXCONN	128	/* 5 on the origional 4.4 BSD.  */
+#define SOMAXCONN	128	/* 5 on the original 4.4 BSD.  */
 
 /* Get the definition of the macro to define the common sockaddr members.  */
 #include <bits/sockaddr.h>
diff --git a/sysdeps/mach/hurd/dl-sysdep.c b/sysdeps/mach/hurd/dl-sysdep.c
index d85c22a..f330b23 100644
--- a/sysdeps/mach/hurd/dl-sysdep.c
+++ b/sysdeps/mach/hurd/dl-sysdep.c
@@ -208,7 +208,7 @@ unfmh();			/* XXX */
 	 data, it is the magical convention that ARGV[0] == P.  The
 	 startup code in init-first.c will get confused if this is not
 	 the case, so we must rearrange things to make it so.  We'll
-	 overwrite the origional ARGV[0] at P with ARGV[_dl_skip_args].
+	 overwrite the original ARGV[0] at P with ARGV[_dl_skip_args].
 
 	 Secondly, if we need to be secure, it removes some dangerous
 	 environment variables.  If we have no Hurd startup date this
diff --git a/elf/reldep.c b/elf/reldep.c
index 44b239b..f4e2eed 100644
--- a/elf/reldep.c
+++ b/elf/reldep.c
@@ -93,7 +93,7 @@ main (void)
       exit (1);
     }
 
-  /* The variable now must have its originial value.  */
+  /* The variable now must have its original value.  */
   if (*vp != 0)
     {
       puts ("variable \"some_var\" not reset");
diff --git a/elf/reldep2.c b/elf/reldep2.c
index ba5ab22..f5416de 100644
--- a/elf/reldep2.c
+++ b/elf/reldep2.c
@@ -78,7 +78,7 @@ main (void)
       exit (1);
     }
 
-  /* The variable now must have its originial value.  */
+  /* The variable now must have its original value.  */
   if (*vp != 42)
     {
       puts ("variable \"some_var\" reset");
diff --git a/elf/reldep3.c b/elf/reldep3.c
index b051c41..ea6a10b 100644
--- a/elf/reldep3.c
+++ b/elf/reldep3.c
@@ -78,7 +78,7 @@ main (void)
       exit (1);
     }
 
-  /* The variable now must have its originial value.  */
+  /* The variable now must have its original value.  */
   if (*vp != 0)
     {
       puts ("variable \"some_var\" not reset");
diff --git a/hesiod/hesiod.c b/hesiod/hesiod.c
index 657dabe..196f0d5 100644
--- a/hesiod/hesiod.c
+++ b/hesiod/hesiod.c
@@ -324,7 +324,7 @@ parse_config_file(struct hesiod_p *ctx, const char *filename) {
 			}
 			if (n == 0) {
 				/* Restore the default.  Better than
-				   nother at all.  */
+				   other at all.  */
 				ctx->classes[0] = C_IN;
 				ctx->classes[1] = C_HS;
 			} else if (n == 1
diff --git a/sysdeps/x86/fpu/bits/mathinline.h b/sysdeps/x86/fpu/bits/mathinline.h
index fed6414..0590c8f 100644
--- a/sysdeps/x86/fpu/bits/mathinline.h
+++ b/sysdeps/x86/fpu/bits/mathinline.h
@@ -798,7 +798,7 @@ __NTH (ldexp (double __x, int __y))
 #   ifdef __FAST_MATH__
 __inline_mathcodeNP (expm1, __x, __expm1_code)
 
-/* We cannot rely on M_SQRT being defined.  So we do it for ourself
+/* We cannot rely on M_SQRT being defined.  So we do it for ourselves
    here.  */
 #    define __M_SQRT2	1.41421356237309504880L	/* sqrt(2) */
 
diff --git a/elf/dl-load.c b/elf/dl-load.c
index 655e38e..9ab79d8 100644
--- a/elf/dl-load.c
+++ b/elf/dl-load.c
@@ -1443,7 +1443,7 @@ cannot allocate TLS data structures for initial thread");
   if (l->l_phdr == NULL)
     {
       /* The program header is not contained in any of the segments.
-	 We have to allocate memory ourself and copy it over from out
+	 We have to allocate memory ourselves and copy it over from out
 	 temporary place.  */
       ElfW(Phdr) *newp = (ElfW(Phdr) *) malloc (header->e_phnum
 						* sizeof (ElfW(Phdr)));
diff --git a/debug/pcprofile.c b/debug/pcprofile.c
index ad860df..7b2877a 100644
--- a/debug/pcprofile.c
+++ b/debug/pcprofile.c
@@ -36,7 +36,7 @@ __attribute__ ((constructor))
 install (void)
 {
   /* See whether the environment variable `PCPROFILE_OUTPUT' is defined.
-     If yes, it should name a FIFO.  We open it and mark ourself as active.  */
+     If yes, it should name a FIFO.  We open it and mark ourselves as active.  */
   const char *outfile = getenv ("PCPROFILE_OUTPUT");
 
   if (outfile != NULL && *outfile != '\0')
diff --git a/stdio-common/printf_size.c b/stdio-common/printf_size.c
index 2c496e5..8f632e4 100644
--- a/stdio-common/printf_size.c
+++ b/stdio-common/printf_size.c
@@ -206,7 +206,7 @@ __printf_size (FILE *fp, const struct printf_info *info,
 
   if (fp_info.left && fp_info.pad == L' ')
     {
-      /* We must do the padding ourself since the unit character must
+      /* We must do the padding ourselves since the unit character must
 	 be placed before the padding spaces.  */
       fp_info.width = 0;
 
diff --git a/include/limits.h b/include/limits.h
index 816fb68..02e1b5c 100644
--- a/include/limits.h
+++ b/include/limits.h
@@ -31,7 +31,7 @@
 #define MB_LEN_MAX	16
 
 
-/* If we are not using GNU CC we have to define all the symbols ourself.
+/* If we are not using GNU CC we have to define all the symbols ourselves.
    Otherwise use gcc's definitions (see below).  */
 #if !defined __GNUC__ || __GNUC__ < 2
 
diff --git a/nis/nss_compat/compat-grp.c b/nis/nss_compat/compat-grp.c
index 72a9a7a..177c5c6 100644
--- a/nis/nss_compat/compat-grp.c
+++ b/nis/nss_compat/compat-grp.c
@@ -159,7 +159,7 @@ internal_setgrent (ent_t *ent, int stayopen, int needent)
 	      status = NSS_STATUS_UNAVAIL;
 	    }
 	  else
-	    /* We take care of locking ourself.  */
+	    /* We take care of locking ourselves.  */
 	    __fsetlocking (ent->stream, FSETLOCKING_BYCALLER);
 	}
     }
diff --git a/nis/nss_compat/compat-initgroups.c b/nis/nss_compat/compat-initgroups.c
index cf924c4..ee4b991 100644
--- a/nis/nss_compat/compat-initgroups.c
+++ b/nis/nss_compat/compat-initgroups.c
@@ -174,7 +174,7 @@ internal_setgrent (ent_t *ent)
 	  status = NSS_STATUS_UNAVAIL;
 	}
       else
-	/* We take care of locking ourself.  */
+	/* We take care of locking ourselves.  */
 	__fsetlocking (ent->stream, FSETLOCKING_BYCALLER);
     }
 
diff --git a/nis/nss_compat/compat-initgroups.c b/nis/nss_compat/compat-initgroups.c
index cf924c4..ee4b991 100644
--- a/nis/nss_compat/compat-initgroups.c
+++ b/nis/nss_compat/compat-initgroups.c
@@ -383,7 +383,7 @@ getgrent_next_nss (ent_t *ent, char *buffer, size_t buflen, const char *user,
 
   /* If we come here, the NSS module does not support initgroups_dyn
      or we were confronted with a split group.  In these cases we have
-     to step through the whole list ourself.  */
+     to step through the whole list ourselves.  */
  iter:
   do
     {
diff --git a/nis/nss_compat/compat-pwd.c b/nis/nss_compat/compat-pwd.c
index f934fb2..c3b929a 100644
--- a/nis/nss_compat/compat-pwd.c
+++ b/nis/nss_compat/compat-pwd.c
@@ -274,7 +274,7 @@ internal_setpwent (ent_t *ent, int stayopen, int needent)
 	      status = NSS_STATUS_UNAVAIL;
 	    }
 	  else
-	    /* We take care of locking ourself.  */
+	    /* We take care of locking ourselves.  */
 	    __fsetlocking (ent->stream, FSETLOCKING_BYCALLER);
 	}
     }
diff --git a/nis/nss_compat/compat-spwd.c b/nis/nss_compat/compat-spwd.c
index e854b28..c89b7fd 100644
--- a/nis/nss_compat/compat-spwd.c
+++ b/nis/nss_compat/compat-spwd.c
@@ -230,7 +230,7 @@ internal_setspent (ent_t *ent, int stayopen)
 	      status = NSS_STATUS_UNAVAIL;
 	    }
 	  else
-	    /* We take care of locking ourself.  */
+	    /* We take care of locking ourselves.  */
 	    __fsetlocking (ent->stream, FSETLOCKING_BYCALLER);
 	}
     }
diff --git a/elf/dl-sysdep.c b/elf/dl-sysdep.c
index 08c74ef..e75f2d1 100644
--- a/elf/dl-sysdep.c
+++ b/elf/dl-sysdep.c
@@ -241,7 +241,7 @@ _dl_sysdep_start (void **start_argptr,
 	    - ((_end - (char *) 0) & (GLRO(dl_pagesize) - 1)));
 
   /* If this is a SUID program we make sure that FDs 0, 1, and 2 are
-     allocated.  If necessary we are doing it ourself.  If it is not
+     allocated.  If necessary we are doing it ourselves.  If it is not
      possible we stop the program.  */
   if (__builtin_expect (INTUSE(__libc_enable_secure), 0))
     __libc_check_standard_fds ();
diff --git a/nscd/nscd_stat.c b/nscd/nscd_stat.c
index 3df4273..2dde13a 100644
--- a/nscd/nscd_stat.c
+++ b/nscd/nscd_stat.c
@@ -258,8 +258,8 @@ receive_print_stats (void)
 
       if (enabled[0] == '\0')
 	/* The locale does not provide this information so we have to
-	   translate it ourself.  Since we should avoid short translation
-	   terms we artifically increase the length.  */
+	   translate it ourselves.  Since we should avoid short translation
+	   terms we artificially increase the length.  */
 	enabled = data.dbs[i].enabled ? yesstr : nostr;
       if (check_file[0] == '\0')
 	check_file = data.dbs[i].check_file ? yesstr : nostr;
diff --git a/nptl_db/td_log.c b/nptl_db/td_log.c
index 7d618ac..82df907 100644
--- a/nptl_db/td_log.c
+++ b/nptl_db/td_log.c
@@ -24,7 +24,7 @@ td_err_e
 td_log (void)
 {
   /* This interface is deprecated in the Sun interface.  We provide it
-     for compatibility but don't do anything ourself.  We might in
+     for compatibility but don't do anything ourselves.  We might in
      future do some logging if this seems reasonable.  */
   LOG ("td_log");
   return TD_OK;
diff --git a/iconv/iconv_prog.c b/iconv/iconv_prog.c
index 1a1d0d0..f2ea321 100644
--- a/iconv/iconv_prog.c
+++ b/iconv/iconv_prog.c
@@ -97,7 +97,7 @@ static const char *to_code = "";
 /* File to write output to.  If NULL write to stdout.  */
 static const char *output_file;
 
-/* Nonzero if verbose ouput is wanted.  */
+/* Nonzero if verbose output is wanted.  */
 int verbose;
 
 /* Nonzero if list of all coded character sets is wanted.  */
diff --git a/iconv/iconv_prog.h b/iconv/iconv_prog.h
index 77c275d..2a66d58 100644
--- a/iconv/iconv_prog.h
+++ b/iconv/iconv_prog.h
@@ -23,7 +23,7 @@
 #include <charmap.h>
 
 
-/* Nonzero if verbose ouput is wanted.  */
+/* Nonzero if verbose output is wanted.  */
 extern int verbose;
 
 /* If nonzero omit invalid character from output.  */
diff --git a/manual/string.texi b/manual/string.texi
index 246be84..a1d4cd8 100644
--- a/manual/string.texi
+++ b/manual/string.texi
@@ -2145,7 +2145,7 @@ The GNU version of the @code{basename} function returns the last
 component of the path in @var{filename}.  This function is the preferred
 usage, since it does not modify the argument, @var{filename}, and
 respects trailing slashes.  The prototype for @code{basename} can be
-found in @file{string.h}.  Note, this function is overriden by the XPG
+found in @file{string.h}.  Note, this function is overridden by the XPG
 version, if @file{libgen.h} is included.
 
 Example of using GNU @code{basename}:
diff --git a/manual/filesys.texi b/manual/filesys.texi
index 1df9cf2..9c00693 100644
--- a/manual/filesys.texi
+++ b/manual/filesys.texi
@@ -770,7 +770,7 @@ of the following categories.  This could be special files, sockets etc.
 The item is a directory.
 @item FTW_NS
 The @code{stat} call failed and so the information pointed to by the
-second paramater is invalid.
+second parameter is invalid.
 @item FTW_DNR
 The item is a directory which cannot be read.
 @item FTW_SL
diff --git a/sysdeps/x86_64/dl-trampoline.S b/sysdeps/x86_64/dl-trampoline.S
index 5770c64..a5c0c85 100644
--- a/sysdeps/x86_64/dl-trampoline.S
+++ b/sysdeps/x86_64/dl-trampoline.S
@@ -67,7 +67,7 @@ _dl_runtime_resolve:
 _dl_runtime_profile:
 	cfi_adjust_cfa_offset(16) # Incorporate PLT
 	/* The La_x86_64_regs data structure pointed to by the
-	   fourth paramater must be 16-byte aligned.  This must
+	   fourth parameter must be 16-byte aligned.  This must
 	   be explicitly enforced.  We have the set up a dynamically
 	   sized stack frame.  %rbx points to the top half which
 	   has a fixed size and preserves the original stack pointer.  */
diff --git a/nis/rpcsvc/nis_tags.h b/nis/rpcsvc/nis_tags.h
index c2dc7fd..b95ca8c 100644
--- a/nis/rpcsvc/nis_tags.h
+++ b/nis/rpcsvc/nis_tags.h
@@ -58,7 +58,7 @@ extern "C" {
 #define	ALL_RESULTS	(1<<3)	/* Retrieve all results			*/
 #define	NO_CACHE	(1<<4)	/* Do not return 'cached' results	*/
 #define	MASTER_ONLY	(1<<5)	/* Get value only from master server	*/
-#define	EXPAND_NAME	(1<<6)	/* Expand partitially qualified names	*/
+#define	EXPAND_NAME	(1<<6)	/* Expand partially qualified names	*/
 
 /* Semantic modification for table operations flags */
 #define	RETURN_RESULT	(1<<7)	/* Return resulting object to client    */
diff --git a/malloc/mcheck.c b/malloc/mcheck.c
index 2e5eadd..f34b85e 100644
--- a/malloc/mcheck.c
+++ b/malloc/mcheck.c
@@ -61,7 +61,7 @@ static struct hdr *root;
 
 static int mcheck_used;
 
-/* Nonzero if pedentic checking of all blocks is requested.  */
+/* Nonzero if pedantic checking of all blocks is requested.  */
 static int pedantic;
 
 #if defined _LIBC || defined STDC_HEADERS || defined USG
diff --git a/ports/sysdeps/mips/memcpy.S b/ports/sysdeps/mips/memcpy.S
index aeea491..b47b846 100644
--- a/ports/sysdeps/mips/memcpy.S
+++ b/ports/sysdeps/mips/memcpy.S
@@ -82,7 +82,7 @@
 
 /*
  * Using PREFETCH_HINT_LOAD_STREAMED instead of PREFETCH_LOAD on load
- * prefetches appears to offer a slight preformance advantage.
+ * prefetches appears to offer a slight performance advantage.
  *
  * Using PREFETCH_HINT_PREPAREFORSTORE instead of PREFETCH_STORE
  * or PREFETCH_STORE_STREAMED offers a large performance advantage
diff --git a/crypt/crypt_util.c b/crypt/crypt_util.c
index 2409079..eda7ed9 100644
--- a/crypt/crypt_util.c
+++ b/crypt/crypt_util.c
@@ -70,7 +70,7 @@ static const int pc1[56] = {
 };
 
 /*
- * How much to rotate each 28 bit half of the pc1 permutated
+ * How much to rotate each 28 bit half of the pc1 permuted
  *  56 bit key before using pc2 to give the i' key
  */
 static const int rots[16] = {
diff --git a/crypt/crypt_util.c b/crypt/crypt_util.c
index 2409079..eda7ed9 100644
--- a/crypt/crypt_util.c
+++ b/crypt/crypt_util.c
@@ -447,7 +447,7 @@ __init_des_r(__data)
       o_bit  = bit % 32; /* 0..31 */
 
       /*
-       * And find a bit in the e permutated value setting this bit.
+       * And find a bit in the e permuted value setting this bit.
        *
        * Note: the e selection may have selected the same bit several
        * times. By the initialization of e_inverse, we only look
diff --git a/misc/tst-tsearch.c b/misc/tst-tsearch.c
index 9f6df9c..e050749 100644
--- a/misc/tst-tsearch.c
+++ b/misc/tst-tsearch.c
@@ -58,7 +58,7 @@ static int error = 0;
 /* The keys we add to the tree.  */
 static int x[SIZE];
 
-/* Pointers into the key array, possibly permutated, to define an order
+/* Pointers into the key array, possibly permuted, to define an order
    for insertion/removal.  */
 static int y[SIZE];
 
diff --git a/sysdeps/unix/sysv/linux/sh/sys/user.h b/sysdeps/unix/sysv/linux/sh/sys/user.h
index d4f0114..28f9785 100644
--- a/sysdeps/unix/sysv/linux/sh/sys/user.h
+++ b/sysdeps/unix/sysv/linux/sh/sys/user.h
@@ -20,7 +20,7 @@
 
 #include <asm/ptrace.h>
 
-/* asm/ptrace.h polutes the namespace.  */
+/* asm/ptrace.h pollutes the namespace.  */
 #undef PTRACE_GETREGS
 #undef PTRACE_SETREGS
 #undef PTRACE_GETFPREGS
diff --git a/sysdeps/unix/sysv/linux/sparc/sys/ptrace.h b/sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
index 7543fa7..59a6c24 100644
--- a/sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
+++ b/sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
@@ -24,7 +24,7 @@
 #include <bits/wordsize.h>
 
 /* Linux/SPARC kernels up to 2.3.18 do not care much
-   about what namespace polution, so use a kludge now.  */
+   about what namespace pollution, so use a kludge now.  */
 #undef PTRACE_GETREGS
 #undef PTRACE_SETREGS
 #undef PTRACE_GETFPREGS
diff --git a/ports/sysdeps/ia64/fpu/e_log.S b/ports/sysdeps/ia64/fpu/e_log.S
index 3c5ebc2..9763aa6 100644
--- a/ports/sysdeps/ia64/fpu/e_log.S
+++ b/ports/sysdeps/ia64/fpu/e_log.S
@@ -825,7 +825,7 @@ LOCAL_OBJECT_END(log_data)
 
 
 LOCAL_OBJECT_START(log10_data)
-// coefficients of polynoimal approximation
+// coefficients of polynomial approximation
 data8 0x3FC2494104381A8E // A7
 data8 0xBFC5556D556BBB69 // A6
 //
diff --git a/ports/sysdeps/ia64/fpu/s_tanhl.S b/ports/sysdeps/ia64/fpu/s_tanhl.S
index 8da6afb..6d6c529 100644
--- a/ports/sysdeps/ia64/fpu/s_tanhl.S
+++ b/ports/sysdeps/ia64/fpu/s_tanhl.S
@@ -103,7 +103,7 @@
 //
 // 2. [0;1/8] path: 0.0 < |x| < 1/8
 //
-//    Here we use simple polynimial computations, where last step
+//    Here we use simple polynomial computations, where last step
 //    is performed as x + x^3*A3+...
 //    The rest of polynomial is factorized using binary tree technique.
 //
diff --git a/ports/sysdeps/ia64/fpu/e_pow.S b/ports/sysdeps/ia64/fpu/e_pow.S
index 89449c7..5b2e9a7 100644
--- a/ports/sysdeps/ia64/fpu/e_pow.S
+++ b/ports/sysdeps/ia64/fpu/e_pow.S
@@ -358,7 +358,7 @@
 //  +0     -inf               +inf   error 27   33  divide-by-zero
 //  -0     -inf               +inf   error 27   33  divide-by-zero
 
-// X zero  Y positve
+// X zero  Y positive
 //  +0     +odd integer       +0
 //  -0     +odd integer       -0
 //  +0     !+odd integer      +0
diff --git a/ports/sysdeps/ia64/fpu/e_powf.S b/ports/sysdeps/ia64/fpu/e_powf.S
index 5585f9d..9870d00 100644
--- a/ports/sysdeps/ia64/fpu/e_powf.S
+++ b/ports/sysdeps/ia64/fpu/e_powf.S
@@ -354,7 +354,7 @@
 //  +0     -inf               +inf   error 27   33  divide-by-zero
 //  -0     -inf               +inf   error 27   33  divide-by-zero
 
-// X zero  Y positve
+// X zero  Y positive
 //  +0     +odd integer       +0
 //  -0     +odd integer       -0
 //  +0     !+odd integer      +0
diff --git a/ports/sysdeps/aarch64/strcmp.S b/ports/sysdeps/aarch64/strcmp.S
index fa4705c..6356279 100644
--- a/ports/sysdeps/aarch64/strcmp.S
+++ b/ports/sysdeps/aarch64/strcmp.S
@@ -123,7 +123,7 @@ L(start_realigned):
 L(mutual_align):
 	/* Sources are mutually aligned, but are not currently at an
 	   alignment boundary.  Round down the addresses and then mask off
-	   the bytes that preceed the start point.  */
+	   the bytes that precede the start point.  */
 	bic	src1, src1, #7
 	bic	src2, src2, #7
 	lsl	tmp1, tmp1, #3		/* Bytes beyond alignment -> bits.  */
diff --git a/malloc/malloc.c b/malloc/malloc.c
index be472b2..4c04707 100644
--- a/malloc/malloc.c
+++ b/malloc/malloc.c
@@ -1381,7 +1381,7 @@ nextchunk-> +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     and consolidated sets of chunks, which is what these bins hold, so
     they can be found quickly.  All procedures maintain the invariant
     that no consolidated chunk physically borders another one, so each
-    chunk in a list is known to be preceeded and followed by either
+    chunk in a list is known to be preceded and followed by either
     inuse chunks or the ends of memory.
 
     Chunks in bins are kept in size order, with ties going to the
diff --git a/argp/argp-help.c b/argp/argp-help.c
index 4b83737..ee39387 100644
--- a/argp/argp-help.c
+++ b/argp/argp-help.c
@@ -1447,7 +1447,7 @@ argp_args_usage (const struct argp *argp, const struct argp_state *state,
 }
 \f
 /* Print the documentation for ARGP to STREAM; if POST is false, then
-   everything preceeding a `\v' character in the documentation strings (or
+   everything preceding a `\v' character in the documentation strings (or
    the whole string, for those with none) is printed, otherwise, everything
    following the `\v' character (nothing for strings without).  Each separate
    bit of documentation is separated a blank line, and if PRE_BLANK is true,
diff --git a/argp/argp.h b/argp/argp.h
index 5160da8..c919b07 100644
--- a/argp/argp.h
+++ b/argp/argp.h
@@ -267,7 +267,7 @@ struct argp
 };
 
 /* Possible KEY arguments to a help filter function.  */
-#define ARGP_KEY_HELP_PRE_DOC	0x2000001 /* Help text preceeding options. */
+#define ARGP_KEY_HELP_PRE_DOC	0x2000001 /* Help text preceding options. */
 #define ARGP_KEY_HELP_POST_DOC	0x2000002 /* Help text following options. */
 #define ARGP_KEY_HELP_HEADER	0x2000003 /* Option header string. */
 #define ARGP_KEY_HELP_EXTRA	0x2000004 /* After all other documentation;
diff --git a/sysdeps/x86/bits/mathdef.h b/sysdeps/x86/bits/mathdef.h
index e5b1ca5..5647d42 100644
--- a/sysdeps/x86/bits/mathdef.h
+++ b/sysdeps/x86/bits/mathdef.h
@@ -23,7 +23,7 @@
 # define _MATH_H_MATHDEF	1
 
 # if defined __x86_64__ || (defined __FLT_EVAL_METHOD__ && __FLT_EVAL_METHOD__ == 0)
-/* The x86-64 architecture computes values with the precission of the
+/* The x86-64 architecture computes values with the precision of the
    used type.  Similarly for -m32 -mfpmath=sse.  */
 typedef float float_t;		/* `float' expressions are evaluated as `float'.  */
 typedef double double_t;	/* `double' expressions are evaluated
diff --git a/iconvdata/iso-2022-jp.c b/iconvdata/iso-2022-jp.c
index ce66121..db82578 100644
--- a/iconvdata/iso-2022-jp.c
+++ b/iconvdata/iso-2022-jp.c
@@ -679,7 +679,7 @@ static const cvlist_t conversion_lists[4] =
 	   the character is unknown.					      \
 	   The CJK character sets partially overlap when seen as subsets      \
 	   of ISO 10646; therefore there is no single correct result.	      \
-	   We use a preferrence order which depends on the language tag.  */  \
+	   We use a preference order which depends on the language tag.  */  \
 									      \
 	if (ch <= 0x7f)							      \
 	  {								      \
diff --git a/libidn/toutf8.c b/libidn/toutf8.c
index c7e67ca..fb97691 100644
--- a/libidn/toutf8.c
+++ b/libidn/toutf8.c
@@ -58,7 +58,7 @@
  * nl_langinfo isn't supported or return anything.
  *
  * Note that this function return the application's locale's preferred
- * charset (or thread's locale's preffered charset, if your system
+ * charset (or thread's locale's preferred charset, if your system
  * support thread-specific locales).  It does not return what the
  * system may be using.  Thus, if you receive data from external
  * sources you cannot in general use this function to guess what
diff --git a/ports/sysdeps/hppa/dl-trampoline.S b/ports/sysdeps/hppa/dl-trampoline.S
index 7fda14a..2436b6f 100644
--- a/ports/sysdeps/hppa/dl-trampoline.S
+++ b/ports/sysdeps/hppa/dl-trampoline.S
@@ -234,14 +234,14 @@ L(cpe):
 	/* Save stack pointer */
 	stw	%r1, -4(%sp)
 
-	/* Single byte copy of prevous stack onto newly allocated stack */
+	/* Single byte copy of previous stack onto newly allocated stack */
 1:	ldb	%r28(%r2), %r1
 	add	%r28, %sp, %r26
 	stb	%r1, 0(%r26)
 	addi,<	-1,%r28,%r28
 	b,n	1b
 
-	/* Retore r28 and r27 and r2 already points at -192(%sp) */
+	/* Restore r28 and r27 and r2 already points at -192(%sp) */
 	ldw	0(%r2),%r28
 	ldw	84(%r2),%r26
 
diff --git a/elf/elf.h b/elf/elf.h
index f372271..0201c8c 100644
--- a/elf/elf.h
+++ b/elf/elf.h
@@ -1955,7 +1955,7 @@ typedef Elf32_Addr Elf32_Conflict;
 
 /* Legal values for sh_type field of Elf64_Shdr.  */
 
-/* These two are primerily concerned with ECOFF debugging info.  */
+/* These two are primarily concerned with ECOFF debugging info.  */
 #define SHT_ALPHA_DEBUG		0x70000001
 #define SHT_ALPHA_REGINFO	0x70000002
 
diff --git a/nis/nis_ismember.c b/nis/nis_ismember.c
index 4f2e3f5..0052777 100644
--- a/nis/nis_ismember.c
+++ b/nis/nis_ismember.c
@@ -22,7 +22,7 @@
 /* internal_nis_ismember ()
    return codes: -1 principal is in -group
                   0 principal isn't in any group
-		  1 pirncipal is in group */
+		  1 principal is in group */
 static int
 internal_ismember (const_nis_name principal, const_nis_name group)
 {
diff --git a/ports/sysdeps/hppa/dl-machine.h b/ports/sysdeps/hppa/dl-machine.h
index d2411a6..055ea4d 100644
--- a/ports/sysdeps/hppa/dl-machine.h
+++ b/ports/sysdeps/hppa/dl-machine.h
@@ -334,7 +334,7 @@ asm (									\
 	   just like a branch reloc.  This sequence gets us the		\
 	   runtime address of _DYNAMIC. */				\
 "	bl	0f,%r19\n"						\
-"	depi	0,31,2,%r19\n"	/* clear priviledge bits */		\
+"	depi	0,31,2,%r19\n"	/* clear privilege bits */		\
 "0:	addil	L'_DYNAMIC - ($PIC_pcrel$0 - 8),%r19\n"			\
 "	ldo	R'_DYNAMIC - ($PIC_pcrel$0 - 12)(%r1),%r26\n"		\
 									\
diff --git a/resolv/res_init.c b/resolv/res_init.c
index 5e1a747..d650d26 100644
--- a/resolv/res_init.c
+++ b/resolv/res_init.c
@@ -146,7 +146,7 @@ res_ninit(res_state statp) {
 libc_hidden_def (__res_ninit)
 #endif
 
-/* This function has to be reachable by res_data.c but not publically. */
+/* This function has to be reachable by res_data.c but not publicly. */
 int
 __res_vinit(res_state statp, int preinit) {
 	FILE *fp;
diff --git a/ports/sysdeps/unix/alpha/sysdep.h b/ports/sysdeps/unix/alpha/sysdep.h
index d20bcd6..383c84c 100644
--- a/ports/sysdeps/unix/alpha/sysdep.h
+++ b/ports/sysdeps/unix/alpha/sysdep.h
@@ -200,7 +200,7 @@ __LABEL(name)						\
 #define INTERNAL_SYSCALL_DECL(err) \
 	long int err __attribute__((unused))
 
-/* The normal Alpha calling convention sign-extends 32-bit quantties
+/* The normal Alpha calling convention sign-extends 32-bit quantities
    no matter what the "real" sign of the 32-bit type.  We want to
    preserve that when filling in values for the kernel.  */
 #define syscall_promote(arg) \
diff --git a/sysdeps/ieee754/dbl-64/branred.c b/sysdeps/ieee754/dbl-64/branred.c
index 524d091..958fe07 100644
--- a/sysdeps/ieee754/dbl-64/branred.c
+++ b/sysdeps/ieee754/dbl-64/branred.c
@@ -139,5 +139,5 @@ __branred(double x, double *a, double *aa)
  t=(b-s)+bb;
  *a=s;
  *aa=t;
- return ((int) sum)&3; /* return quater of unit circle */
+ return ((int) sum)&3; /* return quarter of unit circle */
 }
diff --git a/posix/globtest.c b/posix/globtest.c
index dc5a57a..74ae7ea 100644
--- a/posix/globtest.c
+++ b/posix/globtest.c
@@ -106,7 +106,7 @@ main (int argc, char *argv[])
   if ((glob_flags & GLOB_DOOFFS) && g.gl_pathv[0] == NULL)
     g.gl_pathv[0] = (char *) "abc";
 
-  /* Print out the names.  Unless otherwise specified, qoute them.  */
+  /* Print out the names.  Unless otherwise specified, quote them.  */
   if (g.gl_pathv)
     {
       for (i = 0; i < g.gl_offs + g.gl_pathc; ++i)
diff --git a/manual/charset.texi b/manual/charset.texi
index e21502e..3e98412 100644
--- a/manual/charset.texi
+++ b/manual/charset.texi
@@ -1341,7 +1341,7 @@ returns nonzero if the multibyte character code in use actually has a
 shift state.  @xref{Shift State}.
 
 Calling this function with a @var{wchar} argument of zero when
-@var{string} is not null has the side-effect of reinitializing the
+@var{string} is not null has the side-effect of re-initializing the
 stored shift state @emph{as well as} storing the multibyte character
 @code{'\0'} and returning @math{0}.
 @end deftypefun
diff --git a/argp/argp-parse.c b/argp/argp-parse.c
index f68ebab..b7efbf9 100644
--- a/argp/argp-parse.c
+++ b/argp/argp-parse.c
@@ -715,7 +715,7 @@ parser_parse_arg (struct parser *parser, char *val)
 	   the clock back.  */
 	(--group)->args_processed += (parser->state.next - index);
       else
-	/* The user wants to reparse some args, give getopt another try.  */
+	/* The user wants to re-parse some args, give getopt another try.  */
 	parser->try_getopt = 1;
     }
 
diff --git a/posix/wordexp.c b/posix/wordexp.c
index 96ce8a4..34d7db6 100644
--- a/posix/wordexp.c
+++ b/posix/wordexp.c
@@ -1416,7 +1416,7 @@ parse_param (char **word, size_t *word_length, size_t *max_length,
 	}
     }
 
-  /* End of input string -- remember to reparse the character that we
+  /* End of input string -- remember to re-parse the character that we
    * stopped at.  */
   --(*offset);
 
diff --git a/ports/sysdeps/ia64/fpu/e_acos.S b/ports/sysdeps/ia64/fpu/e_acos.S
index c2b31ab..9659063 100644
--- a/ports/sysdeps/ia64/fpu/e_acos.S
+++ b/ports/sysdeps/ia64/fpu/e_acos.S
@@ -89,7 +89,7 @@
 //
 //        S3 approximates sqrt(R) with enough accuracy for this algorithm
 //
-//    So, the result should be reconstracted as follows:
+//    So, the result should be reconstructed as follows:
 //    acos(x) = Pi/2 - sign(x) * (Pi/2 - S3*PolB(R))
 //
 //    But for optimization purposes the reconstruction step is slightly
diff --git a/ports/sysdeps/ia64/fpu/e_asin.S b/ports/sysdeps/ia64/fpu/e_asin.S
index f995c59..1bbc01d 100644
--- a/ports/sysdeps/ia64/fpu/e_asin.S
+++ b/ports/sysdeps/ia64/fpu/e_asin.S
@@ -88,10 +88,10 @@
 //
 //        S3 approximates sqrt(R) with enough accuracy for this algorithm
 //
-//    So, the result should be reconstracted as follows:
+//    So, the result should be reconstructed as follows:
 //    asin(x) = sign(x) * (Pi/2 - S3*PolB(R))
 //
-//    But for optimization perposes the reconstruction step is slightly
+//    But for optimization purposes the reconstruction step is slightly
 //    changed:
 //    asin(x) = sign(x)*(Pi/2 - PolB(R)*S2) + sign(x)*d2*S2*PolB(R)
 //
diff --git a/ports/sysdeps/ia64/fpu/w_tgammal.S b/ports/sysdeps/ia64/fpu/w_tgammal.S
index ca60eed..a401d62 100644
--- a/ports/sysdeps/ia64/fpu/w_tgammal.S
+++ b/ports/sysdeps/ia64/fpu/w_tgammal.S
@@ -2446,7 +2446,7 @@ tgamma_lt_13:
 { .mfi
       ldfe          FR_r_A8        = [GR_r_sin_Table], 16
       nop.f         0
-(p12) tbit.nz.unc   p13, p12       = GR_p_XN, 0x0 // p13: reccurent computations
+(p12) tbit.nz.unc   p13, p12       = GR_p_XN, 0x0 // p13: recurrent computations
                                       // X is at [3;4], [5;6], [7;8]... interval
 }
 { .mfi
diff --git a/ports/sysdeps/ia64/fpu/w_tgammal.S b/ports/sysdeps/ia64/fpu/w_tgammal.S
index ca60eed..a401d62 100644
--- a/ports/sysdeps/ia64/fpu/w_tgammal.S
+++ b/ports/sysdeps/ia64/fpu/w_tgammal.S
@@ -120,7 +120,7 @@
 //       and get final result.
 //
 // 3) 0 < |X| < 1 - Near 0 part
-//    a) Here we use reccurent formula TGAMMAL(X) = TGAMMAL(X+1)/X
+//    a) Here we use recurrent formula TGAMMAL(X) = TGAMMAL(X+1)/X
 //       TGAMMAL(X+1) calculated as shown above,
 //       1/X result obtained in parallel. Then we just multiply these values.
 //       There is only additional separated subrange: [0;0.125] with specific
diff --git a/ports/sysdeps/ia64/fpu/w_tgammal.S b/ports/sysdeps/ia64/fpu/w_tgammal.S
index ca60eed..a401d62 100644
--- a/ports/sysdeps/ia64/fpu/w_tgammal.S
+++ b/ports/sysdeps/ia64/fpu/w_tgammal.S
@@ -108,7 +108,7 @@
 //       and first 6 multiprecision computations.
 //       Range reduction looks like
 //       N = [x] with truncate, r = x - N - 0.5, -0.5 <= r < 0.5
-//       For odd intervals we use reccurent formula:
+//       For odd intervals we use recurrent formula:
 //       TGAMMAL(X) = TGAMMA(X-1)*(X-1)
 //       [1;2] interval is splitted to 3 subranges:
 //       [1;1.25], [1.25;1.75], [1.75;2] with the same polynomial forms
diff --git a/sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h b/sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
index 935a68c..e886c3b 100644
--- a/sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
+++ b/sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
@@ -66,7 +66,7 @@ typedef struct
  * the mcontext upto but not including the v_regs field.  For kernels that
  * don't AT_HWCAP or return AT_HWCAP without PPC_FEATURE_HAS_ALTIVEC the
  * v_regs field may not exit and should not be referenced.  The v_regd field
- * can be refernced safely only after verifying that PPC_FEATURE_HAS_ALTIVEC
+ * can be referenced safely only after verifying that PPC_FEATURE_HAS_ALTIVEC
  * is set in AT_HWCAP.  */
 
 /* Number of general registers.  */
diff --git a/sunrpc/xdr_ref.c b/sunrpc/xdr_ref.c
index 8fb4584..6755bd9 100644
--- a/sunrpc/xdr_ref.c
+++ b/sunrpc/xdr_ref.c
@@ -50,7 +50,7 @@
  * referenced by a pointer inside the structure that is currently being
  * translated.  pp references a pointer to storage. If *pp is null
  * the  necessary storage is allocated.
- * size is the size of the referneced structure.
+ * size is the size of the referenced structure.
  * proc is the routine to handle the referenced structure.
  */
 bool_t
diff --git a/ports/sysdeps/unix/sysv/linux/aarch64/ucontext-internal.h b/ports/sysdeps/unix/sysv/linux/aarch64/ucontext-internal.h
index 51cbeec..db4ab15 100644
--- a/ports/sysdeps/unix/sysv/linux/aarch64/ucontext-internal.h
+++ b/ports/sysdeps/unix/sysv/linux/aarch64/ucontext-internal.h
@@ -20,7 +20,7 @@
 
 #define SP_ALIGN_MASK	   ~15
 
-/* Size of an X regiser in bytes. */
+/* Size of an X register in bytes. */
 #define SZREG                8
 
 /* Size of a V register in bytes. */
diff --git a/ports/sysdeps/unix/sysv/linux/aarch64/clone.S b/ports/sysdeps/unix/sysv/linux/aarch64/clone.S
index b359e6e..fa6cb4d 100644
--- a/ports/sysdeps/unix/sysv/linux/aarch64/clone.S
+++ b/ports/sysdeps/unix/sysv/linux/aarch64/clone.S
@@ -54,7 +54,7 @@ ENTRY(__clone)
 	mov	x4, x6			/* ctid  */
 
 #ifdef RESET_PID
-	/* We rely on the kernel preserving the argument regsiters across a
+	/* We rely on the kernel preserving the argument registers across a
 	   each system call so that we can inspect the flags against after
 	   the clone call.  */
 	mov	x5, x0
diff --git a/ports/sysdeps/unix/sysv/linux/microblaze/sysdep.h b/ports/sysdeps/unix/sysv/linux/microblaze/sysdep.h
index 0522dc0..c827002 100644
--- a/ports/sysdeps/unix/sysv/linux/microblaze/sysdep.h
+++ b/ports/sysdeps/unix/sysv/linux/microblaze/sysdep.h
@@ -37,7 +37,7 @@
 #ifdef __ASSEMBLER__
 
 /* In microblaze ABI function call arguments are passed in registers
-   r5...r10. The return value is stored in r3 (or r3:r4 regiters pair).
+   r5...r10. The return value is stored in r3 (or r3:r4 registers pair).
    Linux syscall uses the same convention with the addition that the
    syscall number is passed in r12. To enter the kernel "brki r14,8"
    instruction is used.
diff --git a/sysdeps/unix/sysv/linux/sparc/sys/ucontext.h b/sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
index 1a3d4b5..cc5a309 100644
--- a/sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
+++ b/sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
@@ -142,7 +142,7 @@ typedef greg_t  gregset_t[NGREG];
  * The following structures define how a register window can appear on the
  * stack. This structure is available (when required) through the `gwins'
  * field of an mcontext (nested within ucontext). SPARC_MAXWINDOW is the
- * maximum number of outstanding regiters window defined in the SPARC
+ * maximum number of outstanding registers window defined in the SPARC
  * architecture (*not* implementation).
  */
 #define SPARC_MAXREGWINDOW	31	/* max windows in SPARC arch. */
diff --git a/sysdeps/s390/s390-32/setjmp.S b/sysdeps/s390/s390-32/setjmp.S
index 3183a44..9cd150b 100644
--- a/sysdeps/s390/s390-32/setjmp.S
+++ b/sysdeps/s390/s390-32/setjmp.S
@@ -27,20 +27,20 @@
 ENTRY (setjmp)
 	.weak C_SYMBOL_NAME (setjmp)
 	lhi    %r3,1                /* second argument of one */
-	j      .Linternal_sigsetjmp /* branch relativ to __sigsetjmp */
+	j      .Linternal_sigsetjmp /* branch relative to __sigsetjmp */
 END (setjmp)
 
 	/* Binary compatibility entry point.  */
 ENTRY(_setjmp)
 	.weak  C_SYMBOL_NAME (_setjmp)
 	lhi    %r3,0                /* second argument of zero */
-	j      .Linternal_sigsetjmp /* branch relativ to __sigsetjmp */
+	j      .Linternal_sigsetjmp /* branch relative to __sigsetjmp */
 END (_setjmp)
 libc_hidden_def (_setjmp)
 
 ENTRY(__setjmp)
 	lhi    %r3,0                /* second argument of zero */
-	j      .Linternal_sigsetjmp /* branch relativ to __sigsetjmp */
+	j      .Linternal_sigsetjmp /* branch relative to __sigsetjmp */
 END (__setjmp)
 
 ENTRY(__sigsetjmp)
diff --git a/sysdeps/s390/s390-64/setjmp.S b/sysdeps/s390/s390-64/setjmp.S
index 6269dbf..3232eaf 100644
--- a/sysdeps/s390/s390-64/setjmp.S
+++ b/sysdeps/s390/s390-64/setjmp.S
@@ -27,20 +27,20 @@
 ENTRY (setjmp)
 	.weak C_SYMBOL_NAME (setjmp)
         lghi   %r3,1                /* Second argument of one.  */
-        j      .Linternal_sigsetjmp /* Branch relativ to __sigsetjmp.  */
+        j      .Linternal_sigsetjmp /* Branch relative to __sigsetjmp.  */
 END (setjmp)
 
 	/* Binary compatibility entry point.  */
 ENTRY(_setjmp)
         .weak  C_SYMBOL_NAME (_setjmp)
         slgr   %r3,%r3              /* Second argument of zero.  */
-        j      .Linternal_sigsetjmp /* Branch relativ to __sigsetjmp.  */
+        j      .Linternal_sigsetjmp /* Branch relative to __sigsetjmp.  */
 END (setjmp)
 libc_hidden_def (_setjmp)
 
 ENTRY(__setjmp)
         slgr   %r3,%r3              /* Second argument of zero.  */
-        j      .Linternal_sigsetjmp /* Branch relativ to __sigsetjmp.  */
+        j      .Linternal_sigsetjmp /* Branch relative to __sigsetjmp.  */
 END (setjmp)
 
 ENTRY(__sigsetjmp)
diff --git a/argp/argp-help.c b/argp/argp-help.c
index 4b83737..ee39387 100644
--- a/argp/argp-help.c
+++ b/argp/argp-help.c
@@ -1540,7 +1540,7 @@ argp_doc (const struct argp *argp, const struct argp_state *state,
 }
 \f
 /* Output a usage message for ARGP to STREAM.  If called from
-   argp_state_help, STATE is the relevent parsing state.  FLAGS are from the
+   argp_state_help, STATE is the relevant parsing state.  FLAGS are from the
    set ARGP_HELP_*.  NAME is what to use wherever a `program name' is
    needed. */
 static void
diff --git a/elf/rtld.c b/elf/rtld.c
index 91da88c..b652650 100644
--- a/elf/rtld.c
+++ b/elf/rtld.c
@@ -2174,7 +2174,7 @@ ERROR: ld.so: object '%s' cannot be loaded as audit interface: %s; ignored.\n",
       hp_timing_t stop;
 #endif
 
-      /* If we are profiling we also must do lazy reloaction.  */
+      /* If we are profiling we also must do lazy relocation.  */
       GLRO(dl_lazy) |= consider_profiling;
 
       HP_TIMING_NOW (start);
diff --git a/ports/sysdeps/mips/memcpy.S b/ports/sysdeps/mips/memcpy.S
index aeea491..b47b846 100644
--- a/ports/sysdeps/mips/memcpy.S
+++ b/ports/sysdeps/mips/memcpy.S
@@ -298,7 +298,7 @@ L(memcpy):
 
 	andi	a3,a3,(NSIZE-1)		/* copy a3 bytes to align a0/a1	  */
 	beq	a3,zero,L(aligned)	/* if a3=0, it is already aligned */
-	PTR_SUBU a2,a2,a3		/* a2 is the remining bytes count */
+	PTR_SUBU a2,a2,a3		/* a2 is the remaining bytes count */
 
 	C_LDHI	t8,0(a1)
 	PTR_ADDU a1,a1,a3
diff --git a/ports/sysdeps/mips/memcpy.S b/ports/sysdeps/mips/memcpy.S
index aeea491..b47b846 100644
--- a/ports/sysdeps/mips/memcpy.S
+++ b/ports/sysdeps/mips/memcpy.S
@@ -488,7 +488,7 @@ L(leave):
 L(unaligned):
 	andi	a3,a3,(NSIZE-1)	/* copy a3 bytes to align a0/a1 */
 	beqz	a3,L(ua_chk16w) /* if a3=0, it is already aligned */
-	PTR_SUBU a2,a2,a3	/* a2 is the remining bytes count */
+	PTR_SUBU a2,a2,a3	/* a2 is the remaining bytes count */
 
 	C_LDHI	v1,UNIT(0)(a1)
 	C_LDLO	v1,UNITM1(1)(a1)
diff --git a/nptl_db/td_thr_get_info.c b/nptl_db/td_thr_get_info.c
index 18d0a2b..8801c97 100644
--- a/nptl_db/td_thr_get_info.c
+++ b/nptl_db/td_thr_get_info.c
@@ -79,7 +79,7 @@ td_thr_get_info (const td_thrhandle_t *th, td_thrinfo_t *infop)
   if (err != TD_OK)
     return err;
 
-  /* Fill in information.  Clear first to provide reproducable
+  /* Fill in information.  Clear first to provide reproducible
      results for the fields we do not fill in.  */
   memset (infop, '\0', sizeof (td_thrinfo_t));
 
diff --git a/nis/rpcsvc/yp_prot.h b/nis/rpcsvc/yp_prot.h
index ae0db36..ae6a50a 100644
--- a/nis/rpcsvc/yp_prot.h
+++ b/nis/rpcsvc/yp_prot.h
@@ -301,7 +301,7 @@ enum yppush_status {
 #define YPPUSH_NOMAP 	YPPUSH_NOMAP
   YPPUSH_NODOM = -2,		/* Domain not supported */
 #define YPPUSH_NODOM 	YPPUSH_NODOM
-  YPPUSH_RSRC = -3,		/* Local resouce alloc failure */
+  YPPUSH_RSRC = -3,		/* Local resource alloc failure */
 #define YPPUSH_RSRC 	YPPUSH_RSRC
   YPPUSH_RPC = -4,		/* RPC failure talking to server */
 #define YPPUSH_RPC 	YPPUSH_RPC
diff --git a/elf/dl-load.c b/elf/dl-load.c
index 655e38e..9ab79d8 100644
--- a/elf/dl-load.c
+++ b/elf/dl-load.c
@@ -119,7 +119,7 @@ int __stack_prot attribute_hidden attribute_relro
    long respectively.  I.e., even with a file which has 10 program
    header entries we only have to read 372B/624B respectively.  Add to
    this a bit of margin for program notes and reading 512B and 832B
-   for 32-bit and 64-bit files respecitvely is enough.  If this
+   for 32-bit and 64-bit files respectively is enough.  If this
    heuristic should really fail for some file the code in
    `_dl_map_object_from_fd' knows how to recover.  */
 struct filebuf
diff --git a/ports/sysdeps/hppa/dl-trampoline.S b/ports/sysdeps/hppa/dl-trampoline.S
index 7fda14a..2436b6f 100644
--- a/ports/sysdeps/hppa/dl-trampoline.S
+++ b/ports/sysdeps/hppa/dl-trampoline.S
@@ -277,7 +277,7 @@ L(cont):
 
 	/* Unwind the stack */
 	ldo	192(%sp),%sp
-	/* Retore callers rp */
+	/* Restore callers rp */
         ldw -20(%sp),%rp
 	/* Return */
 	bv,n	0(%r2)
diff --git a/iconvdata/ibm1364.c b/iconvdata/ibm1364.c
index 0dfa250..860ab3a 100644
--- a/iconvdata/ibm1364.c
+++ b/iconvdata/ibm1364.c
@@ -91,7 +91,7 @@
 
 
 /* Since we might have to reset input pointer we must be able to save
-   and retore the state.  */
+   and restore the state.  */
 #define SAVE_RESET_STATE(Save) \
   if (Save)								      \
     save_curcs = *curcsp;						      \
diff --git a/iconvdata/ibm930.c b/iconvdata/ibm930.c
index 86477a7..86081bf 100644
--- a/iconvdata/ibm930.c
+++ b/iconvdata/ibm930.c
@@ -75,7 +75,7 @@
 
 
 /* Since we might have to reset input pointer we must be able to save
-   and retore the state.  */
+   and restore the state.  */
 #define SAVE_RESET_STATE(Save) \
   if (Save)								      \
     save_curcs = *curcsp;						      \
diff --git a/iconvdata/ibm933.c b/iconvdata/ibm933.c
index 145d12f..725ee26 100644
--- a/iconvdata/ibm933.c
+++ b/iconvdata/ibm933.c
@@ -75,7 +75,7 @@
 
 
 /* Since we might have to reset input pointer we must be able to save
-   and retore the state.  */
+   and restore the state.  */
 #define SAVE_RESET_STATE(Save) \
   if (Save)								      \
     save_curcs = *curcsp;						      \
diff --git a/iconvdata/ibm935.c b/iconvdata/ibm935.c
index 7d5628b..eb69362 100644
--- a/iconvdata/ibm935.c
+++ b/iconvdata/ibm935.c
@@ -75,7 +75,7 @@
 
 
 /* Since we might have to reset input pointer we must be able to save
-   and retore the state.  */
+   and restore the state.  */
 #define SAVE_RESET_STATE(Save) \
   if (Save)								      \
     save_curcs = *curcsp;						      \
diff --git a/iconvdata/ibm937.c b/iconvdata/ibm937.c
index b913cbb..65cc4b0 100644
--- a/iconvdata/ibm937.c
+++ b/iconvdata/ibm937.c
@@ -75,7 +75,7 @@
 
 
 /* Since we might have to reset input pointer we must be able to save
-   and retore the state.  */
+   and restore the state.  */
 #define SAVE_RESET_STATE(Save) \
   if (Save)								      \
     save_curcs = *curcsp;						      \
diff --git a/iconvdata/ibm939.c b/iconvdata/ibm939.c
index d42b98c..3940695 100644
--- a/iconvdata/ibm939.c
+++ b/iconvdata/ibm939.c
@@ -75,7 +75,7 @@
 
 
 /* Since we might have to reset input pointer we must be able to save
-   and retore the state.  */
+   and restore the state.  */
 #define SAVE_RESET_STATE(Save) \
   if (Save)								      \
     save_curcs = *curcsp;						      \
diff --git a/iconvdata/iso-2022-cn-ext.c b/iconvdata/iso-2022-cn-ext.c
index 4d2f58b..c2516b1 100644
--- a/iconvdata/iso-2022-cn-ext.c
+++ b/iconvdata/iso-2022-cn-ext.c
@@ -153,7 +153,7 @@ enum
 
 
 /* Since we might have to reset input pointer we must be able to save
-   and retore the state.  */
+   and restore the state.  */
 #define SAVE_RESET_STATE(Save) \
   if (Save)								      \
     save_set = *setp;							      \
diff --git a/iconvdata/iso-2022-cn.c b/iconvdata/iso-2022-cn.c
index e15fa9f..825d18c 100644
--- a/iconvdata/iso-2022-cn.c
+++ b/iconvdata/iso-2022-cn.c
@@ -102,7 +102,7 @@ enum
 
 
 /* Since we might have to reset input pointer we must be able to save
-   and retore the state.  */
+   and restore the state.  */
 #define SAVE_RESET_STATE(Save) \
   if (Save)								      \
     save_set = *setp;							      \
diff --git a/iconvdata/iso-2022-jp-3.c b/iconvdata/iso-2022-jp-3.c
index 03eb610..8b4ccc7 100644
--- a/iconvdata/iso-2022-jp-3.c
+++ b/iconvdata/iso-2022-jp-3.c
@@ -134,7 +134,7 @@ enum
 
 
 /* Since we might have to reset input pointer we must be able to save
-   and retore the state.  */
+   and restore the state.  */
 #define SAVE_RESET_STATE(Save) \
   if (Save)								      \
     saved_state = *statep;						      \
diff --git a/iconvdata/iso-2022-jp.c b/iconvdata/iso-2022-jp.c
index ce66121..db82578 100644
--- a/iconvdata/iso-2022-jp.c
+++ b/iconvdata/iso-2022-jp.c
@@ -249,7 +249,7 @@ gconv_end (struct __gconv_step *data)
 
 
 /* Since we might have to reset input pointer we must be able to save
-   and retore the state.  */
+   and restore the state.  */
 #define SAVE_RESET_STATE(Save) \
   if (Save)								      \
     save_set = *setp;							      \
diff --git a/iconvdata/iso-2022-kr.c b/iconvdata/iso-2022-kr.c
index 8e26ea9..16fd708 100644
--- a/iconvdata/iso-2022-kr.c
+++ b/iconvdata/iso-2022-kr.c
@@ -100,7 +100,7 @@ enum
 
 
 /* Since we might have to reset input pointer we must be able to save
-   and retore the state.  */
+   and restore the state.  */
 #define SAVE_RESET_STATE(Save) \
   if (Save)								      \
     save_set = *setp;							      \
diff --git a/iconvdata/bug-iconv8.c b/iconvdata/bug-iconv8.c
index b91dc1d..0d7b905 100644
--- a/iconvdata/bug-iconv8.c
+++ b/iconvdata/bug-iconv8.c
@@ -29,7 +29,7 @@ do_test (void)
    /*
     * result: -1 84 0 0        (84=EILSEQ)
     *
-    * Error is returnd but inbuf is consumed.
+    * Error is returned but inbuf is consumed.
     *
     * \x83\xd9 is valid shift-jis sequence but no character is assigned
     * to it.
diff --git a/ports/sysdeps/unix/sysv/linux/hppa/clone.S b/ports/sysdeps/unix/sysv/linux/hppa/clone.S
index 0d7a7eb..cfbf0f0 100644
--- a/ports/sysdeps/unix/sysv/linux/hppa/clone.S
+++ b/ports/sysdeps/unix/sysv/linux/hppa/clone.S
@@ -53,7 +53,7 @@
 
    Return:
 
-	On success the thread ID of the child process is returend in
+	On success the thread ID of the child process is returned in
 	the callers context.
 	On error return -1, and set errno to the value returned by
 	the syscall.
diff --git a/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S b/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S
index 9438800..afe6f55 100644
--- a/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S
+++ b/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S
@@ -27,7 +27,7 @@
 	   back out.
 
 	   This will clear out the fractional portion of the value and,
-	   with suitable 'siam' initiated rouding mode settings, round
+	   with suitable 'siam' initiated rounding mode settings, round
 	   the final result in the proper direction.  */
 
 #define TWO_FIFTYTWO	0x43300000		/* 2**52 */
diff --git a/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S b/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S
index aebff5c..842185a 100644
--- a/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S
+++ b/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S
@@ -27,7 +27,7 @@
 	   back out.
 
 	   This will clear out the fractional portion of the value and,
-	   with suitable 'siam' initiated rouding mode settings, round
+	   with suitable 'siam' initiated rounding mode settings, round
 	   the final result in the proper direction.
 
 	   We also use VIS3 moves to avoid using the stack to transfer
diff --git a/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S b/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S
index bc51676..983631f 100644
--- a/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S
+++ b/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S
@@ -27,7 +27,7 @@
 	   back out.
 
 	   This will clear out the fractional portion of the value and,
-	   with suitable 'siam' initiated rouding mode settings, round
+	   with suitable 'siam' initiated rounding mode settings, round
 	   the final result in the proper direction.  */
 
 #define TWO_TWENTYTHREE	0x4b000000		/* 2**23 */
diff --git a/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S b/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S
index 0a6768c..6c310fb 100644
--- a/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S
+++ b/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S
@@ -27,7 +27,7 @@
 	   back out.
 
 	   This will clear out the fractional portion of the value and,
-	   with suitable 'siam' initiated rouding mode settings, round
+	   with suitable 'siam' initiated rounding mode settings, round
 	   the final result in the proper direction.
 
 	   We also use VIS3 moves to avoid using the stack to transfer
diff --git a/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S b/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S
index 3b5e8fd..41b0f4d 100644
--- a/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S
+++ b/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S
@@ -27,7 +27,7 @@
 	   back out.
 
 	   This will clear out the fractional portion of the value and,
-	   with suitable 'siam' initiated rouding mode settings, round
+	   with suitable 'siam' initiated rounding mode settings, round
 	   the final result in the proper direction.  */
 
 #define TWO_FIFTYTWO	0x43300000		/* 2**52 */
diff --git a/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S b/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S
index 41fdfac..0b44aef 100644
--- a/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S
+++ b/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S
@@ -27,7 +27,7 @@
 	   back out.
 
 	   This will clear out the fractional portion of the value and,
-	   with suitable 'siam' initiated rouding mode settings, round
+	   with suitable 'siam' initiated rounding mode settings, round
 	   the final result in the proper direction.
 
 	   We also use VIS3 moves to avoid using the stack to transfer
diff --git a/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S b/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S
index 4f73121..db906e1 100644
--- a/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S
+++ b/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S
@@ -27,7 +27,7 @@
 	   back out.
 
 	   This will clear out the fractional portion of the value and,
-	   with suitable 'siam' initiated rouding mode settings, round
+	   with suitable 'siam' initiated rounding mode settings, round
 	   the final result in the proper direction.  */
 
 #define TWO_TWENTYTHREE	0x4b000000		/* 2**23 */
diff --git a/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S b/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S
index fe2d2da..2be673b 100644
--- a/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S
+++ b/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S
@@ -27,7 +27,7 @@
 	   back out.
 
 	   This will clear out the fractional portion of the value and,
-	   with suitable 'siam' initiated rouding mode settings, round
+	   with suitable 'siam' initiated rounding mode settings, round
 	   the final result in the proper direction.
 
 	   We also use VIS3 moves to avoid using the stack to transfer
diff --git a/sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S b/sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S
index 50d96a6..d9702a1 100644
--- a/sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S
+++ b/sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S
@@ -27,7 +27,7 @@
 	   back out.
 
 	   This will clear out the fractional portion of the value and,
-	   with suitable 'siam' initiated rouding mode settings, round
+	   with suitable 'siam' initiated rounding mode settings, round
 	   the final result in the proper direction.  */
 
 #define TWO_FIFTYTWO	0x43300000		/* 2**52 */
diff --git a/sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S b/sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S
index 6acff09..dfa8551 100644
--- a/sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S
+++ b/sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S
@@ -27,7 +27,7 @@
 	   back out.
 
 	   This will clear out the fractional portion of the value and,
-	   with suitable 'siam' initiated rouding mode settings, round
+	   with suitable 'siam' initiated rounding mode settings, round
 	   the final result in the proper direction.
 
 	   We also use VIS3 moves to avoid using the stack to transfer
diff --git a/sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S b/sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S
index cd5937b..ce3070b 100644
--- a/sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S
+++ b/sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S
@@ -27,7 +27,7 @@
 	   back out.
 
 	   This will clear out the fractional portion of the value and,
-	   with suitable 'siam' initiated rouding mode settings, round
+	   with suitable 'siam' initiated rounding mode settings, round
 	   the final result in the proper direction.  */
 
 #define TWO_TWENTYTHREE	0x4b000000		/* 2**23 */
diff --git a/sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S b/sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S
index b3ec348..b88703c 100644
--- a/sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S
+++ b/sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S
@@ -27,7 +27,7 @@
 	   back out.
 
 	   This will clear out the fractional portion of the value and,
-	   with suitable 'siam' initiated rouding mode settings, round
+	   with suitable 'siam' initiated rounding mode settings, round
 	   the final result in the proper direction.
 
 	   We also use VIS3 moves to avoid using the stack to transfer
diff --git a/sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S b/sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S
index 5479ced..bc0115b 100644
--- a/sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S
+++ b/sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S
@@ -27,7 +27,7 @@
 	   back out.
 
 	   This will clear out the fractional portion of the value and,
-	   with suitable 'siam' initiated rouding mode settings, round
+	   with suitable 'siam' initiated rounding mode settings, round
 	   the final result in the proper direction.  */
 
 #define TWO_FIFTYTWO	0x43300000		/* 2**52 */
diff --git a/sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S b/sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S
index c2ffe9f..80ea982 100644
--- a/sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S
+++ b/sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S
@@ -27,7 +27,7 @@
 	   back out.
 
 	   This will clear out the fractional portion of the value and,
-	   with suitable 'siam' initiated rouding mode settings, round
+	   with suitable 'siam' initiated rounding mode settings, round
 	   the final result in the proper direction.
 
 	   We also use VIS3 moves to avoid using the stack to transfer
diff --git a/sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S b/sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S
index 935fa85..22defe1 100644
--- a/sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S
+++ b/sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S
@@ -27,7 +27,7 @@
 	   back out.
 
 	   This will clear out the fractional portion of the value and,
-	   with suitable 'siam' initiated rouding mode settings, round
+	   with suitable 'siam' initiated rounding mode settings, round
 	   the final result in the proper direction.  */
 
 #define TWO_TWENTYTHREE	0x4b000000		/* 2**23 */
diff --git a/sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S b/sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S
index 225e17e..3a5fb9f 100644
--- a/sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S
+++ b/sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S
@@ -27,7 +27,7 @@
 	   back out.
 
 	   This will clear out the fractional portion of the value and,
-	   with suitable 'siam' initiated rouding mode settings, round
+	   with suitable 'siam' initiated rounding mode settings, round
 	   the final result in the proper direction.
 
 	   We also use VIS3 moves to avoid using the stack to transfer
diff --git a/ports/sysdeps/alpha/fpu/bits/fenv.h b/ports/sysdeps/alpha/fpu/bits/fenv.h
index 7c74f53..f5717e3 100644
--- a/ports/sysdeps/alpha/fpu/bits/fenv.h
+++ b/ports/sysdeps/alpha/fpu/bits/fenv.h
@@ -66,7 +66,7 @@ enum
       FE_ALL_EXCEPT
   };
 
-/* Alpha chips support all four defined rouding modes.
+/* Alpha chips support all four defined rounding modes.
 
    Note that code must be compiled to use dynamic rounding (/d) instructions
    to see these changes.  For gcc this is -mfp-rounding-mode=d; for DEC cc
diff --git a/nptl/tst-kill4.c b/nptl/tst-kill4.c
index d4f9d0c..bb61b05 100644
--- a/nptl/tst-kill4.c
+++ b/nptl/tst-kill4.c
@@ -68,7 +68,7 @@ do_test (void)
      the implementation.  Namely, that the memory allocated for the
      thread descriptor is not going away, that the TID field is
      cleared and therefore the signal is sent to process 0, and that
-     we can savely assume there is no other process with this ID at
+     we can safely assume there is no other process with this ID at
      that time.  */
   int e = pthread_kill (th, 0);
   if (e == 0)
diff --git a/gmon/mcount.c b/gmon/mcount.c
index 0c2acd2..f14e317 100644
--- a/gmon/mcount.c
+++ b/gmon/mcount.c
@@ -87,7 +87,7 @@ _MCOUNT_DECL(frompc, selfpc)	/* _mcount; may be static, inline, etc */
 	   But we can simplify this if we assume the profiling data
 	   is always initialized by the functions in gmon.c.  But
 	   then it is possible to avoid a runtime check and use the
-	   smae `if' as in gmon.c.  So keep these tests in sync.  */
+	   same `if' as in gmon.c.  So keep these tests in sync.  */
 	if ((HASHFRACTION & (HASHFRACTION - 1)) == 0) {
 	  /* avoid integer divide if possible: */
 	    i = frompc >> p->log_hashfraction;
diff --git a/ports/sysdeps/ia64/fpu/s_erfl.S b/ports/sysdeps/ia64/fpu/s_erfl.S
index ebb1bed..3d195b0 100644
--- a/ports/sysdeps/ia64/fpu/s_erfl.S
+++ b/ports/sysdeps/ia64/fpu/s_erfl.S
@@ -1029,7 +1029,7 @@ GLOBAL_LIBM_ENTRY(erfl)
       br.ret.sptk    b0          // Main path return
 };;
 
-//  satiration path ////////////////////////////////////////////////////////////
+//  saturation path ////////////////////////////////////////////////////////////
 _saturation:
 
 .pred.rel "mutex",p14,p15
diff --git a/ports/sysdeps/ia64/fpu/s_tanhl.S b/ports/sysdeps/ia64/fpu/s_tanhl.S
index 8da6afb..6d6c529 100644
--- a/ports/sysdeps/ia64/fpu/s_tanhl.S
+++ b/ports/sysdeps/ia64/fpu/s_tanhl.S
@@ -1196,7 +1196,7 @@ GLOBAL_LIBM_ENTRY(tanhl)
       br.ret.sptk    b0      // Main path return
 };;
 
-//  satiration path ////////////////////////////////////////////////////////////
+//  saturation path ////////////////////////////////////////////////////////////
 _saturation:
 
 .pred.rel "mutex",p14,p15
diff --git a/ports/sysdeps/am33/fpu/feupdateenv.c b/ports/sysdeps/am33/fpu/feupdateenv.c
index 3d7a164..5d81093 100644
--- a/ports/sysdeps/am33/fpu/feupdateenv.c
+++ b/ports/sysdeps/am33/fpu/feupdateenv.c
@@ -34,7 +34,7 @@ __feupdateenv (const fenv_t *envp)
   /* Install new environment.  */
   fesetenv (envp);
 
-  /* Raise the safed exception.  Incidently for us the implementation
+  /* Raise the saved exception.  Incidently for us the implementation
      defined format of the values in objects of type fexcept_t is the
      same as the ones specified using the FE_* constants.  */
   feraiseexcept (temp);
diff --git a/ports/sysdeps/mips/fpu/feupdateenv.c b/ports/sysdeps/mips/fpu/feupdateenv.c
index 6052861..d6dba32 100644
--- a/ports/sysdeps/mips/fpu/feupdateenv.c
+++ b/ports/sysdeps/mips/fpu/feupdateenv.c
@@ -32,7 +32,7 @@ feupdateenv (const fenv_t *envp)
   /* Install new environment.  */
   fesetenv (envp);
 
-  /* Raise the safed exception.  Incidently for us the implementation
+  /* Raise the saved exception.  Incidently for us the implementation
      defined format of the values in objects of type fexcept_t is the
      same as the ones specified using the FE_* constants.  */
   feraiseexcept (temp);
diff --git a/sysdeps/sparc/fpu/feupdateenv.c b/sysdeps/sparc/fpu/feupdateenv.c
index a47d0bf..1e1617a 100644
--- a/sysdeps/sparc/fpu/feupdateenv.c
+++ b/sysdeps/sparc/fpu/feupdateenv.c
@@ -31,7 +31,7 @@ __feupdateenv (const fenv_t *envp)
   /* Install new environment.  */
   fesetenv (envp);
 
-  /* Raise the safed exception.  Incidently for us the implementation
+  /* Raise the saved exception.  Incidently for us the implementation
      defined format of the values in objects of type fexcept_t is the
      same as the ones specified using the FE_* constants.  */
   feraiseexcept ((int) tmp);
diff --git a/sysdeps/generic/inttypes.h b/sysdeps/generic/inttypes.h
index 95d7818..6defebd 100644
--- a/sysdeps/generic/inttypes.h
+++ b/sysdeps/generic/inttypes.h
@@ -255,7 +255,7 @@ typedef wchar_t __gwchar_t;
 # define SCNuMAX	__PRI64_PREFIX "u"
 # define SCNxMAX	__PRI64_PREFIX "x"
 
-/* Macros for scaning `intptr_t' and `uintptr_t'.  */
+/* Macros for scanning `intptr_t' and `uintptr_t'.  */
 # define SCNdPTR	__PRIPTR_PREFIX "d"
 # define SCNiPTR	__PRIPTR_PREFIX "i"
 # define SCNoPTR	__PRIPTR_PREFIX "o"
diff --git a/nscd/hstcache.c b/nscd/hstcache.c
index 0d421fc..8918f61 100644
--- a/nscd/hstcache.c
+++ b/nscd/hstcache.c
@@ -415,7 +415,7 @@ cache_addhst (struct database_dyn *db, int fd, request_header *req,
 	    }
 
 	  /* NB: the following code is really complicated.  It has
-	     seemlingly duplicated code paths which do the same.  The
+	     seemingly duplicated code paths which do the same.  The
 	     problem is that we always must add the hash table entry
 	     with the FIRST flag set first.  Otherwise we get dangling
 	     pointers in case memory allocation fails.  */
diff --git a/sysdeps/i386/strpbrk.S b/sysdeps/i386/strpbrk.S
index bbc0cbe..b205b14 100644
--- a/sysdeps/i386/strpbrk.S
+++ b/sysdeps/i386/strpbrk.S
@@ -1,4 +1,4 @@
-/* strcspn (str, ss) -- Return the length of the initial segement of STR
+/* strcspn (str, ss) -- Return the length of the initial segment of STR
 			which contains no characters from SS.
    For Intel 80x86, x>=3.
    Copyright (C) 1994-2013 Free Software Foundation, Inc.
diff --git a/localedata/tests-mbwc/dat_wcscmp.c b/localedata/tests-mbwc/dat_wcscmp.c
index a7be0fe..b90b078 100644
--- a/localedata/tests-mbwc/dat_wcscmp.c
+++ b/localedata/tests-mbwc/dat_wcscmp.c
@@ -8,7 +8,7 @@
 
 /* NOTE:
 	This is not a locale sensitive function and
-	it may not make sence testing it for each locale ...
+	it may not make sense testing it for each locale ...
 */
 
 
diff --git a/nptl/sysdeps/unix/sysv/linux/sem_timedwait.c b/nptl/sysdeps/unix/sysv/linux/sem_timedwait.c
index da93c48..263cd2b 100644
--- a/nptl/sysdeps/unix/sysv/linux/sem_timedwait.c
+++ b/nptl/sysdeps/unix/sysv/linux/sem_timedwait.c
@@ -29,7 +29,7 @@
 
 extern void __sem_wait_cleanup (void *arg) attribute_hidden;
 
-/* This is in a seperate function in order to make sure gcc
+/* This is in a separate function in order to make sure gcc
    puts the call site into an exception region, and thus the
    cleanups get properly run.  */
 static int
diff --git a/nptl/sysdeps/unix/sysv/linux/sem_wait.c b/nptl/sysdeps/unix/sysv/linux/sem_wait.c
index 6b94d37..4294b7c 100644
--- a/nptl/sysdeps/unix/sysv/linux/sem_wait.c
+++ b/nptl/sysdeps/unix/sysv/linux/sem_wait.c
@@ -36,7 +36,7 @@ __sem_wait_cleanup (void *arg)
   atomic_decrement (&isem->nwaiters);
 }
 
-/* This is in a seperate function in order to make sure gcc
+/* This is in a separate function in order to make sure gcc
    puts the call site into an exception region, and thus the
    cleanups get properly run.  */
 static int
diff --git a/nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c b/nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c
index 8ce6efd..e6a19c7 100644
--- a/nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c
+++ b/nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c
@@ -29,7 +29,7 @@
 
 extern void __sem_wait_cleanup (void *arg) attribute_hidden;
 
-/* This is in a seperate function in order to make sure gcc
+/* This is in a separate function in order to make sure gcc
    puts the call site into an exception region, and thus the
    cleanups get properly run.  */
 static int
diff --git a/nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c b/nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c
index 8fa8d5e..5e3590d 100644
--- a/nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c
+++ b/nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c
@@ -36,7 +36,7 @@ __sem_wait_cleanup (void *arg)
   atomic_decrement (&isem->nwaiters);
 }
 
-/* This is in a seperate function in order to make sure gcc
+/* This is in a separate function in order to make sure gcc
    puts the call site into an exception region, and thus the
    cleanups get properly run.  */
 static int
diff --git a/nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c b/nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c
index 2e210c7..3fa9e34 100644
--- a/nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c
+++ b/nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c
@@ -29,7 +29,7 @@
 
 extern void __sem_wait_cleanup (void *arg) attribute_hidden;
 
-/* This is in a seperate function in order to make sure gcc
+/* This is in a separate function in order to make sure gcc
    puts the call site into an exception region, and thus the
    cleanups get properly run.  */
 static int
diff --git a/nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c b/nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c
index 2f177a6..06a17e2 100644
--- a/nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c
+++ b/nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c
@@ -43,7 +43,7 @@ __sem_wait_cleanup (void *arg)
     }
 }
 
-/* This is in a seperate function in order to make sure gcc
+/* This is in a separate function in order to make sure gcc
    puts the call site into an exception region, and thus the
    cleanups get properly run.  */
 static int
diff --git a/elf/ldconfig.c b/elf/ldconfig.c
index c7b9eb9..6713f70 100644
--- a/elf/ldconfig.c
+++ b/elf/ldconfig.c
@@ -633,7 +633,7 @@ manual_link (char *library)
    - search for libraries which will be added to the cache
    - create symbolic links to the soname for each library
 
-   This has to be done separatly for each directory.
+   This has to be done separately for each directory.
 
    To keep track of which libraries to add to the cache and which
    links to create, we save a list of all libraries.
diff --git a/ports/sysdeps/ia64/fpu/e_logf.S b/ports/sysdeps/ia64/fpu/e_logf.S
index 3d11a29..1debe47 100644
--- a/ports/sysdeps/ia64/fpu/e_logf.S
+++ b/ports/sysdeps/ia64/fpu/e_logf.S
@@ -171,12 +171,12 @@
 //         with 1-1/256 and 1+1/256 or in register format representation with
 //         0xFFFEFF00000000000000 and 0xFFFF8080000000000000 correspondingly.
 //         As far as biased exponent of x here can be equal only to 0xFFFE or
-//         0xFFFF we need to test only last bit of it. Also signifigand always
-//         has implicit bit set to 1 that can be exluded from comparison.
+//         0xFFFF we need to test only last bit of it. Also significand always
+//         has implicit bit set to 1 that can be excluded from comparison.
 //         Thus it's quite enough to generate 64-bit integer bits of that are
 //         ix[63] = biased_exponent_of_x[0] and ix[62-0] = significand_of_x[62-0]
 //         and compare it with 0x7F00000000000000 and 0x80800000000000000 (those
-//         obtained like ix from register representatinos of 255/256 and
+//         obtained like ix from register representations of 255/256 and
 //         257/256). This comparison can be made like in a), using unsigned
 //         version of cmp i.e. ix - 0x7F00000000000000 < 0x0180000000000000.
 //         0x0180000000000000 is difference between 0x80800000000000000 and
diff --git a/ports/sysdeps/ia64/fpu/e_pow.S b/ports/sysdeps/ia64/fpu/e_pow.S
index 89449c7..5b2e9a7 100644
--- a/ports/sysdeps/ia64/fpu/e_pow.S
+++ b/ports/sysdeps/ia64/fpu/e_pow.S
@@ -214,7 +214,7 @@
 //
 //      0 fffe b17217f7d1cf4000 e6af278ece600fcb dabc000000000000
 //
-// Put the right 64-bit signficand in an FR register, convert to double;
+// Put the right 64-bit significand in an FR register, convert to double;
 // it is exact. Put the next 128 bits into a quad register and round to double.
 // The true exponent of the low part is -51.
 //
diff --git a/ports/sysdeps/ia64/fpu/e_powf.S b/ports/sysdeps/ia64/fpu/e_powf.S
index 5585f9d..9870d00 100644
--- a/ports/sysdeps/ia64/fpu/e_powf.S
+++ b/ports/sysdeps/ia64/fpu/e_powf.S
@@ -208,7 +208,7 @@
 //
 //      0 fffe b17217f7d1cf4000 e6af278ece600fcb dabc000000000000
 //
-// Put the right 64-bit signficand in an FR register, convert to double;
+// Put the right 64-bit significand in an FR register, convert to double;
 // it is exact. Put the next 128 bits into a quad register and round to double.
 // The true exponent of the low part is -51.
 //
diff --git a/ports/sysdeps/ia64/fpu/e_pow.S b/ports/sysdeps/ia64/fpu/e_pow.S
index 89449c7..5b2e9a7 100644
--- a/ports/sysdeps/ia64/fpu/e_pow.S
+++ b/ports/sysdeps/ia64/fpu/e_pow.S
@@ -282,8 +282,8 @@
 //      63 - (51 - 9) = 63 - 42  = 21
 //
 // This means we are shifting 21 bits into significand_lo. We must maintain more
-// that a 128-bit signficand not to lose bits. So before the shift we put the
-// 128-bit significand into a 256-bit signficand and then shift.
+// that a 128-bit significand not to lose bits. So before the shift we put the
+// 128-bit significand into a 256-bit significand and then shift.
 // The 256-bit significand has four parts: hh, hl, lh, and ll.
 //
 // Start off with
diff --git a/ports/sysdeps/ia64/fpu/e_powf.S b/ports/sysdeps/ia64/fpu/e_powf.S
index 5585f9d..9870d00 100644
--- a/ports/sysdeps/ia64/fpu/e_powf.S
+++ b/ports/sysdeps/ia64/fpu/e_powf.S
@@ -276,8 +276,8 @@
 //      63 - (51 - 9) = 63 - 42  = 21
 //
 // This means we are shifting 21 bits into significand_lo. We must maintain more
-// that a 128-bit signficand not to lose bits. So before the shift we put the
-// 128-bit significand into a 256-bit signficand and then shift.
+// that a 128-bit significand not to lose bits. So before the shift we put the
+// 128-bit significand into a 256-bit significand and then shift.
 // The 256-bit significand has four parts: hh, hl, lh, and ll.
 //
 // Start off with
diff --git a/ports/sysdeps/ia64/fpu/s_erfcf.S b/ports/sysdeps/ia64/fpu/s_erfcf.S
index ce6be8d..6fe0650 100644
--- a/ports/sysdeps/ia64/fpu/s_erfcf.S
+++ b/ports/sysdeps/ia64/fpu/s_erfcf.S
@@ -617,7 +617,7 @@ GLOBAL_LIBM_ENTRY(erfcf)
 ;;
 
 // Nfloat = round_int(W)
-// The signficand of EXP_W_2TO56_RSH contains the rounded integer part of W,
+// The significand of EXP_W_2TO56_RSH contains the rounded integer part of W,
 // as a twos complement number in the lower bits (that is, it may be negative).
 // That twos complement number (called N) is put into exp_GR_N.
 
diff --git a/ports/sysdeps/ia64/fpu/e_cosh.S b/ports/sysdeps/ia64/fpu/e_cosh.S
index 885456b..4eced2b 100644
--- a/ports/sysdeps/ia64/fpu/e_cosh.S
+++ b/ports/sysdeps/ia64/fpu/e_cosh.S
@@ -441,7 +441,7 @@ COSH_COMMON:
 ;;
 
 // Nfloat = round_int(W)
-// The signficand of fW_2TO56_RSH contains the rounded integer part of W,
+// The significand of fW_2TO56_RSH contains the rounded integer part of W,
 // as a twos complement number in the lower bits (that is, it may be negative).
 // That twos complement number (called N) is put into rN.
 
diff --git a/ports/sysdeps/ia64/fpu/e_exp.S b/ports/sysdeps/ia64/fpu/e_exp.S
index f17bc26..d976862 100644
--- a/ports/sysdeps/ia64/fpu/e_exp.S
+++ b/ports/sysdeps/ia64/fpu/e_exp.S
@@ -398,7 +398,7 @@ GLOBAL_IEEE754_ENTRY(exp)
 ;;
 
 // Nfloat = round_int(W)
-// The signficand of fW_2TO56_RSH contains the rounded integer part of W,
+// The significand of fW_2TO56_RSH contains the rounded integer part of W,
 // as a twos complement number in the lower bits (that is, it may be negative).
 // That twos complement number (called N) is put into rN.
 
diff --git a/ports/sysdeps/ia64/fpu/e_sinh.S b/ports/sysdeps/ia64/fpu/e_sinh.S
index f60907b..f86dee6 100644
--- a/ports/sysdeps/ia64/fpu/e_sinh.S
+++ b/ports/sysdeps/ia64/fpu/e_sinh.S
@@ -447,7 +447,7 @@ SINH_COMMON:
 ;;
 
 // Nfloat = round_int(W)
-// The signficand of fW_2TO56_RSH contains the rounded integer part of W,
+// The significand of fW_2TO56_RSH contains the rounded integer part of W,
 // as a twos complement number in the lower bits (that is, it may be negative).
 // That twos complement number (called N) is put into rN.
 
diff --git a/ports/sysdeps/ia64/fpu/s_expm1.S b/ports/sysdeps/ia64/fpu/s_expm1.S
index f0b911e..8cddbf2 100644
--- a/ports/sysdeps/ia64/fpu/s_expm1.S
+++ b/ports/sysdeps/ia64/fpu/s_expm1.S
@@ -508,7 +508,7 @@ EXPM1_COMMON:
 ;;
 
 // Nfloat = round_int(W)
-// The signficand of fW_2TO56_RSH contains the rounded integer part of W,
+// The significand of fW_2TO56_RSH contains the rounded integer part of W,
 // as a twos complement number in the lower bits (that is, it may be negative).
 // That twos complement number (called N) is put into rN.
 
diff --git a/ports/sysdeps/ia64/fpu/e_powl.S b/ports/sysdeps/ia64/fpu/e_powl.S
index 3f93f60..d5750db 100644
--- a/ports/sysdeps/ia64/fpu/e_powl.S
+++ b/ports/sysdeps/ia64/fpu/e_powl.S
@@ -1593,7 +1593,7 @@ LOGL_RETURN:
 ;;
 
 // float_N = round_int(N)
-// The signficand of N contains the rounded integer part of X * 2^12/ln2,
+// The significand of N contains the rounded integer part of X * 2^12/ln2,
 // as a twos complement number in the lower bits (that is, it may be negative).
 // That twos complement number (called N) is put into GR_N_fix.
 
diff --git a/ports/sysdeps/ia64/fpu/s_expm1l.S b/ports/sysdeps/ia64/fpu/s_expm1l.S
index 63bf39a..99caa13 100644
--- a/ports/sysdeps/ia64/fpu/s_expm1l.S
+++ b/ports/sysdeps/ia64/fpu/s_expm1l.S
@@ -833,7 +833,7 @@ exp_continue:
 // Now we are on the main path for |x| >= 2^-m, m=12 for exp, m=7 for expm1
 //
 // float_N = round_int(N_signif)
-// The signficand of N_signif contains the rounded integer part of X * 2^12/ln2,
+// The significand of N_signif contains the rounded integer part of X * 2^12/ln2,
 // as a twos complement number in the lower bits (that is, it may be negative).
 // That twos complement number (called N) is put into GR_N.
 
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 351befb..084a940 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -2166,7 +2166,7 @@ _deno_back_to_main_path:
 ;;
 { .mfi
       shladd             rZ1offsett = GR_Index1, 2, GR_ad_z_1  // Point to Z_1
-      fmerge.se          fSignifX =  f1, f8 // sifnificand of x
+      fmerge.se          fSignifX =  f1, f8 // significand of x
       // Get high 15 bits of significand
       extr.u             GR_X_0 = rSignifX, 49, 15
 }
diff --git a/resolv/gai_misc.h b/resolv/gai_misc.h
index a7ba463..c038808 100644
--- a/resolv/gai_misc.h
+++ b/resolv/gai_misc.h
@@ -59,7 +59,7 @@ struct requestlist
 struct gaiinit
   {
     int gai_threads;		/* Maximal number of threads.  */
-    int gai_num;		/* Number of expected simultanious requests. */
+    int gai_num;		/* Number of expected simultaneous requests. */
     int gai_locks;		/* Not used.  */
     int gai_usedba;		/* Not used.  */
     int gai_debug;		/* Not used.  */
diff --git a/rt/aio.h b/rt/aio.h
index 23d602d..c4c427b 100644
--- a/rt/aio.h
+++ b/rt/aio.h
@@ -88,7 +88,7 @@ struct aiocb64
 struct aioinit
   {
     int aio_threads;		/* Maximal number of threads.  */
-    int aio_num;		/* Number of expected simultanious requests. */
+    int aio_num;		/* Number of expected simultaneous requests. */
     int aio_locks;		/* Not used.  */
     int aio_usedba;		/* Not used.  */
     int aio_debug;		/* Not used.  */
diff --git a/elf/dl-profile.c b/elf/dl-profile.c
index 8fa6efc..846ca56 100644
--- a/elf/dl-profile.c
+++ b/elf/dl-profile.c
@@ -38,7 +38,7 @@
 
 /* The LD_PROFILE feature has to be implemented different to the
    normal profiling using the gmon/ functions.  The problem is that an
-   arbitrary amount of processes simulataneously can be run using
+   arbitrary amount of processes simultaneously can be run using
    profiling and all write the results in the same file.  To provide
    this mechanism one could implement a complicated mechanism to merge
    the content of two profiling runs or one could extend the file
diff --git a/elf/dl-support.c b/elf/dl-support.c
index 5a082fe..4b79527 100644
--- a/elf/dl-support.c
+++ b/elf/dl-support.c
@@ -206,7 +206,7 @@ struct link_map *_dl_sysinfo_map;
 #include "setup-vdso.h"
 
 /* During the program run we must not modify the global data of
-   loaded shared object simultanously in two threads.  Therefore we
+   loaded shared object simultaneously in two threads.  Therefore we
    protect `_dl_open' and `_dl_close' in dl-close.c.
 
    This must be a recursive lock since the initializer function of
diff --git a/sysdeps/generic/ldsodefs.h b/sysdeps/generic/ldsodefs.h
index e7b0516..a7312a2 100644
--- a/sysdeps/generic/ldsodefs.h
+++ b/sysdeps/generic/ldsodefs.h
@@ -303,7 +303,7 @@ struct rtld_global
   EXTERN size_t _dl_nns;
 
   /* During the program run we must not modify the global data of
-     loaded shared object simultanously in two threads.  Therefore we
+     loaded shared object simultaneously in two threads.  Therefore we
      protect `_dl_open' and `_dl_close' in dl-close.c.
 
      This must be a recursive lock since the initializer function of
diff --git a/posix/regcomp.c b/posix/regcomp.c
index 0ffc2fa..11ded43 100644
--- a/posix/regcomp.c
+++ b/posix/regcomp.c
@@ -2617,7 +2617,7 @@ parse_dup_op (bin_tree_t *elem, re_string_t *regexp, re_dfa_t *dfa,
      Build the range expression which starts from START_ELEM, and ends
      at END_ELEM.  The result are written to MBCSET and SBCSET.
      RANGE_ALLOC is the allocated size of mbcset->range_starts, and
-     mbcset->range_ends, is a pointer argument sinse we may
+     mbcset->range_ends, is a pointer argument since we may
      update it.  */
 
 static reg_errcode_t
diff --git a/posix/regcomp.c b/posix/regcomp.c
index 0ffc2fa..11ded43 100644
--- a/posix/regcomp.c
+++ b/posix/regcomp.c
@@ -3393,7 +3393,7 @@ parse_bracket_symbol (bracket_elem_t *elem, re_string_t *regexp,
      Build the equivalence class which is represented by NAME.
      The result are written to MBCSET and SBCSET.
      EQUIV_CLASS_ALLOC is the allocated size of mbcset->equiv_classes,
-     is a pointer argument sinse we may update it.  */
+     is a pointer argument since we may update it.  */
 
 static reg_errcode_t
 #ifdef RE_ENABLE_I18N
diff --git a/posix/regcomp.c b/posix/regcomp.c
index 0ffc2fa..11ded43 100644
--- a/posix/regcomp.c
+++ b/posix/regcomp.c
@@ -3488,7 +3488,7 @@ build_equiv_class (bitset_t sbcset, const unsigned char *name)
      Build the character class which is represented by NAME.
      The result are written to MBCSET and SBCSET.
      CHAR_CLASS_ALLOC is the allocated size of mbcset->char_classes,
-     is a pointer argument sinse we may update it.  */
+     is a pointer argument since we may update it.  */
 
 static reg_errcode_t
 #ifdef RE_ENABLE_I18N
diff --git a/catgets/gencat.c b/catgets/gencat.c
index b11583d..726bf9b 100644
--- a/catgets/gencat.c
+++ b/catgets/gencat.c
@@ -418,7 +418,7 @@ read_input_file (struct catalog *current, const char *fname)
 		    }
 		  else
 		    {
-		      /* We have found seomthing that looks like a
+		      /* We have found something that looks like a
 			 correct identifier.  */
 		      struct set_list *runp;
 
diff --git a/sysdeps/i386/i686/multiarch/strcpy-ssse3.S b/sysdeps/i386/i686/multiarch/strcpy-ssse3.S
index 9a1d74d..fb93412 100644
--- a/sysdeps/i386/i686/multiarch/strcpy-ssse3.S
+++ b/sysdeps/i386/i686/multiarch/strcpy-ssse3.S
@@ -68,7 +68,7 @@
 	movl	- 4 byte
 	movlpd	- 8 byte
 	movaps	- 16 byte - requires 16 byte alignment
-	of	sourse and destination adresses.
+	of	source and destination addresses.
 */
 
 .text
diff --git a/nptl/pthread_rwlock_timedwrlock.c b/nptl/pthread_rwlock_timedwrlock.c
index 1e1e958..927e378 100644
--- a/nptl/pthread_rwlock_timedwrlock.c
+++ b/nptl/pthread_rwlock_timedwrlock.c
@@ -23,7 +23,7 @@
 #include <pthreadP.h>
 
 
-/* Try to acquire write lock for RWLOCK or return after specfied time.	*/
+/* Try to acquire write lock for RWLOCK or return after specified time.	*/
 int
 pthread_rwlock_timedwrlock (rwlock, abstime)
      pthread_rwlock_t *rwlock;
diff --git a/nptl/pthread_rwlock_timedrdlock.c b/nptl/pthread_rwlock_timedrdlock.c
index 86a1d29..e3721f4 100644
--- a/nptl/pthread_rwlock_timedrdlock.c
+++ b/nptl/pthread_rwlock_timedrdlock.c
@@ -23,7 +23,7 @@
 #include <pthreadP.h>
 
 
-/* Try to acquire read lock for RWLOCK or return after specfied time.  */
+/* Try to acquire read lock for RWLOCK or return after specified time.  */
 int
 pthread_rwlock_timedrdlock (rwlock, abstime)
      pthread_rwlock_t *rwlock;
diff --git a/nptl/sysdeps/pthread/pthread.h b/nptl/sysdeps/pthread/pthread.h
index 61d5346..80c7454 100644
--- a/nptl/sysdeps/pthread/pthread.h
+++ b/nptl/sysdeps/pthread/pthread.h
@@ -913,7 +913,7 @@ extern int pthread_rwlock_tryrdlock (pthread_rwlock_t *__rwlock)
   __THROWNL __nonnull ((1));
 
 # ifdef __USE_XOPEN2K
-/* Try to acquire read lock for RWLOCK or return after specfied time.  */
+/* Try to acquire read lock for RWLOCK or return after specified time.  */
 extern int pthread_rwlock_timedrdlock (pthread_rwlock_t *__restrict __rwlock,
 				       const struct timespec *__restrict
 				       __abstime) __THROWNL __nonnull ((1, 2));
diff --git a/nptl/sysdeps/pthread/pthread.h b/nptl/sysdeps/pthread/pthread.h
index 61d5346..80c7454 100644
--- a/nptl/sysdeps/pthread/pthread.h
+++ b/nptl/sysdeps/pthread/pthread.h
@@ -928,7 +928,7 @@ extern int pthread_rwlock_trywrlock (pthread_rwlock_t *__rwlock)
      __THROWNL __nonnull ((1));
 
 # ifdef __USE_XOPEN2K
-/* Try to acquire write lock for RWLOCK or return after specfied time.  */
+/* Try to acquire write lock for RWLOCK or return after specified time.  */
 extern int pthread_rwlock_timedwrlock (pthread_rwlock_t *__restrict __rwlock,
 				       const struct timespec *__restrict
 				       __abstime) __THROWNL __nonnull ((1, 2));
diff --git a/ports/sysdeps/unix/sysv/linux/hppa/nptl/pthread.h b/ports/sysdeps/unix/sysv/linux/hppa/nptl/pthread.h
index 70e0604..b3596c0 100644
--- a/ports/sysdeps/unix/sysv/linux/hppa/nptl/pthread.h
+++ b/ports/sysdeps/unix/sysv/linux/hppa/nptl/pthread.h
@@ -893,7 +893,7 @@ extern int pthread_rwlock_tryrdlock (pthread_rwlock_t *__rwlock)
   __THROWNL __nonnull ((1));
 
 # ifdef __USE_XOPEN2K
-/* Try to acquire read lock for RWLOCK or return after specfied time.  */
+/* Try to acquire read lock for RWLOCK or return after specified time.  */
 extern int pthread_rwlock_timedrdlock (pthread_rwlock_t *__restrict __rwlock,
 				       const struct timespec *__restrict
 				       __abstime) __THROWNL __nonnull ((1, 2));
diff --git a/ports/sysdeps/unix/sysv/linux/hppa/nptl/pthread.h b/ports/sysdeps/unix/sysv/linux/hppa/nptl/pthread.h
index 70e0604..b3596c0 100644
--- a/ports/sysdeps/unix/sysv/linux/hppa/nptl/pthread.h
+++ b/ports/sysdeps/unix/sysv/linux/hppa/nptl/pthread.h
@@ -908,7 +908,7 @@ extern int pthread_rwlock_trywrlock (pthread_rwlock_t *__rwlock)
      __THROWNL __nonnull ((1));
 
 # ifdef __USE_XOPEN2K
-/* Try to acquire write lock for RWLOCK or return after specfied time.  */
+/* Try to acquire write lock for RWLOCK or return after specified time.  */
 extern int pthread_rwlock_timedwrlock (pthread_rwlock_t *__restrict __rwlock,
 				       const struct timespec *__restrict
 				       __abstime) __THROWNL __nonnull ((1, 2));
diff --git a/elf/sprof.c b/elf/sprof.c
index 60f310f..cc7e01c 100644
--- a/elf/sprof.c
+++ b/elf/sprof.c
@@ -414,7 +414,7 @@ load_shobj (const char *name)
 
   /* Since we use dlopen() we must be prepared to work around the sometimes
      strange lookup rules for the shared objects.  If we have a file foo.so
-     in the current directory and the user specfies foo.so on the command
+     in the current directory and the user specifies foo.so on the command
      line (without specifying a directory) we should load the file in the
      current directory even if a normal dlopen() call would read the other
      file.  We do this by adding a directory portion to the name.  */
diff --git a/inet/arpa/inet.h b/inet/arpa/inet.h
index 52fc068..b599e5d 100644
--- a/inet/arpa/inet.h
+++ b/inet/arpa/inet.h
@@ -77,7 +77,7 @@ extern int inet_aton (const char *__cp, struct in_addr *__inp) __THROW;
 extern char *inet_neta (in_addr_t __net, char *__buf, size_t __len) __THROW;
 
 /* Convert network number for interface type AF in buffer starting at
-   CP to presentation format.  The result will specifiy BITS bits of
+   CP to presentation format.  The result will specify BITS bits of
    the number.  */
 extern char *inet_net_ntop (int __af, const void *__cp, int __bits,
 			    char *__buf, size_t __len) __THROW;
diff --git a/iconvdata/sjis.c b/iconvdata/sjis.c
index 26fa20a..119a68a 100644
--- a/iconvdata/sjis.c
+++ b/iconvdata/sjis.c
@@ -2002,7 +2002,7 @@ static const char from_ucs4_greek[193][2] =
 
 
 /* The mapping of the Kanji is horrible.  The glyphs covered by Shift JIS
-   are spreaded all around the Unicode CJK area.  We use one big table
+   are spread all around the Unicode CJK area.  We use one big table
    since using the gaps will not buy us much.
 
    The following table can be generated using
diff --git a/string/string.h b/string/string.h
index ecc3fef..b501222 100644
--- a/string/string.h
+++ b/string/string.h
@@ -155,7 +155,7 @@ __END_NAMESPACE_STD
 #ifdef __USE_XOPEN2K8
 /* The following functions are equivalent to the both above but they
    take the locale they use for the collation as an extra argument.
-   This is not standardsized but something like will come.  */
+   This is not standardized but something like will come.  */
 # include <xlocale.h>
 
 /* Compare the collated forms of S1 and S2 using rules from L.  */
diff --git a/string/strings.h b/string/strings.h
index dad0a04..cfefb8d 100644
--- a/string/strings.h
+++ b/string/strings.h
@@ -119,7 +119,7 @@ extern int strncasecmp (const char *__s1, const char *__s2, size_t __n)
 #ifdef	__USE_XOPEN2K8
 /* The following functions are equivalent to the both above but they
    take the locale they use for the collation as an extra argument.
-   This is not standardsized but something like will come.  */
+   This is not standardized but something like will come.  */
 # include <xlocale.h>
 
 /* Again versions of a few functions which use the given locale instead
diff --git a/nss/nsswitch.c b/nss/nsswitch.c
index c927424..4dc048d 100644
--- a/nss/nsswitch.c
+++ b/nss/nsswitch.c
@@ -661,7 +661,7 @@ nss_parse_service_list (const char *line)
 	      enum nss_status status;
 	      lookup_actions action;
 
-	      /* Grok ! before name to mean all statii but that one.  */
+	      /* Grok ! before name to mean all statuses but that one.  */
 	      not = line[0] == '!';
 	      if (not)
 		++line;
diff --git a/nss/nsswitch.c b/nss/nsswitch.c
index c927424..4dc048d 100644
--- a/nss/nsswitch.c
+++ b/nss/nsswitch.c
@@ -672,7 +672,7 @@ nss_parse_service_list (const char *line)
 		     && line[0] != ']')
 		++line;
 
-	      /* Compare with known statii.  */
+	      /* Compare with known statuses.  */
 	      if (line - name == 7)
 		{
 		  if (__strncasecmp (name, "SUCCESS", 7) == 0)
diff --git a/elf/dl-dst.h b/elf/dl-dst.h
index 3ed95d0..fa9e3a3 100644
--- a/elf/dl-dst.h
+++ b/elf/dl-dst.h
@@ -1,4 +1,4 @@
-/* Handling of dynamic sring tokens.
+/* Handling of dynamic string tokens.
    Copyright (C) 1999-2013 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
diff --git a/nptl/descr.h b/nptl/descr.h
index 58176ea..7fb2177 100644
--- a/nptl/descr.h
+++ b/nptl/descr.h
@@ -112,7 +112,7 @@ struct robust_list_head
 };
 
 
-/* Data strcture used to handle thread priority protection.  */
+/* Data structure used to handle thread priority protection.  */
 struct priority_protection_data
 {
   int priomax;
diff --git a/ports/sysdeps/unix/sysv/linux/hppa/internaltypes.h b/ports/sysdeps/unix/sysv/linux/hppa/internaltypes.h
index ac827b6..76e98e4 100644
--- a/ports/sysdeps/unix/sysv/linux/hppa/internaltypes.h
+++ b/ports/sysdeps/unix/sysv/linux/hppa/internaltypes.h
@@ -30,7 +30,7 @@ this on any of the pthread_cond_t words, otherwise it might interfere
 with the current operation of the structure. To solve this problem we
 used the left over word.
 
-If the stucture was initialized by a legacy Linuxthread
+If the structure was initialized by a legacy Linuxthread
 PTHREAD_COND_INITIALIZER it contained a 1, and this indicates that the
 structure requires zeroing for NPTL. The first thread to come upon a
 pthread_cond_t with a 1 in the __initializer field, will
diff --git a/sysdeps/unix/sysv/linux/s390/s390-32/syscall.S b/sysdeps/unix/sysv/linux/s390/s390-32/syscall.S
index 7037119..36317c7 100644
--- a/sysdeps/unix/sysv/linux/s390/s390-32/syscall.S
+++ b/sysdeps/unix/sysv/linux/s390/s390-32/syscall.S
@@ -54,7 +54,7 @@ ENTRY (syscall)
 	jl     2f
 1:	svc    0
 	j      3f
-2:	ex     %r1,1b-0b(%r8)      /* lsb of R1 is subsituted as SVC number */
+2:	ex     %r1,1b-0b(%r8)      /* lsb of R1 is substituted as SVC number */
 3:	l      %r15,0(%r15)        /* load back chain */
 	cfi_adjust_cfa_offset (-96)
 	lm     %r6,15,24(%r15)     /* load registers */
diff --git a/sysdeps/unix/sysv/linux/s390/s390-64/syscall.S b/sysdeps/unix/sysv/linux/s390/s390-64/syscall.S
index f204d25..b3b9ad6 100644
--- a/sysdeps/unix/sysv/linux/s390/s390-64/syscall.S
+++ b/sysdeps/unix/sysv/linux/s390/s390-64/syscall.S
@@ -54,7 +54,7 @@ ENTRY (syscall)
 	jl     2f
 1:	svc    0
 	j      3f
-2:	ex     %r1,1b-0b(%r8)      /* lsb of R1 is subsituted as SVC number */
+2:	ex     %r1,1b-0b(%r8)      /* lsb of R1 is substituted as SVC number */
 3:	lg     %r15,0(%r15)        /* load back chain */
 	cfi_adjust_cfa_offset (-160)
 	lmg	%r6,15,48(%r15)	   /* Load registers.  */
diff --git a/sysdeps/x86_64/strcmp.S b/sysdeps/x86_64/strcmp.S
index 7680937..2b82d3e 100644
--- a/sysdeps/x86_64/strcmp.S
+++ b/sysdeps/x86_64/strcmp.S
@@ -459,7 +459,7 @@ LABEL(nibble_ashr_1):
 # endif
 
 	pxor	%xmm0, %xmm0
-	sub	$0x1000, %r10		/* substract 4K from %r10 */
+	sub	$0x1000, %r10		/* subtract 4K from %r10 */
 	jmp	LABEL(gobble_ashr_1)
 
 	/*
diff --git a/benchtests/bench-strcmp.c b/benchtests/bench-strcmp.c
index 63a3cd4..2a46b0b 100644
--- a/benchtests/bench-strcmp.c
+++ b/benchtests/bench-strcmp.c
@@ -45,7 +45,7 @@
 # define CHAR__MIN WCHAR_MIN
 
 /* Wcscmp uses signed semantics for comparison, not unsigned */
-/* Avoid using substraction since possible overflow */
+/* Avoid using subtraction since possible overflow */
 
 int
 simple_wcscmp (const wchar_t *s1, const wchar_t *s2)
diff --git a/string/test-strcmp.c b/string/test-strcmp.c
index f666993..c861c4f 100644
--- a/string/test-strcmp.c
+++ b/string/test-strcmp.c
@@ -47,7 +47,7 @@
 # define CHAR__MIN WCHAR_MIN
 
 /* Wcscmp uses signed semantics for comparison, not unsigned */
-/* Avoid using substraction since possible overflow */
+/* Avoid using subtraction since possible overflow */
 
 int
 simple_wcscmp (const wchar_t *s1, const wchar_t *s2)
diff --git a/sunrpc/rpc_main.c b/sunrpc/rpc_main.c
index 0223c9a..1bc01f6 100644
--- a/sunrpc/rpc_main.c
+++ b/sunrpc/rpc_main.c
@@ -391,7 +391,7 @@ open_input (const char *infile, const char *define)
     }
 }
 
-/* Close the connection to the C-preprocessor and check for successfull
+/* Close the connection to the C-preprocessor and check for successful
    termination.  */
 static void
 close_input (void)
diff --git a/nss/nss_db/db-open.c b/nss/nss_db/db-open.c
index 916ed75..acd0475 100644
--- a/nss/nss_db/db-open.c
+++ b/nss/nss_db/db-open.c
@@ -28,7 +28,7 @@
 #include <kernel-features.h>
 #include "nss_db.h"
 
-/* Open the database stored in FILE.  If succesful, store either a
+/* Open the database stored in FILE.  If successful, store either a
    pointer to the mapped file or a file handle for the file in H and
    return NSS_STATUS_SUCCESS.  On failure, return the appropriate
    lookup status.  */
diff --git a/nss/nss_db/nss_db.h b/nss/nss_db/nss_db.h
index 9c5dee6..36c8ddc 100644
--- a/nss/nss_db/nss_db.h
+++ b/nss/nss_db/nss_db.h
@@ -56,7 +56,7 @@ struct nss_db_map
 };
 
 
-/* Open the database stored in FILE.  If succesful, store the database
+/* Open the database stored in FILE.  If successful, store the database
    handle in *MAPPINGP or a file descriptor for the file in *FDP and
    return NSS_STATUS_SUCCESS.  On failure, return the appropriate
    lookup status.  */
diff --git a/ports/sysdeps/aarch64/bits/atomic.h b/ports/sysdeps/aarch64/bits/atomic.h
index 3f90424..cdc3041 100644
--- a/ports/sysdeps/aarch64/bits/atomic.h
+++ b/ports/sysdeps/aarch64/bits/atomic.h
@@ -38,7 +38,7 @@ typedef uintmax_t uatomic_max_t;
 
 
 /* Compare and exchange.
-   For all "bool" routines, we return FALSE if exchange succesful.  */
+   For all "bool" routines, we return FALSE if exchange successful.  */
 
 # define __arch_compare_and_exchange_bool_8_int(mem, newval, oldval, model) \
   ({									\
diff --git a/ports/sysdeps/alpha/bits/atomic.h b/ports/sysdeps/alpha/bits/atomic.h
index c4653de..e99eef8 100644
--- a/ports/sysdeps/alpha/bits/atomic.h
+++ b/ports/sysdeps/alpha/bits/atomic.h
@@ -150,7 +150,7 @@ typedef uintmax_t uatomic_max_t;
 	: "memory");							\
 })
 
-/* For all "bool" routines, we return FALSE if exchange succesful.  */
+/* For all "bool" routines, we return FALSE if exchange successful.  */
 
 #define __arch_compare_and_exchange_bool_8_int(mem, new, old, mb1, mb2)	\
 ({ unsigned long __prev; int __cmp;					\
diff --git a/ports/sysdeps/mips/bits/atomic.h b/ports/sysdeps/mips/bits/atomic.h
index 7c735f7..733229b 100644
--- a/ports/sysdeps/mips/bits/atomic.h
+++ b/ports/sysdeps/mips/bits/atomic.h
@@ -87,7 +87,7 @@ typedef uintmax_t uatomic_max_t;
    if at all possible.  */
 
 /* Compare and exchange.
-   For all "bool" routines, we return FALSE if exchange succesful.  */
+   For all "bool" routines, we return FALSE if exchange successful.  */
 
 # define __arch_compare_and_exchange_bool_8_int(mem, newval, oldval, model) \
   (abort (), 0)
diff --git a/ports/sysdeps/mips/bits/atomic.h b/ports/sysdeps/mips/bits/atomic.h
index 7c735f7..733229b 100644
--- a/ports/sysdeps/mips/bits/atomic.h
+++ b/ports/sysdeps/mips/bits/atomic.h
@@ -288,7 +288,7 @@ typedef uintmax_t uatomic_max_t;
 	      : "memory")
 # endif
 
-/* For all "bool" routines, we return FALSE if exchange succesful.  */
+/* For all "bool" routines, we return FALSE if exchange successful.  */
 
 # define __arch_compare_and_exchange_bool_8_int(mem, new, old, rel, acq) \
 ({ typeof (*mem) __prev __attribute__ ((unused)); int __cmp;		\
diff --git a/argp/argp-parse.c b/argp/argp-parse.c
index f68ebab..b7efbf9 100644
--- a/argp/argp-parse.c
+++ b/argp/argp-parse.c
@@ -228,7 +228,7 @@ struct group
      particular short options is from.  */
   char *short_end;
 
-  /* The number of non-option args sucessfully handled by this parser.  */
+  /* The number of non-option args successfully handled by this parser.  */
   unsigned args_processed;
 
   /* This group's parser's parent's group.  */
diff --git a/stdio-common/vfscanf.c b/stdio-common/vfscanf.c
index 3430567..338eb73 100644
--- a/stdio-common/vfscanf.c
+++ b/stdio-common/vfscanf.c
@@ -2618,7 +2618,7 @@ _IO_vfscanf_internal (_IO_FILE *s, const char *format, _IO_va_list argptr,
 #endif
 
 	      if (__builtin_expect (now == read_in, 0))
-		/* We haven't succesfully read any character.  */
+		/* We haven't successfully read any character.  */
 		conv_error ();
 
 	      if (!(flags & SUPPRESS))
diff --git a/stdio-common/vfscanf.c b/stdio-common/vfscanf.c
index 3430567..338eb73 100644
--- a/stdio-common/vfscanf.c
+++ b/stdio-common/vfscanf.c
@@ -2816,7 +2816,7 @@ _IO_vfscanf_internal (_IO_FILE *s, const char *format, _IO_va_list argptr,
 #endif
 
 	      if (__builtin_expect (now == read_in, 0))
-		/* We haven't succesfully read any character.  */
+		/* We haven't successfully read any character.  */
 		conv_error ();
 
 	      if (!(flags & SUPPRESS))
diff --git a/sysdeps/unix/sysv/linux/dl-osinfo.h b/sysdeps/unix/sysv/linux/dl-osinfo.h
index 9dad8e6..c54e70f 100644
--- a/sysdeps/unix/sysv/linux/dl-osinfo.h
+++ b/sysdeps/unix/sysv/linux/dl-osinfo.h
@@ -41,7 +41,7 @@
 									      \
 	/* Now we can test with the required version.  */		      \
 	if (__LINUX_KERNEL_VERSION > 0 && version < __LINUX_KERNEL_VERSION)   \
-	  /* Not sufficent.  */						      \
+	  /* Not sufficient.  */						      \
 	  FATAL ("FATAL: kernel too old\n");				      \
       }									      \
     else if (__LINUX_KERNEL_VERSION > 0)				      \
diff --git a/malloc/malloc.c b/malloc/malloc.c
index be472b2..4c04707 100644
--- a/malloc/malloc.c
+++ b/malloc/malloc.c
@@ -254,7 +254,7 @@
   is fairly extensive, and will slow down execution
   noticeably. Calling malloc_stats or mallinfo with MALLOC_DEBUG set
   will attempt to check every non-mmapped allocated and free chunk in
-  the course of computing the summmaries. (By nature, mmapped regions
+  the course of computing the summaries. (By nature, mmapped regions
   cannot be checked very much automatically.)
 
   Setting MALLOC_DEBUG may also be helpful if you are trying to modify
diff --git a/iconvdata/iso646.c b/iconvdata/iso646.c
index 891ad69..3b6dd23 100644
--- a/iconvdata/iso646.c
+++ b/iconvdata/iso646.c
@@ -22,7 +22,7 @@
    zillions of ISO 646 derivates and supporting them all in a separate
    module is overkill since these coded character sets are hardly ever
    used anymore (except ANSI_X3.4-1968 == ASCII, which is compatible
-   with ISO 8859-1).  The European variants are superceded by the
+   with ISO 8859-1).  The European variants are superseded by the
    various ISO 8859-? standards and the Asian variants are embedded in
    larger character sets.  Therefore this implementation is simply
    here to make it possible to do the conversion if it is necessary.
diff --git a/sysdeps/gnu/netinet/tcp.h b/sysdeps/gnu/netinet/tcp.h
index b7bf9b3..bf76e69 100644
--- a/sysdeps/gnu/netinet/tcp.h
+++ b/sysdeps/gnu/netinet/tcp.h
@@ -277,7 +277,7 @@ enum
 /* Flags for both getsockopt and setsockopt */
 #define TCP_COOKIE_IN_ALWAYS	(1 << 0)	/* Discard SYN without cookie */
 #define TCP_COOKIE_OUT_NEVER	(1 << 1)	/* Prohibit outgoing cookies,
-						 * supercedes everything. */
+						 * supersedes everything. */
 
 /* Flags for getsockopt */
 #define TCP_S_DATA_IN		(1 << 2)	/* Was data received? */
diff --git a/ports/sysdeps/unix/sysv/linux/am33/bits/fcntl.h b/ports/sysdeps/unix/sysv/linux/am33/bits/fcntl.h
index e5af260..04a06da 100644
--- a/ports/sysdeps/unix/sysv/linux/am33/bits/fcntl.h
+++ b/ports/sysdeps/unix/sysv/linux/am33/bits/fcntl.h
@@ -46,7 +46,7 @@
 # define O_NOFOLLOW	0400000	/* Do not follow links.	 */
 #endif
 
-/* For now Linux has synchronisity options for data and read operations.
+/* For now Linux has synchronicity options for data and read operations.
    We define the symbols here but let them do the same as O_SYNC since
    this is a superset.	*/
 #if defined __USE_POSIX199309 || defined __USE_UNIX98
diff --git a/sysdeps/unix/sysv/linux/bits/fcntl-linux.h b/sysdeps/unix/sysv/linux/bits/fcntl-linux.h
index b5929bd..4971a40 100644
--- a/sysdeps/unix/sysv/linux/bits/fcntl-linux.h
+++ b/sysdeps/unix/sysv/linux/bits/fcntl-linux.h
@@ -130,7 +130,7 @@
 # define O_PATH		__O_PATH	/* Resolve pathname but do not open file.  */
 #endif
 
-/* For now, Linux has no separate synchronicitiy options for read
+/* For now, Linux has no separate synchronicity options for read
    operations.  We define O_RSYNC therefore as the same as O_SYNC
    since this is a superset.  */
 #if defined __USE_POSIX199309 || defined __USE_UNIX98
diff --git a/nptl/perf.c b/nptl/perf.c
index b456b41..d134c21 100644
--- a/nptl/perf.c
+++ b/nptl/perf.c
@@ -388,7 +388,7 @@ main (int argc, char *argv[])
   tmain = pthread_self ();
 
   /* We use signal SIGUSR1 for communication between the threads and
-     the main thread.  We only want sychronous notification.  */
+     the main thread.  We only want synchronous notification.  */
   if (sync_method == sync_signal)
     {
       sigemptyset (&ss);
diff --git a/ports/sysdeps/unix/sysv/linux/arm/sigrestorer.S b/ports/sysdeps/unix/sysv/linux/arm/sigrestorer.S
index 52e8cd9..f09e345 100644
--- a/ports/sysdeps/unix/sysv/linux/arm/sigrestorer.S
+++ b/ports/sysdeps/unix/sysv/linux/arm/sigrestorer.S
@@ -18,7 +18,7 @@
 #include <sysdep.h>
 
 /* If no SA_RESTORER function was specified by the application we use
-   one of these.  This avoids the need for the kernel to synthesise a return
+   one of these.  This avoids the need for the kernel to synthesize a return
    instruction on the stack, which would involve expensive cache flushes.
 
    Nowadays (2.6 series, and somewhat earlier) the kernel uses a high page
diff --git a/ports/sysdeps/arm/armv7/multiarch/memcpy_impl.S b/ports/sysdeps/arm/armv7/multiarch/memcpy_impl.S
index 3decad6..dfc53e3 100644
--- a/ports/sysdeps/arm/armv7/multiarch/memcpy_impl.S
+++ b/ports/sysdeps/arm/armv7/multiarch/memcpy_impl.S
@@ -637,7 +637,7 @@ ENTRY(memcpy)
 #else
 	/* Long copy.  Use an SMS style loop to maximize the I/O
 	   bandwidth of the core.  We don't have enough spare registers
-	   to synthesise prefetching, so use PLD operations.  */
+	   to synthesize prefetching, so use PLD operations.  */
 	/* Pre-bias src and dst.  */
 	sub	src, src, #8
 	sub	dst, dst, #8
diff --git a/manual/sysinfo.texi b/manual/sysinfo.texi
index 5df2a0f..5b6e8d0 100644
--- a/manual/sysinfo.texi
+++ b/manual/sysinfo.texi
@@ -226,7 +226,7 @@ associated data type are declared in the header file
 
 As a bonus, @code{uname} also gives some information identifying the
 particular system your program is running on.  This is the same information
-which you can get with functions targetted to this purpose described in
+which you can get with functions targeted to this purpose described in
 @ref{Host Identification}.
 
 
diff --git a/elf/elf.h b/elf/elf.h
index f372271..0201c8c 100644
--- a/elf/elf.h
+++ b/elf/elf.h
@@ -1776,7 +1776,7 @@ typedef Elf32_Addr Elf32_Conflict;
 
 /* Additional section indeces.  */
 
-#define SHN_PARISC_ANSI_COMMON	0xff00	   /* Section for tenatively declared
+#define SHN_PARISC_ANSI_COMMON	0xff00	   /* Section for tentatively declared
 					      symbols in ANSI C.  */
 #define SHN_PARISC_HUGE_COMMON	0xff01	   /* Common blocks in huge model.  */
 
diff --git a/malloc/malloc.c b/malloc/malloc.c
index be472b2..4c04707 100644
--- a/malloc/malloc.c
+++ b/malloc/malloc.c
@@ -821,7 +821,7 @@ int      __posix_memalign(void **, size_t, size_t);
   might set to a value close to the average size of a process
   (program) running on your system.  Releasing this much memory
   would allow such a process to run in memory.  Generally, it's
-  worth it to tune for trimming rather tham memory mapping when a
+  worth it to tune for trimming rather than memory mapping when a
   program undergoes phases where several large chunks are
   allocated and released in ways that can reuse each other's
   storage, perhaps mixed with phases where there are no such
diff --git a/posix/tst-spawn.c b/posix/tst-spawn.c
index 66fd26b..cdae6cc 100644
--- a/posix/tst-spawn.c
+++ b/posix/tst-spawn.c
@@ -181,7 +181,7 @@ do_test (int argc, char *argv[])
        + file descriptor number which is supposed to be closed
        + the open file descriptor
        + the newly opened file descriptor
-       + thhe duped second descriptor
+       + the duped second descriptor
        + the name of the closed descriptor
   */
   if (argc != (restart ? 6 : 2) && argc != (restart ? 6 : 5))
diff --git a/sysdeps/i386/i686/hp-timing.h b/sysdeps/i386/i686/hp-timing.h
index 920d441..530d472 100644
--- a/sysdeps/i386/i686/hp-timing.h
+++ b/sysdeps/i386/i686/hp-timing.h
@@ -26,7 +26,7 @@
 
 /* The macros defined here use the timestamp counter in i586 and up versions
    of the x86 processors.  They provide a very accurate way to measure the
-   time with very little overhead.  The time values themself have no real
+   time with very little overhead.  The time values themselves have no real
    meaning, only differences are interesting.
 
    This version is for the i686 processors.  The difference to the i586
diff --git a/ports/sysdeps/alpha/hp-timing.h b/ports/sysdeps/alpha/hp-timing.h
index 4ccc2b0..752f24c 100644
--- a/ports/sysdeps/alpha/hp-timing.h
+++ b/ports/sysdeps/alpha/hp-timing.h
@@ -26,7 +26,7 @@
 
 /* The macros defined here use the timestamp counter in IA-64.  They
    provide a very accurate way to measure the time with very little
-   overhead.  The time values themself have no real meaning, only
+   overhead.  The time values themselves have no real meaning, only
    differences are interesting.
 
    The list of macros we need includes the following:
diff --git a/ports/sysdeps/ia64/hp-timing.h b/ports/sysdeps/ia64/hp-timing.h
index 4fdf8c9..60e4f90 100644
--- a/ports/sysdeps/ia64/hp-timing.h
+++ b/ports/sysdeps/ia64/hp-timing.h
@@ -27,7 +27,7 @@
 
 /* The macros defined here use the timestamp counter in IA-64.  They
    provide a very accurate way to measure the time with very little
-   overhead.  The time values themself have no real meaning, only
+   overhead.  The time values themselves have no real meaning, only
    differences are interesting.
 
    The list of macros we need includes the following:
diff --git a/locale/programs/linereader.c b/locale/programs/linereader.c
index 4773d4c..bd8dc57 100644
--- a/locale/programs/linereader.c
+++ b/locale/programs/linereader.c
@@ -650,7 +650,7 @@ get_string (struct linereader *lr, const struct charmap_t *charmap,
 	  if (ch != '<')
 	    {
 	      /* The standards leave it up to the implementation to decide
-		 what to do with character which stand for themself.  We
+		 what to do with character which stand for themselves.  We
 		 could jump through hoops to find out the value relative to
 		 the charmap and the repertoire map, but instead we leave
 		 it up to the locale definition author to write a better
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 351befb..084a940 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -220,7 +220,7 @@
 //    EDP_Root is the exact value of the corresponding root rounded to double
 //    extended precision. So, we have 35 different polynomials which make our
 //    table rather big. We may hope that x falls in root "neighbourhood"
-//    quite rarely -> ther might be no need in frequent use of different
+//    quite rarely -> there might be no need in frequent use of different
 //    polynomials.
 //    A0, A1, A2, A3 are represented as pairs of double precision numbers,
 //    A4, A5 are long doubles, and to decrease the size of the table we
diff --git a/posix/regexec.c b/posix/regexec.c
index f85c5e8..69d6b96 100644
--- a/posix/regexec.c
+++ b/posix/regexec.c
@@ -466,7 +466,7 @@ re_search_stub (bufp, string, length, start, range, stop, regs, ret_len)
 
   rval = 0;
 
-  /* I hope we needn't fill ther regs with -1's when no match was found.  */
+  /* I hope we needn't fill there regs with -1's when no match was found.  */
   if (result != REG_NOERROR)
     rval = -1;
   else if (regs != NULL)
diff --git a/ports/sysdeps/ia64/fpu/e_pow.S b/ports/sysdeps/ia64/fpu/e_pow.S
index 89449c7..5b2e9a7 100644
--- a/ports/sysdeps/ia64/fpu/e_pow.S
+++ b/ports/sysdeps/ia64/fpu/e_pow.S
@@ -104,12 +104,12 @@
 //
 // If you take the significand of x, set the exponent to true 0, then Cm is
 // the frcpa. We tabulate the Log(1/Cm) values. There are 256 of them.
-// The frcpa table is indexed by 8 bits, the x_1 thru x_8.
+// The frcpa table is indexed by 8 bits, the x_1 through x_8.
 // m = x_1x_2...x_8 is an 8-bit index.
 //
 //      Log(1/Cm) = log(1/frcpa(1+m/256)) where m goes from 0 to 255.
 //
-// We tabluate as two doubles, T and t, where T +t is the value itself.
+// We tabulate as two doubles, T and t, where T +t is the value itself.
 //
 //      Log(x)   = (K Log(2)_hi + T) + (Log(2)_hi + t) + Log( 1 + (Bx-1))
 //      Log(x)   =  G + delta           + Log( 1 + (Bx-1))
diff --git a/ports/sysdeps/ia64/fpu/e_powf.S b/ports/sysdeps/ia64/fpu/e_powf.S
index 5585f9d..9870d00 100644
--- a/ports/sysdeps/ia64/fpu/e_powf.S
+++ b/ports/sysdeps/ia64/fpu/e_powf.S
@@ -104,12 +104,12 @@
 //
 // If you take the significand of x, set the exponent to true 0, then Cm is
 // the frcpa. We tabulate the Log(1/Cm) values. There are 256 of them.
-// The frcpa table is indexed by 8 bits, the x_1 thru x_8.
+// The frcpa table is indexed by 8 bits, the x_1 through x_8.
 // m = x_1x_2...x_8 is an 8-bit index.
 //
 //      Log(1/Cm) = log(1/frcpa(1+m/256)) where m goes from 0 to 255.
 //
-// We tabluate as one double, T for single precision power
+// We tabulate as one double, T for single precision power
 //
 //      Log(x)   = (K Log(2)_hi + T) + (K Log(2)_lo) + Log( 1 + (Bx-1))
 //      Log(x)   =  G                +     delta     + Log( 1 + (Bx-1))
diff --git a/sysdeps/powerpc/powerpc64/setjmp-common.S b/sysdeps/powerpc/powerpc64/setjmp-common.S
index 58ec610..730b30f 100644
--- a/sysdeps/powerpc/powerpc64/setjmp-common.S
+++ b/sysdeps/powerpc/powerpc64/setjmp-common.S
@@ -57,7 +57,7 @@ ENTRY (__GI__setjmp)
 	std r2,40(r1)		/* Save the callers TOC in the save area.  */
 	cfi_endproc
 END_2 (__GI__setjmp)
-/* Fall thru. */
+/* Fall through. */
 #endif
 
 ENTRY (_setjmp)
diff --git a/manual/string.texi b/manual/string.texi
index 246be84..a1d4cd8 100644
--- a/manual/string.texi
+++ b/manual/string.texi
@@ -2291,7 +2291,7 @@ that described in @xref{Cryptographic Functions}.
 
 To store or transfer binary data in environments which only support text
 one has to encode the binary data by mapping the input bytes to
-characters in the range allowed for storing or transfering.  SVID
+characters in the range allowed for storing or transferring.  SVID
 systems (and nowadays XPG compliant systems) provide minimal support for
 this task.
 
diff --git a/posix/regexec.c b/posix/regexec.c
index f85c5e8..69d6b96 100644
--- a/posix/regexec.c
+++ b/posix/regexec.c
@@ -3361,7 +3361,7 @@ build_trtable (const re_dfa_t *dfa, re_dfastate_t *state)
   dests_node = dests_alloc->dests_node;
   dests_ch = dests_alloc->dests_ch;
 
-  /* Initialize transiton table.  */
+  /* Initialize transition table.  */
   state->word_trtable = state->trtable = NULL;
 
   /* At first, group all nodes belonging to `state' into several
diff --git a/soft-fp/op-common.h b/soft-fp/op-common.h
index bed1e21..75ea352 100644
--- a/soft-fp/op-common.h
+++ b/soft-fp/op-common.h
@@ -46,7 +46,7 @@
    : !(_FP_FRAC_HIGH_##fs(X) & _FP_QNANBIT_SH_##fs))
 
 /*
- * Finish truely unpacking a native fp value by classifying the kind
+ * Finish truly unpacking a native fp value by classifying the kind
  * of fp value and normalizing both the exponent and the fraction.
  */
 
diff --git a/resolv/resolv.h b/resolv/resolv.h
index 53c3bba..33f73cc 100644
--- a/resolv/resolv.h
+++ b/resolv/resolv.h
@@ -197,7 +197,7 @@ struct res_sym {
 #define RES_AAONLY	0x00000004	/* authoritative answers only (!IMPL)*/
 #define RES_USEVC	0x00000008	/* use virtual circuit */
 #define RES_PRIMARY	0x00000010	/* query primary server only (!IMPL) */
-#define RES_IGNTC	0x00000020	/* ignore trucation errors */
+#define RES_IGNTC	0x00000020	/* ignore truncation errors */
 #define RES_RECURSE	0x00000040	/* recursion desired */
 #define RES_DEFNAMES	0x00000080	/* use default domain name */
 #define RES_STAYOPEN	0x00000100	/* Keep TCP socket open */
diff --git a/sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S b/sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S
index efdfea2..e2ddc6b 100644
--- a/sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S
+++ b/sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S
@@ -1,4 +1,4 @@
-/* memcpy with unaliged loads
+/* memcpy with unaligned loads
    Copyright (C) 2013 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 351befb..084a940 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -2598,7 +2598,7 @@ _deno_back_to_main_path:
 { .mfi
       ldfe               fA12 = [rTmpPtr2], -32 // A12
       fms.s1             FR_r = FR_G, fSignifX, f1 // r = G * S_hi - 1
-      sub                GR_N = GR_N, rExpHalf, 1 // unbisaed exponent of DeltaX
+      sub                GR_N = GR_N, rExpHalf, 1 // unbiased exponent of DeltaX
 }
 ;;
 //
diff --git a/ports/sysdeps/ia64/fpu/e_logl.S b/ports/sysdeps/ia64/fpu/e_logl.S
index e12c65d..9f9f681 100644
--- a/ports/sysdeps/ia64/fpu/e_logl.S
+++ b/ports/sysdeps/ia64/fpu/e_logl.S
@@ -176,7 +176,7 @@
 //   ----------------------
 //
 //   Z := X
-//   N := unbaised exponent of Z
+//   N := unbiased exponent of Z
 //   S_hi := 2^(-N) * Z
 //
 //   Step 1. Argument Reduction
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 351befb..084a940 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -282,7 +282,7 @@
 //   ----------------------
 //
 //   Z := X
-//   N := unbaised exponent of Z
+//   N := unbiased exponent of Z
 //   S_hi := 2^(-N) * Z
 //
 //   Step 1. Argument Reduction
diff --git a/ports/sysdeps/ia64/fpu/s_log1pl.S b/ports/sysdeps/ia64/fpu/s_log1pl.S
index f60ce12..473d97d 100644
--- a/ports/sysdeps/ia64/fpu/s_log1pl.S
+++ b/ports/sysdeps/ia64/fpu/s_log1pl.S
@@ -185,7 +185,7 @@
 //   ----------------------
 //
 //   Z := X + 1
-//   N := unbaised exponent of Z
+//   N := unbiased exponent of Z
 //   S_hi := 2^(-N) * Z
 //   S_lo := 2^(-N) * { (max(X,1)-Z) + min(X,1) }
 //
diff --git a/hurd/lookup-retry.c b/hurd/lookup-retry.c
index 7c04423..8ff111f 100644
--- a/hurd/lookup-retry.c
+++ b/hurd/lookup-retry.c
@@ -134,7 +134,7 @@ __hurd_file_name_lookup_retry (error_t (*use_init_port)
 		     refusing symlinks while accepting mount points.
 		     Note that we actually permit something Linux doesn't:
 		     we follow root-owned symlinks; if that is deemed
-		     undesireable, we can add a final check for that
+		     undesirable, we can add a final check for that
 		     one exception to our general translator-based rule.  */
 		  struct stat64 st;
 		  err = __io_stat (*result, &st);
diff --git a/sysdeps/powerpc/math-tests.h b/sysdeps/powerpc/math-tests.h
index d87dc9a..67bdd2c 100644
--- a/sysdeps/powerpc/math-tests.h
+++ b/sysdeps/powerpc/math-tests.h
@@ -20,7 +20,7 @@
    a IEEE 754-2008 general-computational convertFormat operation (IEEE
    754-2008, 5.4.2) -- does not turn a sNaN into a qNaN (whilst raising an
    INVALID exception), which is contrary to IEEE 754-2008 5.1 and 7.2.  This
-   renders certain tests infeasible in this scenario.
+   renders certain tests unfeasible in this scenario.
    <http://gcc.gnu.org/PR56828>.  */
 #define SNAN_TESTS_TYPE_CAST	0
 
diff --git a/ports/sysdeps/ia64/fpu/libm_sincos_large.S b/ports/sysdeps/ia64/fpu/libm_sincos_large.S
index b09d369..aaaa229 100644
--- a/ports/sysdeps/ia64/fpu/libm_sincos_large.S
+++ b/ports/sysdeps/ia64/fpu/libm_sincos_large.S
@@ -223,7 +223,7 @@
 //           = (-1)^i_0 * [cos(r) - c*r] if i_1 = 1
 //
 //  because |r| is small and thus the second terms in the correction
-//  are unneccessary.
+//  are unnecessary.
 //
 //  Finally, sin(r) and cos(r) are approximated by polynomials of
 //  moderate lengths.
diff --git a/ports/sysdeps/ia64/fpu/libm_sincosl.S b/ports/sysdeps/ia64/fpu/libm_sincosl.S
index 1d89ff4..60f484d 100644
--- a/ports/sysdeps/ia64/fpu/libm_sincosl.S
+++ b/ports/sysdeps/ia64/fpu/libm_sincosl.S
@@ -205,7 +205,7 @@
 //           = (-1)^i_0 * [cosl(r) - c*r] if i_1 = 1
 //
 //  because |r| is small and thus the second terms in the correction
-//  are unneccessary.
+//  are unnecessary.
 //
 //  Finally, sinl(r) and cosl(r) are approximated by polynomials of
 //  moderate lengths.
diff --git a/ports/sysdeps/ia64/fpu/s_cosl.S b/ports/sysdeps/ia64/fpu/s_cosl.S
index 8d71e50..1b4a1e2 100644
--- a/ports/sysdeps/ia64/fpu/s_cosl.S
+++ b/ports/sysdeps/ia64/fpu/s_cosl.S
@@ -212,7 +212,7 @@
 //           = (-1)^i_0 * [cosl(r) - c*r] if i_1 = 1
 //
 //  because |r| is small and thus the second terms in the correction
-//  are unneccessary.
+//  are unnecessary.
 //
 //  Finally, sinl(r) and cosl(r) are approximated by polynomials of
 //  moderate lengths.
diff --git a/sysdeps/i386/i686/multiarch/wcscmp-sse2.S b/sysdeps/i386/i686/multiarch/wcscmp-sse2.S
index 9b248c1..8aa6cc9 100644
--- a/sysdeps/i386/i686/multiarch/wcscmp-sse2.S
+++ b/sysdeps/i386/i686/multiarch/wcscmp-sse2.S
@@ -38,7 +38,7 @@
 # define STR1  PARMS
 # define STR2  STR1+4
 
-/* Note: wcscmp uses signed comparison, not unsugned as in strcmp function. */
+/* Note: wcscmp uses signed comparison, not unsigned as in strcmp function. */
 
 	.text
 ENTRY (__wcscmp_sse2)
diff --git a/ports/sysdeps/unix/sysv/linux/am33/socket.S b/ports/sysdeps/unix/sysv/linux/am33/socket.S
index 959ce50..94b933a 100644
--- a/ports/sysdeps/unix/sysv/linux/am33/socket.S
+++ b/ports/sysdeps/unix/sysv/linux/am33/socket.S
@@ -24,7 +24,7 @@
 #define P2(a, b) a##b
 
 	.text
-/* The socket-oriented system calls are handled unusally in Linux.
+/* The socket-oriented system calls are handled unusually in Linux.
    They are all gated through the single `socketcall' system call number.
    `socketcall' takes two arguments: the first is the subcode, specifying
    which socket function is being called; and the second is a pointer to
diff --git a/ports/sysdeps/unix/sysv/linux/m68k/socket.S b/ports/sysdeps/unix/sysv/linux/m68k/socket.S
index d82d30c..633d545 100644
--- a/ports/sysdeps/unix/sysv/linux/m68k/socket.S
+++ b/ports/sysdeps/unix/sysv/linux/m68k/socket.S
@@ -22,7 +22,7 @@
 #define P2(a, b) a##b
 
 	.text
-/* The socket-oriented system calls are handled unusally in Linux.
+/* The socket-oriented system calls are handled unusually in Linux.
    They are all gated through the single `socketcall' system call number.
    `socketcall' takes two arguments: the first is the subcode, specifying
    which socket function is being called; and the second is a pointer to
diff --git a/ports/sysdeps/unix/sysv/linux/microblaze/socket.S b/ports/sysdeps/unix/sysv/linux/microblaze/socket.S
index 229f54f..2a1c14f 100644
--- a/ports/sysdeps/unix/sysv/linux/microblaze/socket.S
+++ b/ports/sysdeps/unix/sysv/linux/microblaze/socket.S
@@ -22,7 +22,7 @@
 #define P(a, b) P2(a, b)
 #define P2(a, b) a##b
 
-/* The socket-oriented system calls are handled unusally in Linux.
+/* The socket-oriented system calls are handled unusually in Linux.
    They are all gated through the single `socketcall' system call number.
    `socketcall' takes two arguments: the first is the subcode, specifying
    which socket function is being called; and the second is a pointer to
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S b/sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S
index 0c027b3..453b5bf 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S
@@ -21,7 +21,7 @@
 #define P(a, b) P2(a, b)
 #define P2(a, b) a##b
 
-/* The socket-oriented system calls are handled unusally in Linux.
+/* The socket-oriented system calls are handled unusually in Linux.
    They are all gated through the single `socketcall' system call number.
    `socketcall' takes two arguments: the first is the subcode, specifying
    which socket function is being called; and the second is a pointer to
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S b/sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S
index 018e55c..8f888a4 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S
@@ -21,7 +21,7 @@
 #define P(a, b) P2(a, b)
 #define P2(a, b) a##b
 
-/* The socket-oriented system calls are handled unusally in Linux.
+/* The socket-oriented system calls are handled unusually in Linux.
    They are all gated through the single `socketcall' system call number.
    `socketcall' takes two arguments: the first is the subcode, specifying
    which socket function is being called; and the second is a pointer to
diff --git a/sysdeps/unix/sysv/linux/s390/s390-32/socket.S b/sysdeps/unix/sysv/linux/s390/s390-32/socket.S
index 6c91115..5f97ca4 100644
--- a/sysdeps/unix/sysv/linux/s390/s390-32/socket.S
+++ b/sysdeps/unix/sysv/linux/s390/s390-32/socket.S
@@ -24,7 +24,7 @@
 #define P2(a, b) a##b
 
 	.text
-/* The socket-oriented system calls are handled unusally in Linux.
+/* The socket-oriented system calls are handled unusually in Linux.
    They are all gated through the single `socketcall' system call number.
    `socketcall' takes two arguments: the first is the subcode, specifying
    which socket function is being called; and the second is a pointer to
diff --git a/sysdeps/unix/sysv/linux/s390/s390-64/socket.S b/sysdeps/unix/sysv/linux/s390/s390-64/socket.S
index e3fb8b9..6a12878 100644
--- a/sysdeps/unix/sysv/linux/s390/s390-64/socket.S
+++ b/sysdeps/unix/sysv/linux/s390/s390-64/socket.S
@@ -24,7 +24,7 @@
 #define P2(a, b) a##b
 
         .text
-/* The socket-oriented system calls are handled unusally in Linux.
+/* The socket-oriented system calls are handled unusually in Linux.
    They are all gated through the single `socketcall' system call number.
    `socketcall' takes two arguments: the first is the subcode, specifying
    which socket function is being called; and the second is a pointer to
diff --git a/sysdeps/unix/sysv/linux/sh/socket.S b/sysdeps/unix/sysv/linux/sh/socket.S
index fc16ea4..848322d 100644
--- a/sysdeps/unix/sysv/linux/sh/socket.S
+++ b/sysdeps/unix/sysv/linux/sh/socket.S
@@ -23,7 +23,7 @@
 #define P2(a, b) a##b
 
 	.text
-/* The socket-oriented system calls are handled unusally in Linux.
+/* The socket-oriented system calls are handled unusually in Linux.
    They are all gated through the single `socketcall' system call number.
    `socketcall' takes two arguments: the first is the subcode, specifying
    which socket function is being called; and the second is a pointer to
diff --git a/sysdeps/unix/sysv/linux/i386/accept4.S b/sysdeps/unix/sysv/linux/i386/accept4.S
index e8c82c7..4af043a 100644
--- a/sysdeps/unix/sysv/linux/i386/accept4.S
+++ b/sysdeps/unix/sysv/linux/i386/accept4.S
@@ -33,7 +33,7 @@ have_accept4:
 #endif
 
 	.text
-/* The socket-oriented system calls are handled unusally in Linux/i386.
+/* The socket-oriented system calls are handled unusually in Linux/i386.
    They are all gated through the single `socketcall' system call number.
    `socketcall' takes two arguments: the first is the subcode, specifying
    which socket function is being called; and the second is a pointer to
diff --git a/sysdeps/unix/sysv/linux/i386/socket.S b/sysdeps/unix/sysv/linux/i386/socket.S
index e4f6a0e..73dc25d 100644
--- a/sysdeps/unix/sysv/linux/i386/socket.S
+++ b/sysdeps/unix/sysv/linux/i386/socket.S
@@ -23,7 +23,7 @@
 #define P2(a, b) a##b
 
 	.text
-/* The socket-oriented system calls are handled unusally in Linux/i386.
+/* The socket-oriented system calls are handled unusually in Linux/i386.
    They are all gated through the single `socketcall' system call number.
    `socketcall' takes two arguments: the first is the subcode, specifying
    which socket function is being called; and the second is a pointer to
diff --git a/time/asctime.c b/time/asctime.c
index b4bc78d..0ff977b 100644
--- a/time/asctime.c
+++ b/time/asctime.c
@@ -41,7 +41,7 @@ asctime_internal (const struct tm *tp, char *buf, size_t buflen)
 
   /* We limit the size of the year which can be printed.  Using the %d
      format specifier used the addition of 1900 would overflow the
-     number and a negative vaue is printed.  For some architectures we
+     number and a negative value is printed.  For some architectures we
      could in theory use %ld or an evern larger integer format but
      this would mean the output needs more space.  This would not be a
      problem if the 'asctime_r' interface would be defined sanely and
diff --git a/nptl/pthread_cond_wait.c b/nptl/pthread_cond_wait.c
index 01d42d7..21c151b 100644
--- a/nptl/pthread_cond_wait.c
+++ b/nptl/pthread_cond_wait.c
@@ -208,7 +208,7 @@ __pthread_cond_wait (cond, mutex)
 
   cond->__data.__nwaiters -= 1 << COND_NWAITERS_SHIFT;
 
-  /* If pthread_cond_destroy was called on this varaible already,
+  /* If pthread_cond_destroy was called on this variable already,
      notify the pthread_cond_destroy caller all waiters have left
      and it can be successfully destroyed.  */
   if (cond->__data.__total_seq == -1ULL
diff --git a/ports/sysdeps/tile/tilepro/bits/atomic.h b/ports/sysdeps/tile/tilepro/bits/atomic.h
index fec3e1b..f35f3c2 100644
--- a/ports/sysdeps/tile/tilepro/bits/atomic.h
+++ b/ports/sysdeps/tile/tilepro/bits/atomic.h
@@ -59,7 +59,7 @@ int __atomic_update_32 (volatile int *mem, int mask, int addend)
   return result;
 }
 
-/* Size-checked verson of __atomic_update_32. */
+/* Size-checked version of __atomic_update_32. */
 #define __atomic_update(mem, mask, addend)                              \
   ((__typeof (*(mem)))                                                  \
    ((sizeof (*(mem)) == 4) ?                                            \
diff --git a/nscd/nscd_setup_thread.c b/nscd/nscd_setup_thread.c
index 037652e..46c8683 100644
--- a/nscd/nscd_setup_thread.c
+++ b/nscd/nscd_setup_thread.c
@@ -1,4 +1,4 @@
-/* Setup of nscd worker threads.  Stub verison.
+/* Setup of nscd worker threads.  Stub version.
    Copyright (C) 2004-2013 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@redhat.com>, 2004.
diff --git a/sysdeps/unix/sysv/linux/nscd_setup_thread.c b/sysdeps/unix/sysv/linux/nscd_setup_thread.c
index 60af366..7c0a261 100644
--- a/sysdeps/unix/sysv/linux/nscd_setup_thread.c
+++ b/sysdeps/unix/sysv/linux/nscd_setup_thread.c
@@ -1,4 +1,4 @@
-/* Setup of nscd worker threads.  Linux verison.
+/* Setup of nscd worker threads.  Linux version.
    Copyright (C) 2004-2013 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@redhat.com>, 2004.
diff --git a/libio/fmemopen.c b/libio/fmemopen.c
index 02c764f..f174df5 100644
--- a/libio/fmemopen.c
+++ b/libio/fmemopen.c
@@ -33,7 +33,7 @@
  * - I never used the "original" fmemopen(). I am sure that "my"
  *   fmemopen() behaves differently than the original version.
  *
- * - The documentation doesn't say wether a string stream allows
+ * - The documentation doesn't say whether a string stream allows
  *   seeks. I checked the old fmemopen implementation in glibc's stdio
  *   directory, wasn't quite able to see what is going on in that
  *   source, but as far as I understand there was no seek there. For
diff --git a/socket/sockatmark.c b/socket/sockatmark.c
index 43c453c..fb82fb5 100644
--- a/socket/sockatmark.c
+++ b/socket/sockatmark.c
@@ -18,7 +18,7 @@
 #include <errno.h>
 #include <sys/socket.h>
 
-/* Determine wheter socket is at a out-of-band mark.  */
+/* Determine whether socket is at an out-of-band mark.  */
 int
 sockatmark (fd)
      int fd;
diff --git a/socket/sys/socket.h b/socket/sys/socket.h
index 8aa0bab..31a2199 100644
--- a/socket/sys/socket.h
+++ b/socket/sys/socket.h
@@ -262,7 +262,7 @@ extern int shutdown (int __fd, int __how) __THROW;
 
 
 #ifdef __USE_XOPEN2K
-/* Determine wheter socket is at a out-of-band mark.  */
+/* Determine whether socket is at an out-of-band mark.  */
 extern int sockatmark (int __fd) __THROW;
 #endif
 
diff --git a/sysdeps/unix/sockatmark.c b/sysdeps/unix/sockatmark.c
index 0c2256d..e55eca2 100644
--- a/sysdeps/unix/sockatmark.c
+++ b/sysdeps/unix/sockatmark.c
@@ -18,7 +18,7 @@
 #include <sys/ioctl.h>
 #include <sys/socket.h>
 
-/* Determine wheter socket is at a out-of-band mark.  */
+/* Determine whether socket is at an out-of-band mark.  */
 int
 sockatmark (fd)
      int fd;

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [PATCH] Fix typos.
  2013-08-18 16:50 ` Ondřej Bílka
@ 2013-08-18 20:15   ` Joseph S. Myers
  2013-08-18 22:10     ` [PATCH 1/9] " Ondřej Bílka
  0 siblings, 1 reply; 24+ messages in thread
From: Joseph S. Myers @ 2013-08-18 20:15 UTC (permalink / raw)
  To: Ondřej Bílka; +Cc: libc-alpha, libc-ports

On Sun, 18 Aug 2013, Ondrej Bilka wrote:

> ./ports/Changelog.aarch64:
> 
> 
> 	* bits/atomic.h: Fix typos.
> 	* strcmp.S: Likewise.
> 	* strlen.S: Likewise.
> 	* strnlen.S: Likewise.

Incorrect ChangeLog entries.  Paths given are always relative to the 
directory of the ChangeLog file, i.e. relative to the ports/ directory for 
all the ports/ ChangeLogs.

> ./ports/Changelog:

None of these belong in this file.  Those for architecture-specific files 
go in ChangeLog.<arch>.  Those for sysdeps/unix/sysv/linux/generic go in 
ChangeLog.linux-generic.

> e new larger chunk.  We then carry on \n-accreting characters to the end of the 
> e new larger chunk.  We then carry on \n+accrediting characters to the end of th
>                                               ^^                               

No, this change is wrong.  "accreting" is a valid English word and 
corresponds to the intended meaning here.

>  the result is denormal,  it will not \n-honour the double precision and generat
>  the result is denormal,  it will not \n+honor the double precision and generate
>                                             ^^                                 

Never mix changes that relate to choice of English language variant with 
actual typo fixes.  If a patch claims to fix typos, it should only contain 
changes that are completely unambiguously typo fixes.  Not changes of 
English language variant, not changes where you aren't sure of what was 
intended, not changes where colloquial usage in comments may use an 
abbreviated form such as "thru", or vary usage of spacing or hyphenation 
such as "bit field" / "bit-field" / "bitfield", or anything like that; 
just cases where the existing comment is simply unambiguously wrong rather 
than the writer's choice of informal usage.  Anything that could be 
considered stylistic needs discussing separately (and any standards in 
such cases are only really needed for the manual, not random comments).

>  /* Restore the default.  Better than \n-nother at all.  */ \n ctx->classes[0] =
>  /* Restore the default.  Better than \n+other at all.  */ \n ctx->classes[0] = 
>                                         ^^                                     

I don't think this comment really makes sense either before or after the 
change.  In such cases, a separate thread may be needed to discuss the 
intent of the comment.

>  data packet */ \n-#define ACK 04    /* acknowledgement */ \n #define ERROR 05  
>  data packet */ \n+#define ACK 04    /* acknowledgment */ \n #define ERROR 05   
>                                                  ^^                            

This is another English variant issue, not a typo issue.

>                              \n-/* Info abount the function itself.  */ \n n = p
>                              \n+/* Info amount the function itself.  */ \n n = p
>                                          ^                                     

No, "about", not "amount".

When sending typo fix patches you need to read every single modified 
comment yourself and satisfy yourself that the change does reflect the 
intent of the comment.  It's clear this has not been done in this case 
(other examples of changes that are simply wrong include "espects" -> 
"aspects", should be "expects", and "intrinsics" -> "intrinsic", when the 
original was correct).

I stopped commenting here.  For any subsequent revisions, in addition to 
the points I identified above, please keep patches down to at most 1000 
lines for convenience of review, and wait until consensus has been reached 
on a single posted patch before sending any subsequent patches (also of at 
most 1000 lines).

-- 
Joseph S. Myers
joseph@codesourcery.com

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [PATCH 1/9] Fix typos.
  2013-08-18 20:15   ` Joseph S. Myers
@ 2013-08-18 22:10     ` Ondřej Bílka
  2013-08-18 22:31       ` Allan McRae
                         ` (5 more replies)
  0 siblings, 6 replies; 24+ messages in thread
From: Ondřej Bílka @ 2013-08-18 22:10 UTC (permalink / raw)
  To: Joseph S. Myers; +Cc: libc-alpha, libc-ports

On Sun, Aug 18, 2013 at 08:15:24PM +0000, Joseph S. Myers wrote:
> I stopped commenting here.  For any subsequent revisions, in addition to 
> the points I identified above, please keep patches down to at most 1000 
> lines for convenience of review, and wait until consensus has been reached 
> on a single posted patch before sending any subsequent patches (also of at 
> most 1000 lines).
> 
I split patches to 1000 lines, here is first one.


./nptl/ChangeLog:


	* pthread_getschedparam.c: Fix typos.
	* sysdeps/unix/sysv/linux/register-atfork.c: Likewise.

./ChangeLog:


	* argp/argp.h: Fix typos.
	* argp/argp-help.c: Likewise.
	* crypt/speeds.c: Likewise.
	* csu/check_fds.c: Likewise.
	* elf/dl-load.c: Likewise.
	* elf/dl-open.c: Likewise.
	* elf/reldep3.c: Likewise.
	* elf/reldep.c: Likewise.
	* elf/sprof.c: Likewise.
	* iconv/iconv_charmap.c: Likewise.
	* iconv/skeleton.c: Likewise.
	* iconv/strtab.c: Likewise.
	* inet/arpa/tftp.h: Likewise.
	* inet/protocols/timed.h: Likewise.
	* io/lockf64.c: Likewise.
	* libio/libioP.h: Likewise.
	* manual/fdl-1.3.texi: Likewise.
	* manual/socket.texi: Likewise.
	* resolv/gai_notify.c: Likewise.
	* resolv/ns_name.c: Likewise.
	* resolv/ns_samedomain.c: Likewise.
	* resolv/res_send.c: Likewise.
	* stdlib/random.c: Likewise.
	* sunrpc/rpc/xdr.h: Likewise.
	* sysdeps/generic/netinet/tcp.h: Likewise.
	* sysdeps/gnu/netinet/tcp.h: Likewise.
	* sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
	* sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
	* sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
	* sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
	* sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
	* sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
	* sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
	* sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
	* sysdeps/mach/hurd/check_fds.c: Likewise.
	* sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
	* sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
	* sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
	* sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
	* sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
	* sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
	* sysdeps/pthread/aio_notify.c: Likewise.
	* sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
	* sysdeps/unix/sysv/linux/socketcall.h: Likewise.
	* sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
	* sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
	* sysdeps/x86_64/multiarch/strstr.c: Likewise.
	* sysdeps/x86/fpu/bits/fenv.h: Likewise.

./ports/ChangeLog.ia64:


	* sysdeps/ia64/fpu/e_atanhl.S: Fix typos.
	* sysdeps/ia64/fpu/e_log2l.S: Likewise.
	* sysdeps/ia64/fpu/e_logl.S: Likewise.
	* sysdeps/ia64/fpu/fraiseexcpt.c: Likewise.
	* sysdeps/ia64/fpu/libm_lgammal.S: Likewise.
	* sysdeps/ia64/fpu/s_log1pl.S: Likewise.

./ports/ChangeLog.hppa:


	* sysdeps/hppa/dl-lookupcfg.h: Fix typos.
	* sysdeps/hppa/fpu/fraiseexcpt.c: Likewise.
	* sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.

./ports/ChangeLog.am33:


	* sysdeps/am33/fpu/fraiseexcpt.c: Fix typos.

./ports/ChangeLog.tile:


	* sysdeps/tile/jmpbuf-offsets.h: Fix typos.

./ports/ChangeLog.m68k:


	* sysdeps/m68k/m680x0/fpu/fraiseexcpt.c: Fix typos.

---

If must still be around since we have \n-a implicit dependency.  */ \n if (dlclo
If must still be around since we have \n+an implicit dependency.  */ \n if (dlcl
                                          ^                                    
If must still be around since we have \n-a implicit dependency.  */ \n if (dlclo
If must still be around since we have \n+an implicit dependency.  */ \n if (dlcl
                                          ^                                    
                             \n-/* Info abount the function itself.  */ \n n = p
                             \n+/* Info about the function itself.  */ \n n = pr
                                           ^^                                  
ogram \n-we are about to start does not accidently use this \n descriptor.  */  
ogram \n+we are about to start does not accidentally use this \n descriptor.  */
                                                ^^                             
ogram we are \n-about to start does not accidently use this descriptor.  */ \n i
ogram we are \n+about to start does not accidentally use this descriptor.  */ \n
                                                ^^                             
* We save space for some extra state to accomodate future changes.  */ \n #defin
* We save space for some extra state to accommodate future changes.  */ \n #defi
                                            ^^                                 
-/* The test for "addr & 2" below is to accomodate old binaries which \n violate
+/* The test for "addr & 2" below is to accommodate old binaries which \n violat
                                            ^^                                 
0 0 0 d_5 ... d_14 \n-//        This is accomplised by integer multiplication. \
0 0 0 d_5 ... d_14 \n+//        This is accomplished by integer multiplication. 
                                                 ^                             
 d_9 d_10 ... d_14 \n-//        This is accomplised by integer multiplication. \
 d_9 d_10 ... d_14 \n+//        This is accomplished by integer multiplication. 
                                                 ^                             
d_14 \n-//                      This is accomplised by integer multiplication. \
d_14 \n+//                      This is accomplished by integer multiplication. 
                                                 ^                             
d_14 \n-//                      This is accomplised by integer multiplication. \
d_14 \n+//                      This is accomplished by integer multiplication. 
                                                 ^                             
0 0 0 d_5 ... d_14 \n-//        This is accomplised by integer multiplication. \
0 0 0 d_5 ... d_14 \n+//        This is accomplished by integer multiplication. 
                                                 ^                             
 d_9 d_10 ... d_14 \n-//        This is accomplised by integer multiplication. \
 d_9 d_10 ... d_14 \n+//        This is accomplished by integer multiplication. 
                                                 ^                             
 data packet */ \n-#define ACK 04    /* acknowledgement */ \n #define ERROR 05  
 data packet */ \n+#define ACK 04    /* acknowledgment */ \n #define ERROR 05   
                                                 ^^                            
me */ \n-#define TSP_ACK   2 /* generic acknowledgement */ \n #define TSP_MASTER
me */ \n+#define TSP_ACK   2 /* generic acknowledgment */ \n #define TSP_MASTERR
                                                 ^^                            
quence number */ \n-tcp_seq th_ack;  /* acknowledgement number */ \n #  if __BYT
quence number */ \n+tcp_seq th_ack;  /* acknowledgment number */ \n #  if __BYTE
                                                 ^^                            
uence number */ \n-tcp_seq th_ack;   /* acknowledgement number */ \n #if __BYTE_
uence number */ \n+tcp_seq th_ack;   /* acknowledgment number */ \n #if __BYTE_O
                                                 ^^                            
n-waiting to be sent.  Stop looking for acknowledgement of data already \n sent;
n+waiting to be sent.  Stop looking for acknowledgment of data already \n sent; 
                                                 ^^                            
nce and tone of each of the contributor acknowledgements and/or \n dedications g
nce and tone of each of the contributor acknowledgments and/or \n dedications gi
                                                 ^^                            
of the last path element.  When we come accross \n a DST we copy over the value 
of the last path element.  When we come across \n a DST we copy over the value o
                                        ^ ^                                    
                   .mfi \n-// get T_low adress \n shladd r3=r28,3,r3            
                   .mfi \n+// get T_low address \n shladd r3=r28,3,r3           
                                         ^^                                    
                        \n-/* If source adress alignment != destination adress a
                        \n+/* If source address alignment != destination address
                                          ^                               ^    
                        \n-/* If source adress alignment != destination adress a
                        \n+/* If source address alignment != destination address
                                          ^                               ^    
                        \n-/* If source adress alignment == destination adress a
                        \n+/* If source address alignment == destination address
                                          ^                               ^    
                        \n-/* If source adress alignment == destination adress a
                        \n+/* If source address alignment == destination address
                                          ^                               ^    
   \ \n-/* We loaded the jump table and adjuested ECX. Go.  */  \ \n jmp *%ecx  
   \ \n+/* We loaded the jump table and adjusted ECX. Go.  */  \ \n jmp *%ecx   
                                           ^^                                  
x; \ \n-/* We loaded the jump table and adjuested ECX. Go.  */ \ \n jmp *%ecx   
x; \ \n+/* We loaded the jump table and adjusted ECX. Go.  */ \ \n jmp *%ecx    
                                           ^^                                  
   \ \n-/* We loaded the jump table and adjuested EDX. Go.  */ \ \n jmp  *%ebx  
   \ \n+/* We loaded the jump table and adjusted EDX. Go.  */ \ \n jmp  *%ebx   
                                           ^^                                  
   \ \n-/* We loaded the jump table and adjuested EDX. Go.  */ \ \n jmp  *%ebx  
   \ \n+/* We loaded the jump table and adjusted EDX. Go.  */ \ \n jmp  *%ebx   
                                           ^^                                  
x; \ \n-/* We loaded the jump table and adjuested EDX/ESI. Go.  */ \ \n jmp *%eb
x; \ \n+/* We loaded the jump table and adjusted EDX/ESI. Go.  */ \ \n jmp *%ebx
                                           ^^                                  
 define LOCALE  12 /* Loaded before the adjustement.  */ \n # ifdef PIC         
 define LOCALE  12 /* Loaded before the adjustment.  */ \n # ifdef PIC          
                                             ^^                                
 define LOCALE  16 /* Loaded before the adjustement.  */ \n # ifdef PIC         
 define LOCALE  16 /* Loaded before the adjustment.  */ \n # ifdef PIC          
                                             ^^                                
 define LOCALE  12 /* Loaded before the adjustement.  */ \n # ifdef PIC         
 define LOCALE  12 /* Loaded before the adjustment.  */ \n # ifdef PIC          
                                             ^^                                
 define LOCALE  16 /* Loaded before the adjustement.  */ \n # ifdef PIC         
 define LOCALE  16 /* Loaded before the adjustment.  */ \n # ifdef PIC          
                                             ^^                                
riable.  If it was NULL but is not NULL afterwars we must \n start the profiling
riable.  If it was NULL but is not NULL afterwards we must \n start the profilin
                                                ^                              
be rewritten to use a balancing \n-tree algorith (AVL, red-black trees).  For no
be rewritten to use a balancing \n+tree algorithm (AVL, red-black trees).  For n
                                                ^                              
ne TSP_TEST  21 /* for testing election algo */ \n #define TSP_SETDATE  22 /* Ne
ne TSP_TEST  21 /* for testing election algorithm */ \n #define TSP_SETDATE  22 
                                            ^   ^                              
ccuracy we use precise division \n-//   algorythm output of which is a pair of t
ccuracy we use precise division \n+//   algorithm output of which is a pair of t
                                             ^                                 
    \n-/* lockf.c defines lockf64 as an lias if __OFF_T_MATCHES_OFF64_T.  */ \n 
    \n+/* lockf.c defines lockf64 as an alias if __OFF_T_MATCHES_OFF64_T.  */ \n
                                        ^                                      
 dest bdry  */ \n-clrlwi  r8,r8,32-4 /* aling to 16byte boundary  */ \n sub     
 dest bdry  */ \n+clrlwi  r8,r8,32-4 /* align to 16byte boundary  */ \n sub     
                                           ^^                                  
 dest bdry  */ \n-clrldi  r8,r8,64-4 /* aling to 16byte boundary  */ \n sub     
 dest bdry  */ \n+clrldi  r8,r8,64-4 /* align to 16byte boundary  */ \n sub     
                                           ^^                                  
            { \n-/* Adjust addr for 16B alginment in ensuing loop.  */ \n while 
            { \n+/* Adjust addr for 16B alignment in ensuing loop.  */ \n while 
                                          ^^                                   
                  \n-/* Free eventually alloated memory blocks for the object po
                  \n+/* Free eventually allocated memory blocks for the object p
                                            ^                                  
 \n-Otherwise we know that rSTR1 is not aready word aligned yet. \n So we can fo
 \n+Otherwise we know that rSTR1 is not already word aligned yet. \n So we can f
                                         ^                                     
 \n-Otherwise we know that rSTR1 is not aready word aligned yet. \n So we can fo
 \n+Otherwise we know that rSTR1 is not already word aligned yet. \n So we can f
                                         ^                                     
                 -1,4 +1,4 @@ \n-/* non alitivec (old) version of setjmp for Pow
                 -1,4 +1,4 @@ \n+/* non altivec (old) version of setjmp for Powe
                                         ^^                                    
                 -1,4 +1,4 @@ \n-/* non alitivec (old) version of setjmp for Pow
                 -1,4 +1,4 @@ \n+/* non altivec (old) version of setjmp for Powe
                                         ^^                                    
ight unalign a buffer even though it is a aligned in the \n beginning, either do
ight unalign a buffer even though it is an aligned in the \n beginning, either d
                                         ^                                     
                        *% \n-* Convert a ascii string into an encoded domain na
                        *% \n+* Convert an ascii string into an encoded domain n
                                         ^                                     
             else \n-/* This is part of a asynchronous `getaddrinfo_a' operation
             else \n+/* This is part of an asynchronous `getaddrinfo_a' operatio
                                         ^                                     
             else \n-/* This is part of a asynchronous `lio_listio' operation.  
             else \n+/* This is part of an asynchronous `lio_listio' operation. 
                                         ^                                     
he _IO_JUMPS macro.  The jump table has a eccentric format, \n * so as to be com
he _IO_JUMPS macro.  The jump table has an eccentric format, \n * so as to be co
                                         ^                                     
iscrim structures, terminated with \n-* a entry with a null procedure pointer.  
iscrim structures, terminated with \n+* an entry with a null procedure pointer. 
                                         ^                                     
r/include/linux/net.h. \n-We cannot use a enum here because the values are used 
r/include/linux/net.h. \n+We cannot use an enum here because the values are used
                                         ^                                     
ou'll have to ensure the \n-* existence a environment variable: HZ giving how ma
ou'll have to ensure the \n+* existence an environment variable: HZ giving how m
                                         ^                                     
O_FILE* \n-parameter is used instead of a integer file descriptor;  the default 
O_FILE* \n+parameter is used instead of an integer file descriptor;  the default
                                         ^                                     
lues at all \n-times.  If the user uses a interface other than \n pthread_setsch
lues at all \n+times.  If the user uses an interface other than \n pthread_setsc
                                         ^                                     
                 { \n-/* One example of a invalid operation is 0 * Infinity.  */
                 { \n+/* One example of an invalid operation is 0 * Infinity.  *
                                         ^                                     
                 { \n-/* One example of a invalid operation is 0 * Infinity.  */
                 { \n+/* One example of an invalid operation is 0 * Infinity.  *
                                         ^                                     
                 { \n-/* One example of a invalid operation is 0 * Infinity.  */
                 { \n+/* One example of an invalid operation is 0 * Infinity.  *
                                         ^                                     
                 { \n-/* One example of a invalid operation is 0 * Infinity.  */
                 { \n+/* One example of an invalid operation is 0 * Infinity.  *
                                         ^                                     
                 { \n-/* One example of a invalid operation is 0.0 / 0.0.  */ \n
                 { \n+/* One example of an invalid operation is 0.0 / 0.0.  */ \
                                         ^                                     
                 { \n-/* One example of a invalid operation is 0.0 / 0.0.  */ \n
                 { \n+/* One example of an invalid operation is 0.0 / 0.0.  */ \
                                         ^                                     
                 { \n-/* One example of a invalid operation is 0.0 / 0.0.  */ \n
                 { \n+/* One example of an invalid operation is 0.0 / 0.0.  */ \
                                         ^                                     
                 { \n-/* One example of a invalid operation is 0/0.  */ \n __asm
                 { \n+/* One example of an invalid operation is 0/0.  */ \n __as
                                         ^                                     
                        { \n-/* This is a invalid sequence.  Skip the first byte
                        { \n+/* This is an invalid sequence.  Skip the first byt
                                         ^                                     
identical characters we \n-converted in a irreversible way.  */ \n *irreversible
identical characters we \n+converted in an irreversible way.  */ \n *irreversibl
                                         ^                                     
n-most NUM.  A short option recorded in a option following OPT is only \n valid 
n+most NUM.  A short option recorded in an option following OPT is only \n valid
                                         ^                                     
 * Inputs: \n-*\li a - the domain whose ancestory is being verified \n *\li b - 
 * Inputs: \n+*\li a - the domain whose ancestry is being verified \n *\li b - t
                                             ^^                                
two pointers are always rand_sep places aparts, as they \n cycle through the sta
two pointers are always rand_sep places apart, as they \n cycle through the stat
                                            ^^                                 
                 /* \n-* If the calling applicating has bailed out of \n * a pre
                 /* \n+* If the calling application has bailed out of \n * a pre
                                                 ^^                            
all assembly macros rely on finding the approriate \n SYSCALL_ERROR_LABEL or rat
all assembly macros rely on finding the appropriate \n SYSCALL_ERROR_LABEL or ra
                                             ^                                 
re them \n-directly, we have to use the appropiate clustering level too.  */ \n 
re them \n+directly, we have to use the appropriate clustering level too.  */ \n
                                              ^                                
hem *not* to exit, and should return an appropiate error after calling \n them. 
hem *not* to exit, and should return an appropriate error after calling \n them.
                                              ^                                
p, the \n-clustered option always comes laster.  */ \n return group_cmp (group1,
p, the \n+clustered option always comes last.  */ \n return group_cmp (group1, h
                                           ^^                                  
diff --git a/elf/sprof.c b/elf/sprof.c
index 60f310f..ecb7bdb 100644
--- a/elf/sprof.c
+++ b/elf/sprof.c
@@ -1364,7 +1364,7 @@ generate_call_graph (struct profdata *profdata)
 	    runp = runp->next;
 	  }
 
-	/* Info abount the function itself.  */
+	/* Info about the function itself.  */
 	n = printf ("[%Zu]", cnt);
 	printf ("%*s%5.1f%8.2f%8.2f%9" PRIdMAX "         %s [%Zd]\n",
 		(int) (7 - n), " ",
diff --git a/sysdeps/mach/hurd/check_fds.c b/sysdeps/mach/hurd/check_fds.c
index 979fcb7..cf20643 100644
--- a/sysdeps/mach/hurd/check_fds.c
+++ b/sysdeps/mach/hurd/check_fds.c
@@ -42,7 +42,7 @@ check_one_fd (int fd, int mode)
     {
       /* This descriptor hasn't been opened.  We try to allocate the
          descriptor and open /dev/null on it so that the SUID program
-         we are about to start does not accidently use this
+         we are about to start does not accidentally use this
          descriptor.  */
       d = _hurd_alloc_fd (NULL, fd);
       if (d != NULL)
diff --git a/csu/check_fds.c b/csu/check_fds.c
index 3616e6c..9b83828 100644
--- a/csu/check_fds.c
+++ b/csu/check_fds.c
@@ -60,7 +60,7 @@ check_one_fd (int fd, int mode)
 
       /* Something is wrong with this descriptor, it's probably not
 	 opened.  Open /dev/null so that the SUID program we are
-	 about to start does not accidently use this descriptor.  */
+	 about to start does not accidentally use this descriptor.  */
       int nullfd = open_not_cancel (name, mode, 0);
 
       /* We are very paranoid here.  With all means we try to ensure
diff --git a/ports/sysdeps/tile/jmpbuf-offsets.h b/ports/sysdeps/tile/jmpbuf-offsets.h
index 62b8413..c6f5be3 100644
--- a/ports/sysdeps/tile/jmpbuf-offsets.h
+++ b/ports/sysdeps/tile/jmpbuf-offsets.h
@@ -45,7 +45,7 @@
 #define JB_PC   25  /* normally LR, r55 */
 #define JB_ICS  26  /* interrupt critical section bit */
 
-/* We save space for some extra state to accomodate future changes.  */
+/* We save space for some extra state to accommodate future changes.  */
 #define JB_LEN  32  /* number of words */
 
 #define JB_SIZE (JB_LEN * REGSIZE)
diff --git a/ports/sysdeps/hppa/dl-lookupcfg.h b/ports/sysdeps/hppa/dl-lookupcfg.h
index 5c84c43..f3125e5 100644
--- a/ports/sysdeps/hppa/dl-lookupcfg.h
+++ b/ports/sysdeps/hppa/dl-lookupcfg.h
@@ -57,7 +57,7 @@ void _dl_unmap (struct link_map *map);
 })
 
 
-/* The test for "addr & 2" below is to accomodate old binaries which
+/* The test for "addr & 2" below is to accommodate old binaries which
    violated the ELF ABI by pointing DT_INIT and DT_FINI at a function
    descriptor.  */
 #define DL_DT_INIT_ADDRESS(map, addr) \
diff --git a/ports/sysdeps/ia64/fpu/e_logl.S b/ports/sysdeps/ia64/fpu/e_logl.S
index e12c65d..996f64a 100644
--- a/ports/sysdeps/ia64/fpu/e_logl.S
+++ b/ports/sysdeps/ia64/fpu/e_logl.S
@@ -211,7 +211,7 @@
 //
 //      Calculate	X_1 := X_0 * Z_1 truncated to lsb = 2^(-14)
 //      		     = 1.0 0 0 0 d_5 ... d_14
-//      		This is accomplised by integer multiplication.
+//      		This is accomplished by integer multiplication.
 //      		It is proved that X_1 indeed always begin
 //      		with 1.0000 in fixed point.
 //
diff --git a/ports/sysdeps/ia64/fpu/e_logl.S b/ports/sysdeps/ia64/fpu/e_logl.S
index e12c65d..996f64a 100644
--- a/ports/sysdeps/ia64/fpu/e_logl.S
+++ b/ports/sysdeps/ia64/fpu/e_logl.S
@@ -232,7 +232,7 @@
 //
 //      Calculate	X_2 := X_1 * Z_2 truncated to lsb = 2^(-14)
 //      		     = 1.0 0 0 0 0 0 0 0 d_9 d_10 ... d_14
-//      		This is accomplised by integer multiplication.
+//      		This is accomplished by integer multiplication.
 //      		It is proved that X_2 indeed always begin
 //      		with 1.00000000 in fixed point.
 //
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 351befb..95c87a4 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -317,7 +317,7 @@
 //
 //      Calculate       X_1 := X_0 * Z_1 truncated to lsb = 2^(-14)
 //                           = 1.0 0 0 0 d_5 ... d_14
-//                      This is accomplised by integer multiplication.
+//                      This is accomplished by integer multiplication.
 //                      It is proved that X_1 indeed always begin
 //                      with 1.0000 in fixed point.
 //
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 351befb..95c87a4 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -338,7 +338,7 @@
 //
 //      Calculate       X_2 := X_1 * Z_2 truncated to lsb = 2^(-14)
 //                           = 1.0 0 0 0 0 0 0 0 d_9 d_10 ... d_14
-//                      This is accomplised by integer multiplication.
+//                      This is accomplished by integer multiplication.
 //                      It is proved that X_2 indeed always begin
 //                      with 1.00000000 in fixed point.
 //
diff --git a/ports/sysdeps/ia64/fpu/s_log1pl.S b/ports/sysdeps/ia64/fpu/s_log1pl.S
index f60ce12..3c8be02 100644
--- a/ports/sysdeps/ia64/fpu/s_log1pl.S
+++ b/ports/sysdeps/ia64/fpu/s_log1pl.S
@@ -221,7 +221,7 @@
 //
 //      Calculate	X_1 := X_0 * Z_1 truncated to lsb = 2^(-14)
 //      		     = 1.0 0 0 0 d_5 ... d_14
-//      		This is accomplised by integer multiplication.
+//      		This is accomplished by integer multiplication.
 //      		It is proved that X_1 indeed always begin
 //      		with 1.0000 in fixed point.
 //
diff --git a/ports/sysdeps/ia64/fpu/s_log1pl.S b/ports/sysdeps/ia64/fpu/s_log1pl.S
index f60ce12..3c8be02 100644
--- a/ports/sysdeps/ia64/fpu/s_log1pl.S
+++ b/ports/sysdeps/ia64/fpu/s_log1pl.S
@@ -242,7 +242,7 @@
 //
 //      Calculate	X_2 := X_1 * Z_2 truncated to lsb = 2^(-14)
 //      		     = 1.0 0 0 0 0 0 0 0 d_9 d_10 ... d_14
-//      		This is accomplised by integer multiplication.
+//      		This is accomplished by integer multiplication.
 //      		It is proved that X_2 indeed always begin
 //      		with 1.00000000 in fixed point.
 //
diff --git a/inet/arpa/tftp.h b/inet/arpa/tftp.h
index 86e0b6e..0b27672 100644
--- a/inet/arpa/tftp.h
+++ b/inet/arpa/tftp.h
@@ -43,7 +43,7 @@
 #define	RRQ	01				/* read request */
 #define	WRQ	02				/* write request */
 #define	DATA	03				/* data packet */
-#define	ACK	04				/* acknowledgement */
+#define	ACK	04				/* acknowledgment */
 #define	ERROR	05				/* error code */
 
 struct	tftphdr {
diff --git a/inet/protocols/timed.h b/inet/protocols/timed.h
index b5d4702..8838a48 100644
--- a/inet/protocols/timed.h
+++ b/inet/protocols/timed.h
@@ -62,7 +62,7 @@ struct tsp {
  */
 #define	TSP_ANY			0	/* match any types */
 #define	TSP_ADJTIME		1	/* send adjtime */
-#define	TSP_ACK			2	/* generic acknowledgement */
+#define	TSP_ACK			2	/* generic acknowledgment */
 #define	TSP_MASTERREQ		3	/* ask for master's name */
 #define	TSP_MASTERACK		4	/* acknowledge master request */
 #define	TSP_SETTIME		5	/* send network time */
diff --git a/sysdeps/generic/netinet/tcp.h b/sysdeps/generic/netinet/tcp.h
index 0d71903..2307af4 100644
--- a/sysdeps/generic/netinet/tcp.h
+++ b/sysdeps/generic/netinet/tcp.h
@@ -46,7 +46,7 @@ struct tcphdr {
 	u_short	th_sport;		/* source port */
 	u_short	th_dport;		/* destination port */
 	tcp_seq	th_seq;			/* sequence number */
-	tcp_seq	th_ack;			/* acknowledgement number */
+	tcp_seq	th_ack;			/* acknowledgment number */
 #if __BYTE_ORDER == __LITTLE_ENDIAN
 	u_char	th_x2:4,		/* (unused) */
 		th_off:4;		/* data offset */
diff --git a/sysdeps/gnu/netinet/tcp.h b/sysdeps/gnu/netinet/tcp.h
index b7bf9b3..e64f768 100644
--- a/sysdeps/gnu/netinet/tcp.h
+++ b/sysdeps/gnu/netinet/tcp.h
@@ -77,7 +77,7 @@ struct tcphdr
     u_int16_t th_sport;		/* source port */
     u_int16_t th_dport;		/* destination port */
     tcp_seq th_seq;		/* sequence number */
-    tcp_seq th_ack;		/* acknowledgement number */
+    tcp_seq th_ack;		/* acknowledgment number */
 #  if __BYTE_ORDER == __LITTLE_ENDIAN
     u_int8_t th_x2:4;		/* (unused) */
     u_int8_t th_off:4;		/* data offset */
diff --git a/manual/socket.texi b/manual/socket.texi
index e187402..7c77e2a 100644
--- a/manual/socket.texi
+++ b/manual/socket.texi
@@ -1839,7 +1839,7 @@ reject it.
 
 @item 1
 Stop trying to transmit data from this socket.  Discard any data
-waiting to be sent.  Stop looking for acknowledgement of data already
+waiting to be sent.  Stop looking for acknowledgment of data already
 sent; don't retransmit it if it is lost.
 
 @item 2
diff --git a/manual/fdl-1.3.texi b/manual/fdl-1.3.texi
index cb71f05..d61112c 100644
--- a/manual/fdl-1.3.texi
+++ b/manual/fdl-1.3.texi
@@ -252,7 +252,7 @@ publisher of the version it refers to gives permission.
 @item
 For any section Entitled ``Acknowledgements'' or ``Dedications'', Preserve
 the Title of the section, and preserve in the section all the
-substance and tone of each of the contributor acknowledgements and/or
+substance and tone of each of the contributor acknowledgments and/or
 dedications given therein.
 
 @item
diff --git a/elf/dl-load.c b/elf/dl-load.c
index 655e38e..6a73f27 100644
--- a/elf/dl-load.c
+++ b/elf/dl-load.c
@@ -324,7 +324,7 @@ _dl_dst_substitute (struct link_map *l, const char *name, char *result,
   const char *const start = name;
 
   /* Now fill the result path.  While copying over the string we keep
-     track of the start of the last path element.  When we come accross
+     track of the start of the last path element.  When we come across
      a DST we copy over the value or (if the value is not available)
      leave the entire path element out.  */
   char *wp = result;
diff --git a/ports/sysdeps/ia64/fpu/e_log2l.S b/ports/sysdeps/ia64/fpu/e_log2l.S
index 837c55d..f33969a 100644
--- a/ports/sysdeps/ia64/fpu/e_log2l.S
+++ b/ports/sysdeps/ia64/fpu/e_log2l.S
@@ -471,7 +471,7 @@ GLOBAL_IEEE754_ENTRY(log2l)
   (p7) br.cond.spnt LOG2_PSEUDO_ZERO
 }
 {.mfi
-  // get T_low adress
+  // get T_low address
   shladd r3=r28,3,r3
   // if first 8 bits after leading 1 are all ones, use polynomial approx. only
   (p10) fms.s1 f6=f7,f36,f1
diff --git a/sysdeps/i386/i686/multiarch/strcpy-sse2.S b/sysdeps/i386/i686/multiarch/strcpy-sse2.S
index 07db134..d942ac2 100644
--- a/sysdeps/i386/i686/multiarch/strcpy-sse2.S
+++ b/sysdeps/i386/i686/multiarch/strcpy-sse2.S
@@ -128,7 +128,7 @@ ENTRY (STRCPY)
 
 	sub	%ecx, %edi
 
-/* If source adress alignment != destination adress alignment */
+/* If source address alignment != destination address alignment */
 	.p2align 4
 L(Unalign16Both):
 	mov	$16, %ecx
diff --git a/sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S b/sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
index cd56e56..7710173 100644
--- a/sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
+++ b/sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
@@ -93,7 +93,7 @@ ENTRY (STRCPY)
 	movdqu	(%rsi, %rcx), %xmm1   /* copy 16 bytes */
 	movdqu	%xmm1, (%rdi)
 
-/* If source adress alignment != destination adress alignment */
+/* If source address alignment != destination address alignment */
 	.p2align 4
 L(Unalign16Both):
 	sub	%rcx, %rdi
diff --git a/sysdeps/i386/i686/multiarch/strcpy-sse2.S b/sysdeps/i386/i686/multiarch/strcpy-sse2.S
index 07db134..d942ac2 100644
--- a/sysdeps/i386/i686/multiarch/strcpy-sse2.S
+++ b/sysdeps/i386/i686/multiarch/strcpy-sse2.S
@@ -271,7 +271,7 @@ L(Unaligned64Leave):
 	lea	49(%edi, %edx), %edi
 	jmp	L(StrncpyFillTailWithZero)
 
-/* If source adress alignment == destination adress alignment */
+/* If source address alignment == destination address alignment */
 
 L(SourceStringAlignmentZero):
 	pxor	%xmm0, %xmm0
diff --git a/sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S b/sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
index cd56e56..7710173 100644
--- a/sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
+++ b/sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
@@ -289,7 +289,7 @@ L(Unaligned64Leave):
 	BRANCH_TO_JMPTBL_ENTRY (L(ExitTable), %rdx, 4)
 # endif
 
-/* If source adress alignment == destination adress alignment */
+/* If source address alignment == destination address alignment */
 
 L(SourceStringAlignmentLess32):
 	pxor	%xmm0, %xmm0
diff --git a/sysdeps/i386/i686/multiarch/strcat-sse2.S b/sysdeps/i386/i686/multiarch/strcat-sse2.S
index 72a1aca..62d60cd 100644
--- a/sysdeps/i386/i686/multiarch/strcat-sse2.S
+++ b/sysdeps/i386/i686/multiarch/strcat-sse2.S
@@ -49,7 +49,7 @@
 	/* Get the entry and convert the relative offset to the	\
 	absolute address.  */	\
 	addl	(%ecx,INDEX,SCALE), %ecx;	\
-	/* We loaded the jump table and adjuested ECX. Go.  */	\
+	/* We loaded the jump table and adjusted ECX. Go.  */	\
 	jmp	*%ecx
 # else
 #  define JMPTBL(I, B) I
diff --git a/sysdeps/i386/i686/multiarch/strcpy-sse2.S b/sysdeps/i386/i686/multiarch/strcpy-sse2.S
index 07db134..d942ac2 100644
--- a/sysdeps/i386/i686/multiarch/strcpy-sse2.S
+++ b/sysdeps/i386/i686/multiarch/strcpy-sse2.S
@@ -64,7 +64,7 @@
 	/* Get the entry and convert the relative offset to the \
 	absolute	address.  */                            \
 	addl	(%ecx,INDEX,SCALE), %ecx;                       \
-	/* We loaded the jump table and adjuested ECX. Go.  */  \
+	/* We loaded the jump table and adjusted ECX. Go.  */  \
 	jmp	*%ecx
 # else
 #  define JMPTBL(I, B)	I
diff --git a/sysdeps/i386/i686/multiarch/memset-sse2-rep.S b/sysdeps/i386/i686/multiarch/memset-sse2-rep.S
index 53a0b3d..bcea296 100644
--- a/sysdeps/i386/i686/multiarch/memset-sse2-rep.S
+++ b/sysdeps/i386/i686/multiarch/memset-sse2-rep.S
@@ -62,7 +62,7 @@
        absolute address.  */					\
     add		(%ebx,%ecx,4), %ebx;				\
     add		%ecx, %edx;					\
-    /* We loaded the jump table and adjuested EDX. Go.  */	\
+    /* We loaded the jump table and adjusted EDX. Go.  */	\
     jmp		*%ebx
 #else
 # define ENTRANCE
diff --git a/sysdeps/i386/i686/multiarch/memset-sse2.S b/sysdeps/i386/i686/multiarch/memset-sse2.S
index 2db5884..36bca84 100644
--- a/sysdeps/i386/i686/multiarch/memset-sse2.S
+++ b/sysdeps/i386/i686/multiarch/memset-sse2.S
@@ -62,7 +62,7 @@
        absolute address.  */					\
     add		(%ebx,%ecx,4), %ebx;				\
     add		%ecx, %edx;					\
-    /* We loaded the jump table and adjuested EDX. Go.  */	\
+    /* We loaded the jump table and adjusted EDX. Go.  */	\
     jmp		*%ebx
 #else
 # define ENTRANCE
diff --git a/sysdeps/i386/i686/multiarch/memcmp-sse4.S b/sysdeps/i386/i686/multiarch/memcmp-sse4.S
index 14226f5..2984a37 100644
--- a/sysdeps/i386/i686/multiarch/memcmp-sse4.S
+++ b/sysdeps/i386/i686/multiarch/memcmp-sse4.S
@@ -58,7 +58,7 @@
 /* Get the entry and convert the relative offset to the	\
 	absolute	address.  */	\
 	addl	(%ebx,INDEX,SCALE), %ebx;	\
-/* We loaded the jump table and adjuested EDX/ESI. Go.  */	\
+/* We loaded the jump table and adjusted EDX/ESI. Go.  */	\
 	jmp	*%ebx
 # else
 #  define JMPTBL(I, B)	I
diff --git a/sysdeps/i386/i686/multiarch/strcmp-sse4.S b/sysdeps/i386/i686/multiarch/strcmp-sse4.S
index 7177205..62f458f 100644
--- a/sysdeps/i386/i686/multiarch/strcmp-sse4.S
+++ b/sysdeps/i386/i686/multiarch/strcmp-sse4.S
@@ -53,7 +53,7 @@
 #  define STR1		8
 # endif
 # define STR2		STR1+4
-# define LOCALE		12	/* Loaded before the adjustement.  */
+# define LOCALE		12	/* Loaded before the adjustment.  */
 # ifdef PIC
 #  define RETURN	POP (%edi); POP (%ebx); ret; \
 			.p2align 4; CFI_PUSH (%ebx); CFI_PUSH (%edi)
diff --git a/sysdeps/i386/i686/multiarch/strcmp-sse4.S b/sysdeps/i386/i686/multiarch/strcmp-sse4.S
index 7177205..62f458f 100644
--- a/sysdeps/i386/i686/multiarch/strcmp-sse4.S
+++ b/sysdeps/i386/i686/multiarch/strcmp-sse4.S
@@ -73,7 +73,7 @@
 # endif
 # define STR2		STR1+4
 # define CNT		STR2+4
-# define LOCALE		16	/* Loaded before the adjustement.  */
+# define LOCALE		16	/* Loaded before the adjustment.  */
 # ifdef PIC
 #  define RETURN	POP (%edi); POP (REM); POP (%ebx); ret; \
 			.p2align 4; \
diff --git a/sysdeps/i386/i686/multiarch/strcmp-ssse3.S b/sysdeps/i386/i686/multiarch/strcmp-ssse3.S
index f2bc204..5fd9ac8 100644
--- a/sysdeps/i386/i686/multiarch/strcmp-ssse3.S
+++ b/sysdeps/i386/i686/multiarch/strcmp-ssse3.S
@@ -61,7 +61,7 @@
 #  define STR1		4
 # endif
 # define STR2		STR1+4
-# define LOCALE		12	/* Loaded before the adjustement.  */
+# define LOCALE		12	/* Loaded before the adjustment.  */
 # ifdef PIC
 #  define RETURN	POP (%ebx); ret; .p2align 4; CFI_PUSH (%ebx)
 # else
diff --git a/sysdeps/i386/i686/multiarch/strcmp-ssse3.S b/sysdeps/i386/i686/multiarch/strcmp-ssse3.S
index f2bc204..5fd9ac8 100644
--- a/sysdeps/i386/i686/multiarch/strcmp-ssse3.S
+++ b/sysdeps/i386/i686/multiarch/strcmp-ssse3.S
@@ -82,7 +82,7 @@
 # endif
 # define STR2		STR1+4
 # define CNT		STR2+4
-# define LOCALE		16	/* Loaded before the adjustement.  */
+# define LOCALE		16	/* Loaded before the adjustment.  */
 # ifdef PIC
 #  define RETURN	POP (REM); POP (%ebx); ret; \
 			.p2align 4; CFI_PUSH (%ebx); CFI_PUSH (REM)
diff --git a/elf/dl-open.c b/elf/dl-open.c
index 7adf66b..24d6a70 100644
--- a/elf/dl-open.c
+++ b/elf/dl-open.c
@@ -396,7 +396,7 @@ dl_open_worker (void *a)
 	  /* If this here is the shared object which we want to profile
 	     make sure the profile is started.  We can find out whether
 	     this is necessary or not by observing the `_dl_profile_map'
-	     variable.  If it was NULL but is not NULL afterwars we must
+	     variable.  If it was NULL but is not NULL afterwards we must
 	     start the profiling.  */
 	  struct link_map *old_profile_map = GL(dl_profile_map);
 
diff --git a/iconv/strtab.c b/iconv/strtab.c
index c62553e..1728640 100644
--- a/iconv/strtab.c
+++ b/iconv/strtab.c
@@ -180,7 +180,7 @@ newstring (struct Strtab *st, const char *str, size_t len)
 
 
 /* XXX This function should definitely be rewritten to use a balancing
-   tree algorith (AVL, red-black trees).  For now a simple, correct
+   tree algorithm (AVL, red-black trees).  For now a simple, correct
    implementation is enough.  */
 static struct Strent **
 searchstring (struct Strent **sep, struct Strent *newstr)
diff --git a/inet/protocols/timed.h b/inet/protocols/timed.h
index b5d4702..8838a48 100644
--- a/inet/protocols/timed.h
+++ b/inet/protocols/timed.h
@@ -81,7 +81,7 @@ struct tsp {
 #define	TSP_TRACEOFF		18	/* turn tracing off */
 #define	TSP_MSITE		19	/* find out master's site */
 #define	TSP_MSITEREQ		20	/* remote master's site request */
-#define	TSP_TEST		21	/* for testing election algo */
+#define	TSP_TEST		21	/* for testing election algorithm */
 #define	TSP_SETDATE		22	/* New from date command */
 #define	TSP_SETDATEREQ		23	/* New remote for above */
 #define	TSP_LOOP		24	/* loop detection packet */
diff --git a/ports/sysdeps/ia64/fpu/e_atanhl.S b/ports/sysdeps/ia64/fpu/e_atanhl.S
index 846a89e..5d828d5 100644
--- a/ports/sysdeps/ia64/fpu/e_atanhl.S
+++ b/ports/sysdeps/ia64/fpu/e_atanhl.S
@@ -99,7 +99,7 @@
 //   calculation is subdivided into two stages. The first stage is
 //   calculating of X = 2*|x|/(1-|x|). The second one is calculating of
 //   sign(x)*log1pl(X)/2. To obtain required accuracy we use precise division
-//   algorythm output of which is a pair of two extended precision values those
+//   algorithm output of which is a pair of two extended precision values those
 //   approximate result of division with accuracy higher than working
 //   precision. This pair is passed to modified log1pl function.
 //
diff --git a/io/lockf64.c b/io/lockf64.c
index ba4c06a..bc6d026 100644
--- a/io/lockf64.c
+++ b/io/lockf64.c
@@ -21,7 +21,7 @@
 #include <errno.h>
 #include <string.h>
 
-/* lockf.c defines lockf64 as an lias if __OFF_T_MATCHES_OFF64_T.  */
+/* lockf.c defines lockf64 as an alias if __OFF_T_MATCHES_OFF64_T.  */
 #ifndef __OFF_T_MATCHES_OFF64_T
 
 /* lockf is a simplified interface to fcntl's locking facilities.  */
diff --git a/sysdeps/powerpc/powerpc32/cell/memcpy.S b/sysdeps/powerpc/powerpc32/cell/memcpy.S
index f3605d7..24a0f12 100644
--- a/sysdeps/powerpc/powerpc32/cell/memcpy.S
+++ b/sysdeps/powerpc/powerpc32/cell/memcpy.S
@@ -49,7 +49,7 @@ EALIGN (memcpy, 5, 0)
 
 .Lbigcopy:
 	neg	r8,r3		/* LS 3 bits = # bytes to 8-byte dest bdry  */
-	clrlwi  r8,r8,32-4	/* aling to 16byte boundary  */
+	clrlwi  r8,r8,32-4	/* align to 16byte boundary  */
 	sub     r7,r4,r3
 	cmplwi	cr0,r8,0
 	beq+	.Ldst_aligned
diff --git a/sysdeps/powerpc/powerpc64/cell/memcpy.S b/sysdeps/powerpc/powerpc64/cell/memcpy.S
index a271965..104900e 100644
--- a/sysdeps/powerpc/powerpc64/cell/memcpy.S
+++ b/sysdeps/powerpc/powerpc64/cell/memcpy.S
@@ -49,7 +49,7 @@ EALIGN (memcpy, 5, 0)
 
 .Lbigcopy:
 	neg	r8,r3		/* LS 3 bits = # bytes to 8-byte dest bdry  */
-	clrldi  r8,r8,64-4	/* aling to 16byte boundary  */
+	clrldi  r8,r8,64-4	/* align to 16byte boundary  */
 	sub     r7,r4,r3
 	cmpldi	cr0,r8,0
 	beq+	.Ldst_aligned
diff --git a/nptl/sysdeps/unix/sysv/linux/register-atfork.c b/nptl/sysdeps/unix/sysv/linux/register-atfork.c
index 7d53708..20a09e2 100644
--- a/nptl/sysdeps/unix/sysv/linux/register-atfork.c
+++ b/nptl/sysdeps/unix/sysv/linux/register-atfork.c
@@ -127,7 +127,7 @@ libc_freeres_fn (free_mem)
   /* No more fork handlers.  */
   __fork_handlers = NULL;
 
-  /* Free eventually alloated memory blocks for the object pool.  */
+  /* Free eventually allocated memory blocks for the object pool.  */
   struct fork_handler_pool *runp = fork_handler_pool.next;
 
   memset (&fork_handler_pool, '\0', sizeof (fork_handler_pool));
diff --git a/sysdeps/powerpc/powerpc32/power4/memcmp.S b/sysdeps/powerpc/powerpc32/power4/memcmp.S
index d7050a2..9a455a3 100644
--- a/sysdeps/powerpc/powerpc32/power4/memcmp.S
+++ b/sysdeps/powerpc/powerpc32/power4/memcmp.S
@@ -512,7 +512,7 @@ L(zeroLength):
    of rBITDIF to 0.  If rBITDIF == 0 then rStr1 is word aligned and can
    perform the Wunaligned loop.
 
-   Otherwise we know that rSTR1 is not aready word aligned yet.
+   Otherwise we know that rSTR1 is not already word aligned yet.
    So we can force the string addresses to the next lower word
    boundary and special case this first word using shift left to
    eliminate bits preceding the first byte.  Since we want to join the
diff --git a/sysdeps/powerpc/powerpc32/power7/memcmp.S b/sysdeps/powerpc/powerpc32/power7/memcmp.S
index f764b7c..075e19f 100644
--- a/sysdeps/powerpc/powerpc32/power7/memcmp.S
+++ b/sysdeps/powerpc/powerpc32/power7/memcmp.S
@@ -515,7 +515,7 @@ L(zeroLength):
    of rBITDIF to 0.  If rBITDIF == 0 then rStr1 is word aligned and can
    perform the Wunaligned loop.
 
-   Otherwise we know that rSTR1 is not aready word aligned yet.
+   Otherwise we know that rSTR1 is not already word aligned yet.
    So we can force the string addresses to the next lower word
    boundary and special case this first word using shift left to
    eliminate bits preceding the first byte.  Since we want to join the
diff --git a/sysdeps/powerpc/powerpc32/fpu/setjmp.S b/sysdeps/powerpc/powerpc32/fpu/setjmp.S
index dc93db3..60cd350 100644
--- a/sysdeps/powerpc/powerpc32/fpu/setjmp.S
+++ b/sysdeps/powerpc/powerpc32/fpu/setjmp.S
@@ -1,4 +1,4 @@
-/* non alitivec (old) version of setjmp for PowerPC.
+/* non altivec (old) version of setjmp for PowerPC.
    Copyright (C) 1995-2013 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
diff --git a/sysdeps/powerpc/powerpc32/setjmp.S b/sysdeps/powerpc/powerpc32/setjmp.S
index 851a5b9..8a8cf0d 100644
--- a/sysdeps/powerpc/powerpc32/setjmp.S
+++ b/sysdeps/powerpc/powerpc32/setjmp.S
@@ -1,4 +1,4 @@
-/* non alitivec (old) version of setjmp for PowerPC.
+/* non altivec (old) version of setjmp for PowerPC.
    Copyright (C) 1995-2013 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
diff --git a/iconv/skeleton.c b/iconv/skeleton.c
index 45beb06..6997e05 100644
--- a/iconv/skeleton.c
+++ b/iconv/skeleton.c
@@ -514,7 +514,7 @@ FUNCTION_NAME (struct __gconv_step *step, struct __gconv_step_data *data,
       size_t *lirreversiblep = irreversible ? &lirreversible : NULL;
 
       /* The following assumes that encodings, which have a variable length
-	 what might unalign a buffer even though it is a aligned in the
+	 what might unalign a buffer even though it is an aligned in the
 	 beginning, either don't have the minimal number of bytes as a divisor
 	 of the maximum length or have a minimum length of 1.  This is true
 	 for all known and supported encodings.
diff --git a/resolv/ns_name.c b/resolv/ns_name.c
index adf64bb..246307a 100644
--- a/resolv/ns_name.c
+++ b/resolv/ns_name.c
@@ -180,7 +180,7 @@ libresolv_hidden_def (ns_name_ntop)
 strong_alias (ns_name_ntop, __ns_name_ntop)
 
 /*%
- *	Convert a ascii string into an encoded domain name as per RFC1035.
+ *	Convert an ascii string into an encoded domain name as per RFC1035.
  *
  * return:
  *
diff --git a/resolv/gai_notify.c b/resolv/gai_notify.c
index 9e4bdf6..48cb58a 100644
--- a/resolv/gai_notify.c
+++ b/resolv/gai_notify.c
@@ -117,7 +117,7 @@ __gai_notify (struct requestlist *req)
 #endif
 	}
       else
-	/* This is part of a asynchronous `getaddrinfo_a' operation.  If
+	/* This is part of an asynchronous `getaddrinfo_a' operation.  If
 	   this request is the last one, send the signal.  */
 	if (--*waitlist->counterp == 0)
 	  {
diff --git a/sysdeps/pthread/aio_notify.c b/sysdeps/pthread/aio_notify.c
index f3953f1..deedd2d 100644
--- a/sysdeps/pthread/aio_notify.c
+++ b/sysdeps/pthread/aio_notify.c
@@ -157,7 +157,7 @@ __aio_notify (struct requestlist *req)
 #endif
 	}
       else
-	/* This is part of a asynchronous `lio_listio' operation.  If
+	/* This is part of an asynchronous `lio_listio' operation.  If
 	   this request is the last one, send the signal.  */
 	if (--*waitlist->counterp == 0)
 	  {
diff --git a/libio/libioP.h b/libio/libioP.h
index 911f649..7b46388 100644
--- a/libio/libioP.h
+++ b/libio/libioP.h
@@ -73,7 +73,7 @@ extern "C" {
  * These are all the same, just used differently.
  * An _IO_FILE (or FILE) object is allows followed by a pointer to
  * a jump table (of pointers to functions).  The pointer is accessed
- * with the _IO_JUMPS macro.  The jump table has a eccentric format,
+ * with the _IO_JUMPS macro.  The jump table has an eccentric format,
  * so as to be compatible with the layout of a C++ virtual function table.
  * (as implemented by g++).  When a pointer to a streambuf object is
  * coerced to an (_IO_FILE*), then _IO_JUMPS on the result just
diff --git a/sunrpc/rpc/xdr.h b/sunrpc/rpc/xdr.h
index 4e31eb5..d80d8f7 100644
--- a/sunrpc/rpc/xdr.h
+++ b/sunrpc/rpc/xdr.h
@@ -221,7 +221,7 @@ typedef bool_t (*xdrproc_t) (XDR *, void *,...);
 /*
  * Support struct for discriminated unions.
  * You create an array of xdrdiscrim structures, terminated with
- * a entry with a null procedure pointer.  The xdr_union routine gets
+ * an entry with a null procedure pointer.  The xdr_union routine gets
  * the discriminant value and then searches the array of structures
  * for a matching value.  If a match is found the associated xdr routine
  * is called to handle that part of the union.  If there is
diff --git a/sysdeps/unix/sysv/linux/socketcall.h b/sysdeps/unix/sysv/linux/socketcall.h
index d1dffa3..d156717 100644
--- a/sysdeps/unix/sysv/linux/socketcall.h
+++ b/sysdeps/unix/sysv/linux/socketcall.h
@@ -22,7 +22,7 @@
 /* Define unique numbers for the operations permitted on socket.  Linux
    uses a single system call for all these functions.  The relevant code
    file is /usr/include/linux/net.h.
-   We cannot use a enum here because the values are used in assembler
+   We cannot use an enum here because the values are used in assembler
    code.  */
 
 #define SOCKOP_socket		1
diff --git a/crypt/speeds.c b/crypt/speeds.c
index 0d55ae8..810ecb0 100644
--- a/crypt/speeds.c
+++ b/crypt/speeds.c
@@ -16,7 +16,7 @@
  * patch from chip@chinacat.unicom.com (Chip Rosenthal):
  * you may enable it if your system does not include
  * a setitimer() function. You'll have to ensure the
- * existence a environment variable: HZ giving how many
+ * existence an environment variable: HZ giving how many
  * ticks goes per second.
  * If not existing in your default environment 50, 60
  * or even 100 may be the right value. Perhaps you should
diff --git a/elf/reldep.c b/elf/reldep.c
index 44b239b..adabc0d 100644
--- a/elf/reldep.c
+++ b/elf/reldep.c
@@ -54,7 +54,7 @@ main (void)
     }
 
   /* Now close the first object.  If must still be around since we have
-     a implicit dependency.  */
+     an implicit dependency.  */
   if (dlclose (h1) != 0)
     {
       printf ("closing h1 failed: %s\n", dlerror ());
diff --git a/elf/reldep3.c b/elf/reldep3.c
index b051c41..05013d3 100644
--- a/elf/reldep3.c
+++ b/elf/reldep3.c
@@ -54,7 +54,7 @@ main (void)
     }
 
   /* Now close the first object.  If must still be around since we have
-     a implicit dependency.  */
+     an implicit dependency.  */
   if (dlclose (h1) != 0)
     {
       printf ("closing h1 failed: %s\n", dlerror ());
diff --git a/libio/libioP.h b/libio/libioP.h
index 911f649..7b46388 100644
--- a/libio/libioP.h
+++ b/libio/libioP.h
@@ -224,7 +224,7 @@ typedef int (*_IO_doallocate_t) (_IO_FILE *);
    There is no correspondence in the ANSI/ISO C++ standard library.
    The hooks basically correspond to the Unix system functions
    (read, write, close, lseek, and stat) except that a _IO_FILE*
-   parameter is used instead of a integer file descriptor;  the default
+   parameter is used instead of an integer file descriptor;  the default
    implementation used for normal files just calls those functions.
    The advantage of overriding these functions instead of the higher-level
    ones (underflow, overflow etc) is that you can leave all the buffering
diff --git a/nptl/pthread_getschedparam.c b/nptl/pthread_getschedparam.c
index fd71350..7d996e4 100644
--- a/nptl/pthread_getschedparam.c
+++ b/nptl/pthread_getschedparam.c
@@ -40,7 +40,7 @@ __pthread_getschedparam (threadid, policy, param)
   lll_lock (pd->lock, LLL_PRIVATE);
 
   /* The library is responsible for maintaining the values at all
-     times.  If the user uses a interface other than
+     times.  If the user uses an interface other than
      pthread_setschedparam to modify the scheduler setting it is not
      the library's problem.  In case the descriptor's values have
      not yet been retrieved do it now.  */
diff --git a/ports/sysdeps/am33/fpu/fraiseexcpt.c b/ports/sysdeps/am33/fpu/fraiseexcpt.c
index f62e83a..1610adf 100644
--- a/ports/sysdeps/am33/fpu/fraiseexcpt.c
+++ b/ports/sysdeps/am33/fpu/fraiseexcpt.c
@@ -35,7 +35,7 @@ __feraiseexcept (int excepts)
   /* First: invalid exception.  */
   if (excepts & FE_INVALID)
     {
-      /* One example of a invalid operation is 0 * Infinity.  */
+      /* One example of an invalid operation is 0 * Infinity.  */
       float x = HUGE_VALF, y = 0.0f;
       __asm__ __volatile__ ("fmul %1,%0" : "+f" (x) : "f" (y));
     }
diff --git a/ports/sysdeps/hppa/fpu/fraiseexcpt.c b/ports/sysdeps/hppa/fpu/fraiseexcpt.c
index 0b55d34..28e2db4 100644
--- a/ports/sysdeps/hppa/fpu/fraiseexcpt.c
+++ b/ports/sysdeps/hppa/fpu/fraiseexcpt.c
@@ -42,7 +42,7 @@ feraiseexcept (int excepts)
   /* First: Invalid exception.  */
   if (excepts & FE_INVALID)
     {
-      /* One example of a invalid operation is 0 * Infinity.  */
+      /* One example of an invalid operation is 0 * Infinity.  */
       double d = HUGE_VAL;
       __asm__ __volatile__ (
 		"	fcpy,dbl %%fr0,%%fr22\n"
diff --git a/ports/sysdeps/ia64/fpu/fraiseexcpt.c b/ports/sysdeps/ia64/fpu/fraiseexcpt.c
index aaa9b61..76c1b7a 100644
--- a/ports/sysdeps/ia64/fpu/fraiseexcpt.c
+++ b/ports/sysdeps/ia64/fpu/fraiseexcpt.c
@@ -40,7 +40,7 @@ feraiseexcept (int excepts)
   /* First: invalid exception.  */
   if (FE_INVALID & excepts)
     {
-      /* One example of a invalid operation is 0 * Infinity.  */
+      /* One example of an invalid operation is 0 * Infinity.  */
       tmp = 0;
       __asm__ __volatile__ ("frcpa.s0 %0,p1=f0,f0" : "=f" (tmp) : : "p1" );
     }
diff --git a/ports/sysdeps/m68k/m680x0/fpu/fraiseexcpt.c b/ports/sysdeps/m68k/m680x0/fpu/fraiseexcpt.c
index 54ec89f..83c4e4d 100644
--- a/ports/sysdeps/m68k/m680x0/fpu/fraiseexcpt.c
+++ b/ports/sysdeps/m68k/m680x0/fpu/fraiseexcpt.c
@@ -33,7 +33,7 @@ __feraiseexcept (int excepts)
   /* First: invalid exception.  */
   if (excepts & FE_INVALID)
     {
-      /* One example of a invalid operation is 0 * Infinity.  */
+      /* One example of an invalid operation is 0 * Infinity.  */
       double d = HUGE_VAL;
       __asm__ __volatile__ ("fmul%.s %#0r0,%0; fnop" : "=f" (d) : "0" (d));
     }
diff --git a/sysdeps/i386/fpu/fraiseexcpt.c b/sysdeps/i386/fpu/fraiseexcpt.c
index 141681d..c359e5e 100644
--- a/sysdeps/i386/fpu/fraiseexcpt.c
+++ b/sysdeps/i386/fpu/fraiseexcpt.c
@@ -31,7 +31,7 @@ __feraiseexcept (int excepts)
   /* First: invalid exception.  */
   if ((FE_INVALID & excepts) != 0)
     {
-      /* One example of a invalid operation is 0.0 / 0.0.  */
+      /* One example of an invalid operation is 0.0 / 0.0.  */
       double d;
       __asm__ __volatile__ ("fldz; fdiv %%st, %%st(0); fwait" : "=t" (d));
       (void) &d;
diff --git a/sysdeps/x86/fpu/bits/fenv.h b/sysdeps/x86/fpu/bits/fenv.h
index e2fa21d..b9040cc 100644
--- a/sysdeps/x86/fpu/bits/fenv.h
+++ b/sysdeps/x86/fpu/bits/fenv.h
@@ -115,7 +115,7 @@ __NTH (feraiseexcept (int __excepts))
     {
       if ((FE_INVALID & __excepts) != 0)
 	{
-	  /* One example of a invalid operation is 0.0 / 0.0.  */
+	  /* One example of an invalid operation is 0.0 / 0.0.  */
 	  float __f = 0.0;
 
 # ifdef __SSE_MATH__
diff --git a/sysdeps/x86_64/fpu/fraiseexcpt.c b/sysdeps/x86_64/fpu/fraiseexcpt.c
index 9a251e1..e5f553a 100644
--- a/sysdeps/x86_64/fpu/fraiseexcpt.c
+++ b/sysdeps/x86_64/fpu/fraiseexcpt.c
@@ -30,7 +30,7 @@ __feraiseexcept (int excepts)
   /* First: invalid exception.  */
   if ((FE_INVALID & excepts) != 0)
     {
-      /* One example of a invalid operation is 0.0 / 0.0.  */
+      /* One example of an invalid operation is 0.0 / 0.0.  */
       float f = 0.0;
 
       __asm__ __volatile__ ("divss %0, %0 " : : "x" (f));
diff --git a/sysdeps/sparc/fpu/fraiseexcpt.c b/sysdeps/sparc/fpu/fraiseexcpt.c
index 0350df9..050e105 100644
--- a/sysdeps/sparc/fpu/fraiseexcpt.c
+++ b/sysdeps/sparc/fpu/fraiseexcpt.c
@@ -39,7 +39,7 @@ __feraiseexcept (int excepts)
   /* First: invalid exception.  */
   if ((FE_INVALID & excepts) != 0)
     {
-      /* One example of a invalid operation is 0/0.  */
+      /* One example of an invalid operation is 0/0.  */
       __asm ("" : "=e" (d) : "0" (c.zero));
       d /= c.zero;
       __asm __volatile ("" : : "e" (d));
diff --git a/iconv/iconv_charmap.c b/iconv/iconv_charmap.c
index 56f156e..09024a9 100644
--- a/iconv/iconv_charmap.c
+++ b/iconv/iconv_charmap.c
@@ -454,7 +454,7 @@ process_block (struct convtable *tbl, char *addr, size_t len, FILE *output)
       while (! is_term (cur, byte))
 	if (cur->val[byte].sub == NULL)
 	  {
-	    /* This is a invalid sequence.  Skip the first byte if we are
+	    /* This is an invalid sequence.  Skip the first byte if we are
 	       ignoring errors.  Otherwise punt.  */
 	    if (! omit_invalid)
 	      {
diff --git a/iconv/skeleton.c b/iconv/skeleton.c
index 45beb06..6997e05 100644
--- a/iconv/skeleton.c
+++ b/iconv/skeleton.c
@@ -659,7 +659,7 @@ FUNCTION_NAME (struct __gconv_step *step, struct __gconv_step_data *data,
 	      data->__outbuf = outbuf;
 
 	      /* Remember how many non-identical characters we
-		 converted in a irreversible way.  */
+		 converted in an irreversible way.  */
 	      *irreversible += lirreversible;
 
 	      break;
diff --git a/argp/argp-help.c b/argp/argp-help.c
index 4b83737..53702e3 100644
--- a/argp/argp-help.c
+++ b/argp/argp-help.c
@@ -357,7 +357,7 @@ struct hol_entry
   /* A pointers into the HOL's short_options field, to the first short option
      letter for this entry.  The order of the characters following this point
      corresponds to the order of options pointed to by OPT, and there are at
-     most NUM.  A short option recorded in a option following OPT is only
+     most NUM.  A short option recorded in an option following OPT is only
      valid if it occurs in the right place in SHORT_OPTIONS (otherwise it's
      probably been shadowed by some other entry).  */
   char *short_options;
diff --git a/resolv/ns_samedomain.c b/resolv/ns_samedomain.c
index 44b843a..df6a4a2 100644
--- a/resolv/ns_samedomain.c
+++ b/resolv/ns_samedomain.c
@@ -29,7 +29,7 @@ static const char rcsid[] = "$BINDId: ns_samedomain.c,v 8.9 1999/10/15 21:06:51
  *	Check whether a name belongs to a domain.
  *
  * Inputs:
- *\li	a - the domain whose ancestory is being verified
+ *\li	a - the domain whose ancestry is being verified
  *\li	b - the potential ancestor we're checking against
  *
  * Return:
diff --git a/stdlib/random.c b/stdlib/random.c
index e4302b0..d286bcf 100644
--- a/stdlib/random.c
+++ b/stdlib/random.c
@@ -160,7 +160,7 @@ static int32_t randtbl[DEG_3 + 1] =
 static struct random_data unsafe_state =
   {
 /* FPTR and RPTR are two pointers into the state info, a front and a rear
-   pointer.  These two pointers are always rand_sep places aparts, as they
+   pointer.  These two pointers are always rand_sep places apart, as they
    cycle through the state information.  (Yes, this does mean we could get
    away with just one pointer, but the code for random is more efficient
    this way).  The pointers are left positioned as they would be from the call:
diff --git a/resolv/res_send.c b/resolv/res_send.c
index 60da5c9..140efbe 100644
--- a/resolv/res_send.c
+++ b/resolv/res_send.c
@@ -875,7 +875,7 @@ send_vc(res_state statp,
 		}
 	}
 	/*
-	 * If the calling applicating has bailed out of
+	 * If the calling application has bailed out of
 	 * a previous call and failed to arrange to have
 	 * the circuit closed or the server has got
 	 * itself confused, then drop the packet and
diff --git a/ports/sysdeps/unix/sysv/linux/hppa/sysdep.h b/ports/sysdeps/unix/sysv/linux/hppa/sysdep.h
index c8c20e7..0d27b40 100644
--- a/ports/sysdeps/unix/sysv/linux/hppa/sysdep.h
+++ b/ports/sysdeps/unix/sysv/linux/hppa/sysdep.h
@@ -219,7 +219,7 @@
 
 
 /* FIXME: This comment is not true.
- * All the syscall assembly macros rely on finding the approriate
+ * All the syscall assembly macros rely on finding the appropriate
    SYSCALL_ERROR_LABEL or rather HANDLER. */
 
 /* int * __errno_location(void) so you have to store your value
diff --git a/argp/argp-help.c b/argp/argp-help.c
index 4b83737..53702e3 100644
--- a/argp/argp-help.c
+++ b/argp/argp-help.c
@@ -736,12 +736,12 @@ hol_entry_cmp (const struct hol_entry *entry1,
   if (entry1->cluster != entry2->cluster)
     {
       /* The entries are not within the same cluster, so we can't compare them
-	 directly, we have to use the appropiate clustering level too.  */
+	 directly, we have to use the appropriate clustering level too.  */
       if (! entry1->cluster)
 	/* ENTRY1 is at the `base level', not in a cluster, so we have to
 	   compare it's group number with that of the base cluster in which
 	   ENTRY2 resides.  Note that if they're in the same group, the
-	   clustered option always comes laster.  */
+	   clustered option always comes last.  */
 	return group_cmp (group1, hol_cluster_base (entry2->cluster)->group, -1);
       else if (! entry2->cluster)
 	/* Likewise, but ENTRY2's not in a cluster.  */

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [PATCH 1/9] Fix typos.
  2013-08-18 22:10     ` [PATCH 1/9] " Ondřej Bílka
@ 2013-08-18 22:31       ` Allan McRae
  2013-08-19 19:32       ` Joseph S. Myers
                         ` (4 subsequent siblings)
  5 siblings, 0 replies; 24+ messages in thread
From: Allan McRae @ 2013-08-18 22:31 UTC (permalink / raw)
  To: Ondřej Bílka; +Cc: Joseph S. Myers, libc-alpha, libc-ports

On 19/08/13 08:09, Ondřej Bílka wrote:
> On Sun, Aug 18, 2013 at 08:15:24PM +0000, Joseph S. Myers wrote:
>> I stopped commenting here.  For any subsequent revisions, in addition to 
>> the points I identified above, please keep patches down to at most 1000 
>> lines for convenience of review, and wait until consensus has been reached 
>> on a single posted patch before sending any subsequent patches (also of at 
>> most 1000 lines).
>>
> I split patches to 1000 lines, here is first one.
> 

<snip>

This is the only one that I think needs fixed as there was more than
just a typo going on there.

> diff --git a/iconv/skeleton.c b/iconv/skeleton.c
> index 45beb06..6997e05 100644
> --- a/iconv/skeleton.c
> +++ b/iconv/skeleton.c
> @@ -514,7 +514,7 @@ FUNCTION_NAME (struct __gconv_step *step, struct __gconv_step_data *data,
>        size_t *lirreversiblep = irreversible ? &lirreversible : NULL;
>  
>        /* The following assumes that encodings, which have a variable length
> -	 what might unalign a buffer even though it is a aligned in the
> +	 what might unalign a buffer even though it is an aligned in the
>  	 beginning, either don't have the minimal number of bytes as a divisor
>  	 of the maximum length or have a minimum length of 1.  This is true
>  	 for all known and supported encodings.


^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [PATCH 1/9] Fix typos.
  2013-08-18 22:10     ` [PATCH 1/9] " Ondřej Bílka
  2013-08-18 22:31       ` Allan McRae
@ 2013-08-19 19:32       ` Joseph S. Myers
  2013-08-21 10:38         ` [PATCH 1/9 v2] " Ondřej Bílka
  2013-08-22 13:56       ` [PATCH 2/9] " Ondřej Bílka
                         ` (3 subsequent siblings)
  5 siblings, 1 reply; 24+ messages in thread
From: Joseph S. Myers @ 2013-08-19 19:32 UTC (permalink / raw)
  To: Ondřej Bílka; +Cc: libc-alpha, libc-ports

On Mon, 19 Aug 2013, Ondrej Bilka wrote:

>  data packet */ \n-#define ACK 04    /* acknowledgement */ \n #define ERROR 05  
>  data packet */ \n+#define ACK 04    /* acknowledgment */ \n #define ERROR 05   
>                                                  ^^                            
> me */ \n-#define TSP_ACK   2 /* generic acknowledgement */ \n #define TSP_MASTER
> me */ \n+#define TSP_ACK   2 /* generic acknowledgment */ \n #define TSP_MASTERR
>                                                  ^^                            
> quence number */ \n-tcp_seq th_ack;  /* acknowledgement number */ \n #  if __BYT
> quence number */ \n+tcp_seq th_ack;  /* acknowledgment number */ \n #  if __BYTE
>                                                  ^^                            
> uence number */ \n-tcp_seq th_ack;   /* acknowledgement number */ \n #if __BYTE_
> uence number */ \n+tcp_seq th_ack;   /* acknowledgment number */ \n #if __BYTE_O
>                                                  ^^                            
> n-waiting to be sent.  Stop looking for acknowledgement of data already \n sent;
> n+waiting to be sent.  Stop looking for acknowledgment of data already \n sent; 
>                                                  ^^                            
> nce and tone of each of the contributor acknowledgements and/or \n dedications g
> nce and tone of each of the contributor acknowledgments and/or \n dedications gi
>                                                  ^^                            

This is still an English variant issue, where both spellings are valid, 
and so does not belong in a typo fix patch.

> ne TSP_TEST  21 /* for testing election algo */ \n #define TSP_SETDATE  22 /* Ne
> ne TSP_TEST  21 /* for testing election algorithm */ \n #define TSP_SETDATE  22 
>                                             ^   ^                              

This is still a case of an abbreviation being used in informal writing 
that does not need expanding.

-- 
Joseph S. Myers
joseph@codesourcery.com

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [PATCH 1/9 v2] Fix typos.
  2013-08-19 19:32       ` Joseph S. Myers
@ 2013-08-21 10:38         ` Ondřej Bílka
  2013-08-21 15:48           ` Joseph S. Myers
  0 siblings, 1 reply; 24+ messages in thread
From: Ondřej Bílka @ 2013-08-21 10:38 UTC (permalink / raw)
  To: Joseph S. Myers; +Cc: libc-alpha, libc-ports

On Mon, Aug 19, 2013 at 07:32:31PM +0000, Joseph S. Myers wrote:
> On Mon, 19 Aug 2013, Ondrej Bilka wrote:
> 
> >  data packet */ \n-#define ACK 04    /* acknowledgement */ \n #define ERROR 05  
> >  data packet */ \n+#define ACK 04    /* acknowledgment */ \n #define ERROR 05   
> >                                                  ^^                            
> > me */ \n-#define TSP_ACK   2 /* generic acknowledgement */ \n #define TSP_MASTER
> > me */ \n+#define TSP_ACK   2 /* generic acknowledgment */ \n #define TSP_MASTERR
> >                                                  ^^                            
> > quence number */ \n-tcp_seq th_ack;  /* acknowledgement number */ \n #  if __BYT
> > quence number */ \n+tcp_seq th_ack;  /* acknowledgment number */ \n #  if __BYTE
> >                                                  ^^                            
> > uence number */ \n-tcp_seq th_ack;   /* acknowledgement number */ \n #if __BYTE_
> > uence number */ \n+tcp_seq th_ack;   /* acknowledgment number */ \n #if __BYTE_O
> >                                                  ^^                            
> > n-waiting to be sent.  Stop looking for acknowledgement of data already \n sent;
> > n+waiting to be sent.  Stop looking for acknowledgment of data already \n sent; 
> >                                                  ^^                            
> > nce and tone of each of the contributor acknowledgements and/or \n dedications g
> > nce and tone of each of the contributor acknowledgments and/or \n dedications gi
> >                                                  ^^                            
> 
> This is still an English variant issue, where both spellings are valid, 
> and so does not belong in a typo fix patch.
> 
> > ne TSP_TEST  21 /* for testing election algo */ \n #define TSP_SETDATE  22 /* Ne
> > ne TSP_TEST  21 /* for testing election algorithm */ \n #define TSP_SETDATE  22 
> >                                             ^   ^                              
> 
> This is still a case of an abbreviation being used in informal writing 
> that does not need expanding.
> 
> -- 
> Joseph S. Myers
> joseph@codesourcery.com

Ok, here is v2.

./nptl/ChangeLog:


	* pthread_getschedparam.c: Fix typos.
	* sysdeps/unix/sysv/linux/register-atfork.c: Likewise.

./ChangeLog:


	* argp/argp-help.c: Fix typos.
	* crypt/speeds.c: Likewise.
	* csu/check_fds.c: Likewise.
	* elf/dl-load.c: Likewise.
	* elf/dl-open.c: Likewise.
	* elf/reldep3.c: Likewise.
	* elf/reldep.c: Likewise.
	* elf/sprof.c: Likewise.
	* iconv/iconv_charmap.c: Likewise.
	* iconv/skeleton.c: Likewise.
	* iconv/strtab.c: Likewise.
	* io/lockf64.c: Likewise.
	* libio/libioP.h: Likewise.
	* resolv/gai_notify.c: Likewise.
	* resolv/ns_name.c: Likewise.
	* resolv/ns_samedomain.c: Likewise.
	* resolv/res_send.c: Likewise.
	* stdlib/random.c: Likewise.
	* sunrpc/rpc/xdr.h: Likewise.
	* sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
	* sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
	* sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
	* sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
	* sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
	* sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
	* sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
	* sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
	* sysdeps/mach/hurd/check_fds.c: Likewise.
	* sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
	* sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
	* sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
	* sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
	* sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
	* sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
	* sysdeps/pthread/aio_notify.c: Likewise.
	* sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
	* sysdeps/unix/sysv/linux/socketcall.h: Likewise.
	* sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
	* sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
	* sysdeps/x86/fpu/bits/fenv.h: Likewise.

./ports/ChangeLog.ia64:


	* sysdeps/ia64/fpu/e_atanhl.S: Fix typos.
	* sysdeps/ia64/fpu/e_log2l.S: Likewise.
	* sysdeps/ia64/fpu/e_logl.S: Likewise.
	* sysdeps/ia64/fpu/fraiseexcpt.c: Likewise.
	* sysdeps/ia64/fpu/libm_lgammal.S: Likewise.
	* sysdeps/ia64/fpu/s_log1pl.S: Likewise.

./ports/ChangeLog.hppa:


	* sysdeps/hppa/dl-lookupcfg.h: Fix typos.
	* sysdeps/hppa/fpu/fraiseexcpt.c: Likewise.
	* sysdeps/unix/sysv/linux/hppa/sysdep.h: Fix typos.

./ports/ChangeLog.am33:


	* sysdeps/am33/fpu/fraiseexcpt.c: Fix typos.

./ports/ChangeLog.tile:


	* sysdeps/tile/jmpbuf-offsets.h: Fix typos.

./ports/ChangeLog.m68k:


	* sysdeps/m68k/m680x0/fpu/fraiseexcpt.c: Fix typos.

---

                             \n-/* Info abount the function itself.  */ \n n = p
                             \n+/* Info about the function itself.  */ \n n = pr
                                           ^^                                  
ogram \n-we are about to start does not accidently use this \n descriptor.  */  
ogram \n+we are about to start does not accidentally use this \n descriptor.  */
                                                ^^                             
ogram we are \n-about to start does not accidently use this descriptor.  */ \n i
ogram we are \n+about to start does not accidentally use this descriptor.  */ \n
                                                ^^                             
* We save space for some extra state to accomodate future changes.  */ \n #defin
* We save space for some extra state to accommodate future changes.  */ \n #defi
                                            ^^                                 
-/* The test for "addr & 2" below is to accomodate old binaries which \n violate
+/* The test for "addr & 2" below is to accommodate old binaries which \n violat
                                            ^^                                 
0 0 0 d_5 ... d_14 \n-//        This is accomplised by integer multiplication. \
0 0 0 d_5 ... d_14 \n+//        This is accomplished by integer multiplication. 
                                                 ^                             
 d_9 d_10 ... d_14 \n-//        This is accomplised by integer multiplication. \
 d_9 d_10 ... d_14 \n+//        This is accomplished by integer multiplication. 
                                                 ^                             
d_14 \n-//                      This is accomplised by integer multiplication. \
d_14 \n+//                      This is accomplished by integer multiplication. 
                                                 ^                             
d_14 \n-//                      This is accomplised by integer multiplication. \
d_14 \n+//                      This is accomplished by integer multiplication. 
                                                 ^                             
0 0 0 d_5 ... d_14 \n-//        This is accomplised by integer multiplication. \
0 0 0 d_5 ... d_14 \n+//        This is accomplished by integer multiplication. 
                                                 ^                             
 d_9 d_10 ... d_14 \n-//        This is accomplised by integer multiplication. \
 d_9 d_10 ... d_14 \n+//        This is accomplished by integer multiplication. 
                                                 ^                             
of the last path element.  When we come accross \n a DST we copy over the value 
of the last path element.  When we come across \n a DST we copy over the value o
                                        ^ ^                                    
                   .mfi \n-// get T_low adress \n shladd r3=r28,3,r3            
                   .mfi \n+// get T_low address \n shladd r3=r28,3,r3           
                                         ^^                                    
                        \n-/* If source adress alignment != destination adress a
                        \n+/* If source address alignment != destination address
                                          ^                               ^    
                        \n-/* If source adress alignment != destination adress a
                        \n+/* If source address alignment != destination address
                                          ^                               ^    
                        \n-/* If source adress alignment == destination adress a
                        \n+/* If source address alignment == destination address
                                          ^                               ^    
                        \n-/* If source adress alignment == destination adress a
                        \n+/* If source address alignment == destination address
                                          ^                               ^    
   \ \n-/* We loaded the jump table and adjuested ECX. Go.  */  \ \n jmp *%ecx  
   \ \n+/* We loaded the jump table and adjusted ECX. Go.  */  \ \n jmp *%ecx   
                                           ^^                                  
x; \ \n-/* We loaded the jump table and adjuested ECX. Go.  */ \ \n jmp *%ecx   
x; \ \n+/* We loaded the jump table and adjusted ECX. Go.  */ \ \n jmp *%ecx    
                                           ^^                                  
   \ \n-/* We loaded the jump table and adjuested EDX. Go.  */ \ \n jmp  *%ebx  
   \ \n+/* We loaded the jump table and adjusted EDX. Go.  */ \ \n jmp  *%ebx   
                                           ^^                                  
   \ \n-/* We loaded the jump table and adjuested EDX. Go.  */ \ \n jmp  *%ebx  
   \ \n+/* We loaded the jump table and adjusted EDX. Go.  */ \ \n jmp  *%ebx   
                                           ^^                                  
x; \ \n-/* We loaded the jump table and adjuested EDX/ESI. Go.  */ \ \n jmp *%eb
x; \ \n+/* We loaded the jump table and adjusted EDX/ESI. Go.  */ \ \n jmp *%ebx
                                           ^^                                  
 define LOCALE  12 /* Loaded before the adjustement.  */ \n # ifdef PIC         
 define LOCALE  12 /* Loaded before the adjustment.  */ \n # ifdef PIC          
                                             ^^                                
 define LOCALE  16 /* Loaded before the adjustement.  */ \n # ifdef PIC         
 define LOCALE  16 /* Loaded before the adjustment.  */ \n # ifdef PIC          
                                             ^^                                
 define LOCALE  12 /* Loaded before the adjustement.  */ \n # ifdef PIC         
 define LOCALE  12 /* Loaded before the adjustment.  */ \n # ifdef PIC          
                                             ^^                                
 define LOCALE  16 /* Loaded before the adjustement.  */ \n # ifdef PIC         
 define LOCALE  16 /* Loaded before the adjustment.  */ \n # ifdef PIC          
                                             ^^                                
riable.  If it was NULL but is not NULL afterwars we must \n start the profiling
riable.  If it was NULL but is not NULL afterwards we must \n start the profilin
                                                ^                              
be rewritten to use a balancing \n-tree algorith (AVL, red-black trees).  For no
be rewritten to use a balancing \n+tree algorithm (AVL, red-black trees).  For n
                                                ^                              
ccuracy we use precise division \n-//   algorythm output of which is a pair of t
ccuracy we use precise division \n+//   algorithm output of which is a pair of t
                                             ^                                 
    \n-/* lockf.c defines lockf64 as an lias if __OFF_T_MATCHES_OFF64_T.  */ \n 
    \n+/* lockf.c defines lockf64 as an alias if __OFF_T_MATCHES_OFF64_T.  */ \n
                                        ^                                      
 dest bdry  */ \n-clrlwi  r8,r8,32-4 /* aling to 16byte boundary  */ \n sub     
 dest bdry  */ \n+clrlwi  r8,r8,32-4 /* align to 16byte boundary  */ \n sub     
                                           ^^                                  
 dest bdry  */ \n-clrldi  r8,r8,64-4 /* aling to 16byte boundary  */ \n sub     
 dest bdry  */ \n+clrldi  r8,r8,64-4 /* align to 16byte boundary  */ \n sub     
                                           ^^                                  
                  \n-/* Free eventually alloated memory blocks for the object po
                  \n+/* Free eventually allocated memory blocks for the object p
                                            ^                                  
 \n-Otherwise we know that rSTR1 is not aready word aligned yet. \n So we can fo
 \n+Otherwise we know that rSTR1 is not already word aligned yet. \n So we can f
                                         ^                                     
 \n-Otherwise we know that rSTR1 is not aready word aligned yet. \n So we can fo
 \n+Otherwise we know that rSTR1 is not already word aligned yet. \n So we can f
                                         ^                                     
                 -1,4 +1,4 @@ \n-/* non alitivec (old) version of setjmp for Pow
                 -1,4 +1,4 @@ \n+/* non altivec (old) version of setjmp for Powe
                                         ^^                                    
                 -1,4 +1,4 @@ \n-/* non alitivec (old) version of setjmp for Pow
                 -1,4 +1,4 @@ \n+/* non altivec (old) version of setjmp for Powe
                                         ^^                                    
ight unalign a buffer even though it is a aligned in the \n beginning, either do
ight unalign a buffer even though it is aligned in the \n beginning, either dn't
                                         ^                                     
                        *% \n-* Convert a ascii string into an encoded domain na
                        *% \n+* Convert an ascii string into an encoded domain n
                                         ^                                     
             else \n-/* This is part of a asynchronous `getaddrinfo_a' operation
             else \n+/* This is part of an asynchronous `getaddrinfo_a' operatio
                                         ^                                     
             else \n-/* This is part of a asynchronous `lio_listio' operation.  
             else \n+/* This is part of an asynchronous `lio_listio' operation. 
                                         ^                                     
he _IO_JUMPS macro.  The jump table has a eccentric format, \n * so as to be com
he _IO_JUMPS macro.  The jump table has an eccentric format, \n * so as to be co
                                         ^                                     
iscrim structures, terminated with \n-* a entry with a null procedure pointer.  
iscrim structures, terminated with \n+* an entry with a null procedure pointer. 
                                         ^                                     
r/include/linux/net.h. \n-We cannot use a enum here because the values are used 
r/include/linux/net.h. \n+We cannot use an enum here because the values are used
                                         ^                                     
ou'll have to ensure the \n-* existence a environment variable: HZ giving how ma
ou'll have to ensure the \n+* existence an environment variable: HZ giving how m
                                         ^                                     
O_FILE* \n-parameter is used instead of a integer file descriptor;  the default 
O_FILE* \n+parameter is used instead of an integer file descriptor;  the default
                                         ^                                     
lues at all \n-times.  If the user uses a interface other than \n pthread_setsch
lues at all \n+times.  If the user uses an interface other than \n pthread_setsc
                                         ^                                     
                 { \n-/* One example of a invalid operation is 0 * Infinity.  */
                 { \n+/* One example of an invalid operation is 0 * Infinity.  *
                                         ^                                     
                 { \n-/* One example of a invalid operation is 0 * Infinity.  */
                 { \n+/* One example of an invalid operation is 0 * Infinity.  *
                                         ^                                     
                 { \n-/* One example of a invalid operation is 0 * Infinity.  */
                 { \n+/* One example of an invalid operation is 0 * Infinity.  *
                                         ^                                     
                 { \n-/* One example of a invalid operation is 0 * Infinity.  */
                 { \n+/* One example of an invalid operation is 0 * Infinity.  *
                                         ^                                     
                 { \n-/* One example of a invalid operation is 0.0 / 0.0.  */ \n
                 { \n+/* One example of an invalid operation is 0.0 / 0.0.  */ \
                                         ^                                     
                 { \n-/* One example of a invalid operation is 0.0 / 0.0.  */ \n
                 { \n+/* One example of an invalid operation is 0.0 / 0.0.  */ \
                                         ^                                     
                 { \n-/* One example of a invalid operation is 0.0 / 0.0.  */ \n
                 { \n+/* One example of an invalid operation is 0.0 / 0.0.  */ \
                                         ^                                     
                 { \n-/* One example of a invalid operation is 0/0.  */ \n __asm
                 { \n+/* One example of an invalid operation is 0/0.  */ \n __as
                                         ^                                     
                        { \n-/* This is a invalid sequence.  Skip the first byte
                        { \n+/* This is an invalid sequence.  Skip the first byt
                                         ^                                     
identical characters we \n-converted in a irreversible way.  */ \n *irreversible
identical characters we \n+converted in an irreversible way.  */ \n *irreversibl
                                         ^                                     
n-most NUM.  A short option recorded in a option following OPT is only \n valid 
n+most NUM.  A short option recorded in an option following OPT is only \n valid
                                         ^                                     
 * Inputs: \n-*\li a - the domain whose ancestory is being verified \n *\li b - 
 * Inputs: \n+*\li a - the domain whose ancestry is being verified \n *\li b - t
                                             ^^                                
two pointers are always rand_sep places aparts, as they \n cycle through the sta
two pointers are always rand_sep places apart, as they \n cycle through the stat
                                            ^^                                 
                 /* \n-* If the calling applicating has bailed out of \n * a pre
                 /* \n+* If the calling application has bailed out of \n * a pre
                                                 ^^                            
all assembly macros rely on finding the approriate \n SYSCALL_ERROR_LABEL or rat
all assembly macros rely on finding the appropriate \n SYSCALL_ERROR_LABEL or ra
                                             ^                                 
re them \n-directly, we have to use the appropiate clustering level too.  */ \n 
re them \n+directly, we have to use the appropriate clustering level too.  */ \n
                                              ^                                
p, the \n-clustered option always comes laster.  */ \n return group_cmp (group1,
p, the \n+clustered option always comes last.  */ \n return group_cmp (group1, h
                                           ^^                                  
 must still be around since we have \n-a implicit dependency.  */ \n if (dlclose
 must still be around since we have \n+an implicit dependency.  */ \n if (dlclos
                                        ^                                      
 must still be around since we have \n-a implicit dependency.  */ \n if (dlclose
 must still be around since we have \n+an implicit dependency.  */ \n if (dlclos
                                        ^                                      
diff --git a/elf/sprof.c b/elf/sprof.c
index 60f310f..ecb7bdb 100644
--- a/elf/sprof.c
+++ b/elf/sprof.c
@@ -1364,7 +1364,7 @@ generate_call_graph (struct profdata *profdata)
 	    runp = runp->next;
 	  }
 
-	/* Info abount the function itself.  */
+	/* Info about the function itself.  */
 	n = printf ("[%Zu]", cnt);
 	printf ("%*s%5.1f%8.2f%8.2f%9" PRIdMAX "         %s [%Zd]\n",
 		(int) (7 - n), " ",
diff --git a/sysdeps/mach/hurd/check_fds.c b/sysdeps/mach/hurd/check_fds.c
index 979fcb7..cf20643 100644
--- a/sysdeps/mach/hurd/check_fds.c
+++ b/sysdeps/mach/hurd/check_fds.c
@@ -42,7 +42,7 @@ check_one_fd (int fd, int mode)
     {
       /* This descriptor hasn't been opened.  We try to allocate the
          descriptor and open /dev/null on it so that the SUID program
-         we are about to start does not accidently use this
+         we are about to start does not accidentally use this
          descriptor.  */
       d = _hurd_alloc_fd (NULL, fd);
       if (d != NULL)
diff --git a/csu/check_fds.c b/csu/check_fds.c
index 3616e6c..9b83828 100644
--- a/csu/check_fds.c
+++ b/csu/check_fds.c
@@ -60,7 +60,7 @@ check_one_fd (int fd, int mode)
 
       /* Something is wrong with this descriptor, it's probably not
 	 opened.  Open /dev/null so that the SUID program we are
-	 about to start does not accidently use this descriptor.  */
+	 about to start does not accidentally use this descriptor.  */
       int nullfd = open_not_cancel (name, mode, 0);
 
       /* We are very paranoid here.  With all means we try to ensure
diff --git a/ports/sysdeps/tile/jmpbuf-offsets.h b/ports/sysdeps/tile/jmpbuf-offsets.h
index 62b8413..c6f5be3 100644
--- a/ports/sysdeps/tile/jmpbuf-offsets.h
+++ b/ports/sysdeps/tile/jmpbuf-offsets.h
@@ -45,7 +45,7 @@
 #define JB_PC   25  /* normally LR, r55 */
 #define JB_ICS  26  /* interrupt critical section bit */
 
-/* We save space for some extra state to accomodate future changes.  */
+/* We save space for some extra state to accommodate future changes.  */
 #define JB_LEN  32  /* number of words */
 
 #define JB_SIZE (JB_LEN * REGSIZE)
diff --git a/ports/sysdeps/hppa/dl-lookupcfg.h b/ports/sysdeps/hppa/dl-lookupcfg.h
index 5c84c43..f3125e5 100644
--- a/ports/sysdeps/hppa/dl-lookupcfg.h
+++ b/ports/sysdeps/hppa/dl-lookupcfg.h
@@ -57,7 +57,7 @@ void _dl_unmap (struct link_map *map);
 })
 
 
-/* The test for "addr & 2" below is to accomodate old binaries which
+/* The test for "addr & 2" below is to accommodate old binaries which
    violated the ELF ABI by pointing DT_INIT and DT_FINI at a function
    descriptor.  */
 #define DL_DT_INIT_ADDRESS(map, addr) \
diff --git a/ports/sysdeps/ia64/fpu/e_logl.S b/ports/sysdeps/ia64/fpu/e_logl.S
index e12c65d..996f64a 100644
--- a/ports/sysdeps/ia64/fpu/e_logl.S
+++ b/ports/sysdeps/ia64/fpu/e_logl.S
@@ -211,7 +211,7 @@
 //
 //      Calculate	X_1 := X_0 * Z_1 truncated to lsb = 2^(-14)
 //      		     = 1.0 0 0 0 d_5 ... d_14
-//      		This is accomplised by integer multiplication.
+//      		This is accomplished by integer multiplication.
 //      		It is proved that X_1 indeed always begin
 //      		with 1.0000 in fixed point.
 //
diff --git a/ports/sysdeps/ia64/fpu/e_logl.S b/ports/sysdeps/ia64/fpu/e_logl.S
index e12c65d..996f64a 100644
--- a/ports/sysdeps/ia64/fpu/e_logl.S
+++ b/ports/sysdeps/ia64/fpu/e_logl.S
@@ -232,7 +232,7 @@
 //
 //      Calculate	X_2 := X_1 * Z_2 truncated to lsb = 2^(-14)
 //      		     = 1.0 0 0 0 0 0 0 0 d_9 d_10 ... d_14
-//      		This is accomplised by integer multiplication.
+//      		This is accomplished by integer multiplication.
 //      		It is proved that X_2 indeed always begin
 //      		with 1.00000000 in fixed point.
 //
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 351befb..95c87a4 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -317,7 +317,7 @@
 //
 //      Calculate       X_1 := X_0 * Z_1 truncated to lsb = 2^(-14)
 //                           = 1.0 0 0 0 d_5 ... d_14
-//                      This is accomplised by integer multiplication.
+//                      This is accomplished by integer multiplication.
 //                      It is proved that X_1 indeed always begin
 //                      with 1.0000 in fixed point.
 //
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 351befb..95c87a4 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -338,7 +338,7 @@
 //
 //      Calculate       X_2 := X_1 * Z_2 truncated to lsb = 2^(-14)
 //                           = 1.0 0 0 0 0 0 0 0 d_9 d_10 ... d_14
-//                      This is accomplised by integer multiplication.
+//                      This is accomplished by integer multiplication.
 //                      It is proved that X_2 indeed always begin
 //                      with 1.00000000 in fixed point.
 //
diff --git a/ports/sysdeps/ia64/fpu/s_log1pl.S b/ports/sysdeps/ia64/fpu/s_log1pl.S
index f60ce12..3c8be02 100644
--- a/ports/sysdeps/ia64/fpu/s_log1pl.S
+++ b/ports/sysdeps/ia64/fpu/s_log1pl.S
@@ -221,7 +221,7 @@
 //
 //      Calculate	X_1 := X_0 * Z_1 truncated to lsb = 2^(-14)
 //      		     = 1.0 0 0 0 d_5 ... d_14
-//      		This is accomplised by integer multiplication.
+//      		This is accomplished by integer multiplication.
 //      		It is proved that X_1 indeed always begin
 //      		with 1.0000 in fixed point.
 //
diff --git a/ports/sysdeps/ia64/fpu/s_log1pl.S b/ports/sysdeps/ia64/fpu/s_log1pl.S
index f60ce12..3c8be02 100644
--- a/ports/sysdeps/ia64/fpu/s_log1pl.S
+++ b/ports/sysdeps/ia64/fpu/s_log1pl.S
@@ -242,7 +242,7 @@
 //
 //      Calculate	X_2 := X_1 * Z_2 truncated to lsb = 2^(-14)
 //      		     = 1.0 0 0 0 0 0 0 0 d_9 d_10 ... d_14
-//      		This is accomplised by integer multiplication.
+//      		This is accomplished by integer multiplication.
 //      		It is proved that X_2 indeed always begin
 //      		with 1.00000000 in fixed point.
 //
diff --git a/elf/dl-load.c b/elf/dl-load.c
index 655e38e..6a73f27 100644
--- a/elf/dl-load.c
+++ b/elf/dl-load.c
@@ -324,7 +324,7 @@ _dl_dst_substitute (struct link_map *l, const char *name, char *result,
   const char *const start = name;
 
   /* Now fill the result path.  While copying over the string we keep
-     track of the start of the last path element.  When we come accross
+     track of the start of the last path element.  When we come across
      a DST we copy over the value or (if the value is not available)
      leave the entire path element out.  */
   char *wp = result;
diff --git a/ports/sysdeps/ia64/fpu/e_log2l.S b/ports/sysdeps/ia64/fpu/e_log2l.S
index 837c55d..f33969a 100644
--- a/ports/sysdeps/ia64/fpu/e_log2l.S
+++ b/ports/sysdeps/ia64/fpu/e_log2l.S
@@ -471,7 +471,7 @@ GLOBAL_IEEE754_ENTRY(log2l)
   (p7) br.cond.spnt LOG2_PSEUDO_ZERO
 }
 {.mfi
-  // get T_low adress
+  // get T_low address
   shladd r3=r28,3,r3
   // if first 8 bits after leading 1 are all ones, use polynomial approx. only
   (p10) fms.s1 f6=f7,f36,f1
diff --git a/sysdeps/i386/i686/multiarch/strcpy-sse2.S b/sysdeps/i386/i686/multiarch/strcpy-sse2.S
index 07db134..d942ac2 100644
--- a/sysdeps/i386/i686/multiarch/strcpy-sse2.S
+++ b/sysdeps/i386/i686/multiarch/strcpy-sse2.S
@@ -128,7 +128,7 @@ ENTRY (STRCPY)
 
 	sub	%ecx, %edi
 
-/* If source adress alignment != destination adress alignment */
+/* If source address alignment != destination address alignment */
 	.p2align 4
 L(Unalign16Both):
 	mov	$16, %ecx
diff --git a/sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S b/sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
index cd56e56..7710173 100644
--- a/sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
+++ b/sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
@@ -93,7 +93,7 @@ ENTRY (STRCPY)
 	movdqu	(%rsi, %rcx), %xmm1   /* copy 16 bytes */
 	movdqu	%xmm1, (%rdi)
 
-/* If source adress alignment != destination adress alignment */
+/* If source address alignment != destination address alignment */
 	.p2align 4
 L(Unalign16Both):
 	sub	%rcx, %rdi
diff --git a/sysdeps/i386/i686/multiarch/strcpy-sse2.S b/sysdeps/i386/i686/multiarch/strcpy-sse2.S
index 07db134..d942ac2 100644
--- a/sysdeps/i386/i686/multiarch/strcpy-sse2.S
+++ b/sysdeps/i386/i686/multiarch/strcpy-sse2.S
@@ -271,7 +271,7 @@ L(Unaligned64Leave):
 	lea	49(%edi, %edx), %edi
 	jmp	L(StrncpyFillTailWithZero)
 
-/* If source adress alignment == destination adress alignment */
+/* If source address alignment == destination address alignment */
 
 L(SourceStringAlignmentZero):
 	pxor	%xmm0, %xmm0
diff --git a/sysdeps/i386/i686/multiarch/strcat-sse2.S b/sysdeps/i386/i686/multiarch/strcat-sse2.S
index 72a1aca..62d60cd 100644
--- a/sysdeps/i386/i686/multiarch/strcat-sse2.S
+++ b/sysdeps/i386/i686/multiarch/strcat-sse2.S
@@ -49,7 +49,7 @@
 	/* Get the entry and convert the relative offset to the	\
 	absolute address.  */	\
 	addl	(%ecx,INDEX,SCALE), %ecx;	\
-	/* We loaded the jump table and adjuested ECX. Go.  */	\
+	/* We loaded the jump table and adjusted ECX. Go.  */	\
 	jmp	*%ecx
 # else
 #  define JMPTBL(I, B) I
diff --git a/sysdeps/i386/i686/multiarch/strcpy-sse2.S b/sysdeps/i386/i686/multiarch/strcpy-sse2.S
index 07db134..d942ac2 100644
--- a/sysdeps/i386/i686/multiarch/strcpy-sse2.S
+++ b/sysdeps/i386/i686/multiarch/strcpy-sse2.S
@@ -64,7 +64,7 @@
 	/* Get the entry and convert the relative offset to the \
 	absolute	address.  */                            \
 	addl	(%ecx,INDEX,SCALE), %ecx;                       \
-	/* We loaded the jump table and adjuested ECX. Go.  */  \
+	/* We loaded the jump table and adjusted ECX. Go.  */  \
 	jmp	*%ecx
 # else
 #  define JMPTBL(I, B)	I
diff --git a/sysdeps/i386/i686/multiarch/memset-sse2-rep.S b/sysdeps/i386/i686/multiarch/memset-sse2-rep.S
index 53a0b3d..bcea296 100644
--- a/sysdeps/i386/i686/multiarch/memset-sse2-rep.S
+++ b/sysdeps/i386/i686/multiarch/memset-sse2-rep.S
@@ -62,7 +62,7 @@
        absolute address.  */					\
     add		(%ebx,%ecx,4), %ebx;				\
     add		%ecx, %edx;					\
-    /* We loaded the jump table and adjuested EDX. Go.  */	\
+    /* We loaded the jump table and adjusted EDX. Go.  */	\
     jmp		*%ebx
 #else
 # define ENTRANCE
diff --git a/sysdeps/i386/i686/multiarch/memset-sse2.S b/sysdeps/i386/i686/multiarch/memset-sse2.S
index 2db5884..36bca84 100644
--- a/sysdeps/i386/i686/multiarch/memset-sse2.S
+++ b/sysdeps/i386/i686/multiarch/memset-sse2.S
@@ -62,7 +62,7 @@
        absolute address.  */					\
     add		(%ebx,%ecx,4), %ebx;				\
     add		%ecx, %edx;					\
-    /* We loaded the jump table and adjuested EDX. Go.  */	\
+    /* We loaded the jump table and adjusted EDX. Go.  */	\
     jmp		*%ebx
 #else
 # define ENTRANCE
diff --git a/sysdeps/i386/i686/multiarch/memcmp-sse4.S b/sysdeps/i386/i686/multiarch/memcmp-sse4.S
index 14226f5..2984a37 100644
--- a/sysdeps/i386/i686/multiarch/memcmp-sse4.S
+++ b/sysdeps/i386/i686/multiarch/memcmp-sse4.S
@@ -58,7 +58,7 @@
 /* Get the entry and convert the relative offset to the	\
 	absolute	address.  */	\
 	addl	(%ebx,INDEX,SCALE), %ebx;	\
-/* We loaded the jump table and adjuested EDX/ESI. Go.  */	\
+/* We loaded the jump table and adjusted EDX/ESI. Go.  */	\
 	jmp	*%ebx
 # else
 #  define JMPTBL(I, B)	I
diff --git a/sysdeps/i386/i686/multiarch/strcmp-sse4.S b/sysdeps/i386/i686/multiarch/strcmp-sse4.S
index 7177205..62f458f 100644
--- a/sysdeps/i386/i686/multiarch/strcmp-sse4.S
+++ b/sysdeps/i386/i686/multiarch/strcmp-sse4.S
@@ -53,7 +53,7 @@
 #  define STR1		8
 # endif
 # define STR2		STR1+4
-# define LOCALE		12	/* Loaded before the adjustement.  */
+# define LOCALE		12	/* Loaded before the adjustment.  */
 # ifdef PIC
 #  define RETURN	POP (%edi); POP (%ebx); ret; \
 			.p2align 4; CFI_PUSH (%ebx); CFI_PUSH (%edi)
diff --git a/sysdeps/i386/i686/multiarch/strcmp-sse4.S b/sysdeps/i386/i686/multiarch/strcmp-sse4.S
index 7177205..62f458f 100644
--- a/sysdeps/i386/i686/multiarch/strcmp-sse4.S
+++ b/sysdeps/i386/i686/multiarch/strcmp-sse4.S
@@ -73,7 +73,7 @@
 # endif
 # define STR2		STR1+4
 # define CNT		STR2+4
-# define LOCALE		16	/* Loaded before the adjustement.  */
+# define LOCALE		16	/* Loaded before the adjustment.  */
 # ifdef PIC
 #  define RETURN	POP (%edi); POP (REM); POP (%ebx); ret; \
 			.p2align 4; \
diff --git a/sysdeps/i386/i686/multiarch/strcmp-ssse3.S b/sysdeps/i386/i686/multiarch/strcmp-ssse3.S
index f2bc204..5fd9ac8 100644
--- a/sysdeps/i386/i686/multiarch/strcmp-ssse3.S
+++ b/sysdeps/i386/i686/multiarch/strcmp-ssse3.S
@@ -61,7 +61,7 @@
 #  define STR1		4
 # endif
 # define STR2		STR1+4
-# define LOCALE		12	/* Loaded before the adjustement.  */
+# define LOCALE		12	/* Loaded before the adjustment.  */
 # ifdef PIC
 #  define RETURN	POP (%ebx); ret; .p2align 4; CFI_PUSH (%ebx)
 # else
diff --git a/sysdeps/i386/i686/multiarch/strcmp-ssse3.S b/sysdeps/i386/i686/multiarch/strcmp-ssse3.S
index f2bc204..5fd9ac8 100644
--- a/sysdeps/i386/i686/multiarch/strcmp-ssse3.S
+++ b/sysdeps/i386/i686/multiarch/strcmp-ssse3.S
@@ -82,7 +82,7 @@
 # endif
 # define STR2		STR1+4
 # define CNT		STR2+4
-# define LOCALE		16	/* Loaded before the adjustement.  */
+# define LOCALE		16	/* Loaded before the adjustment.  */
 # ifdef PIC
 #  define RETURN	POP (REM); POP (%ebx); ret; \
 			.p2align 4; CFI_PUSH (%ebx); CFI_PUSH (REM)
diff --git a/elf/dl-open.c b/elf/dl-open.c
index 7adf66b..24d6a70 100644
--- a/elf/dl-open.c
+++ b/elf/dl-open.c
@@ -396,7 +396,7 @@ dl_open_worker (void *a)
 	  /* If this here is the shared object which we want to profile
 	     make sure the profile is started.  We can find out whether
 	     this is necessary or not by observing the `_dl_profile_map'
-	     variable.  If it was NULL but is not NULL afterwars we must
+	     variable.  If it was NULL but is not NULL afterwards we must
 	     start the profiling.  */
 	  struct link_map *old_profile_map = GL(dl_profile_map);
 
diff --git a/iconv/strtab.c b/iconv/strtab.c
index c62553e..1728640 100644
--- a/iconv/strtab.c
+++ b/iconv/strtab.c
@@ -180,7 +180,7 @@ newstring (struct Strtab *st, const char *str, size_t len)
 
 
 /* XXX This function should definitely be rewritten to use a balancing
-   tree algorith (AVL, red-black trees).  For now a simple, correct
+   tree algorithm (AVL, red-black trees).  For now a simple, correct
    implementation is enough.  */
 static struct Strent **
 searchstring (struct Strent **sep, struct Strent *newstr)
diff --git a/ports/sysdeps/ia64/fpu/e_atanhl.S b/ports/sysdeps/ia64/fpu/e_atanhl.S
index 846a89e..5d828d5 100644
--- a/ports/sysdeps/ia64/fpu/e_atanhl.S
+++ b/ports/sysdeps/ia64/fpu/e_atanhl.S
@@ -99,7 +99,7 @@
 //   calculation is subdivided into two stages. The first stage is
 //   calculating of X = 2*|x|/(1-|x|). The second one is calculating of
 //   sign(x)*log1pl(X)/2. To obtain required accuracy we use precise division
-//   algorythm output of which is a pair of two extended precision values those
+//   algorithm output of which is a pair of two extended precision values those
 //   approximate result of division with accuracy higher than working
 //   precision. This pair is passed to modified log1pl function.
 //
diff --git a/io/lockf64.c b/io/lockf64.c
index ba4c06a..bc6d026 100644
--- a/io/lockf64.c
+++ b/io/lockf64.c
@@ -21,7 +21,7 @@
 #include <errno.h>
 #include <string.h>
 
-/* lockf.c defines lockf64 as an lias if __OFF_T_MATCHES_OFF64_T.  */
+/* lockf.c defines lockf64 as an alias if __OFF_T_MATCHES_OFF64_T.  */
 #ifndef __OFF_T_MATCHES_OFF64_T
 
 /* lockf is a simplified interface to fcntl's locking facilities.  */
diff --git a/sysdeps/powerpc/powerpc32/cell/memcpy.S b/sysdeps/powerpc/powerpc32/cell/memcpy.S
index f3605d7..24a0f12 100644
--- a/sysdeps/powerpc/powerpc32/cell/memcpy.S
+++ b/sysdeps/powerpc/powerpc32/cell/memcpy.S
@@ -49,7 +49,7 @@ EALIGN (memcpy, 5, 0)
 
 .Lbigcopy:
 	neg	r8,r3		/* LS 3 bits = # bytes to 8-byte dest bdry  */
-	clrlwi  r8,r8,32-4	/* aling to 16byte boundary  */
+	clrlwi  r8,r8,32-4	/* align to 16byte boundary  */
 	sub     r7,r4,r3
 	cmplwi	cr0,r8,0
 	beq+	.Ldst_aligned
diff --git a/sysdeps/powerpc/powerpc64/cell/memcpy.S b/sysdeps/powerpc/powerpc64/cell/memcpy.S
index a271965..104900e 100644
--- a/sysdeps/powerpc/powerpc64/cell/memcpy.S
+++ b/sysdeps/powerpc/powerpc64/cell/memcpy.S
@@ -49,7 +49,7 @@ EALIGN (memcpy, 5, 0)
 
 .Lbigcopy:
 	neg	r8,r3		/* LS 3 bits = # bytes to 8-byte dest bdry  */
-	clrldi  r8,r8,64-4	/* aling to 16byte boundary  */
+	clrldi  r8,r8,64-4	/* align to 16byte boundary  */
 	sub     r7,r4,r3
 	cmpldi	cr0,r8,0
 	beq+	.Ldst_aligned
diff --git a/nptl/sysdeps/unix/sysv/linux/register-atfork.c b/nptl/sysdeps/unix/sysv/linux/register-atfork.c
index 7d53708..20a09e2 100644
--- a/nptl/sysdeps/unix/sysv/linux/register-atfork.c
+++ b/nptl/sysdeps/unix/sysv/linux/register-atfork.c
@@ -127,7 +127,7 @@ libc_freeres_fn (free_mem)
   /* No more fork handlers.  */
   __fork_handlers = NULL;
 
-  /* Free eventually alloated memory blocks for the object pool.  */
+  /* Free eventually allocated memory blocks for the object pool.  */
   struct fork_handler_pool *runp = fork_handler_pool.next;
 
   memset (&fork_handler_pool, '\0', sizeof (fork_handler_pool));
diff --git a/sysdeps/powerpc/powerpc32/power4/memcmp.S b/sysdeps/powerpc/powerpc32/power4/memcmp.S
index d7050a2..9a455a3 100644
--- a/sysdeps/powerpc/powerpc32/power4/memcmp.S
+++ b/sysdeps/powerpc/powerpc32/power4/memcmp.S
@@ -512,7 +512,7 @@ L(zeroLength):
    of rBITDIF to 0.  If rBITDIF == 0 then rStr1 is word aligned and can
    perform the Wunaligned loop.
 
-   Otherwise we know that rSTR1 is not aready word aligned yet.
+   Otherwise we know that rSTR1 is not already word aligned yet.
    So we can force the string addresses to the next lower word
    boundary and special case this first word using shift left to
    eliminate bits preceding the first byte.  Since we want to join the
diff --git a/sysdeps/powerpc/powerpc32/power7/memcmp.S b/sysdeps/powerpc/powerpc32/power7/memcmp.S
index f764b7c..075e19f 100644
--- a/sysdeps/powerpc/powerpc32/power7/memcmp.S
+++ b/sysdeps/powerpc/powerpc32/power7/memcmp.S
@@ -515,7 +515,7 @@ L(zeroLength):
    of rBITDIF to 0.  If rBITDIF == 0 then rStr1 is word aligned and can
    perform the Wunaligned loop.
 
-   Otherwise we know that rSTR1 is not aready word aligned yet.
+   Otherwise we know that rSTR1 is not already word aligned yet.
    So we can force the string addresses to the next lower word
    boundary and special case this first word using shift left to
    eliminate bits preceding the first byte.  Since we want to join the
diff --git a/sysdeps/powerpc/powerpc32/fpu/setjmp.S b/sysdeps/powerpc/powerpc32/fpu/setjmp.S
index dc93db3..60cd350 100644
--- a/sysdeps/powerpc/powerpc32/fpu/setjmp.S
+++ b/sysdeps/powerpc/powerpc32/fpu/setjmp.S
@@ -1,4 +1,4 @@
-/* non alitivec (old) version of setjmp for PowerPC.
+/* non altivec (old) version of setjmp for PowerPC.
    Copyright (C) 1995-2013 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
diff --git a/sysdeps/powerpc/powerpc32/setjmp.S b/sysdeps/powerpc/powerpc32/setjmp.S
index 851a5b9..8a8cf0d 100644
--- a/sysdeps/powerpc/powerpc32/setjmp.S
+++ b/sysdeps/powerpc/powerpc32/setjmp.S
@@ -1,4 +1,4 @@
-/* non alitivec (old) version of setjmp for PowerPC.
+/* non altivec (old) version of setjmp for PowerPC.
    Copyright (C) 1995-2013 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
diff --git a/iconv/skeleton.c b/iconv/skeleton.c
index 45beb06..6997e05 100644
--- a/iconv/skeleton.c
+++ b/iconv/skeleton.c
@@ -514,7 +514,7 @@ FUNCTION_NAME (struct __gconv_step *step, struct __gconv_step_data *data,
       size_t *lirreversiblep = irreversible ? &lirreversible : NULL;
 
       /* The following assumes that encodings, which have a variable length
-	 what might unalign a buffer even though it is a aligned in the
+	 what might unalign a buffer even though it is aligned in the
 	 beginning, either don't have the minimal number of bytes as a divisor
 	 of the maximum length or have a minimum length of 1.  This is true
 	 for all known and supported encodings.
diff --git a/resolv/ns_name.c b/resolv/ns_name.c
index adf64bb..246307a 100644
--- a/resolv/ns_name.c
+++ b/resolv/ns_name.c
@@ -180,7 +180,7 @@ libresolv_hidden_def (ns_name_ntop)
 strong_alias (ns_name_ntop, __ns_name_ntop)
 
 /*%
- *	Convert a ascii string into an encoded domain name as per RFC1035.
+ *	Convert an ascii string into an encoded domain name as per RFC1035.
  *
  * return:
  *
diff --git a/resolv/gai_notify.c b/resolv/gai_notify.c
index 9e4bdf6..48cb58a 100644
--- a/resolv/gai_notify.c
+++ b/resolv/gai_notify.c
@@ -117,7 +117,7 @@ __gai_notify (struct requestlist *req)
 #endif
 	}
       else
-	/* This is part of a asynchronous `getaddrinfo_a' operation.  If
+	/* This is part of an asynchronous `getaddrinfo_a' operation.  If
 	   this request is the last one, send the signal.  */
 	if (--*waitlist->counterp == 0)
 	  {
diff --git a/sysdeps/pthread/aio_notify.c b/sysdeps/pthread/aio_notify.c
index f3953f1..deedd2d 100644
--- a/sysdeps/pthread/aio_notify.c
+++ b/sysdeps/pthread/aio_notify.c
@@ -157,7 +157,7 @@ __aio_notify (struct requestlist *req)
 #endif
 	}
       else
-	/* This is part of a asynchronous `lio_listio' operation.  If
+	/* This is part of an asynchronous `lio_listio' operation.  If
 	   this request is the last one, send the signal.  */
 	if (--*waitlist->counterp == 0)
 	  {
diff --git a/libio/libioP.h b/libio/libioP.h
index 911f649..7b46388 100644
--- a/libio/libioP.h
+++ b/libio/libioP.h
@@ -73,7 +73,7 @@ extern "C" {
  * These are all the same, just used differently.
  * An _IO_FILE (or FILE) object is allows followed by a pointer to
  * a jump table (of pointers to functions).  The pointer is accessed
- * with the _IO_JUMPS macro.  The jump table has a eccentric format,
+ * with the _IO_JUMPS macro.  The jump table has an eccentric format,
  * so as to be compatible with the layout of a C++ virtual function table.
  * (as implemented by g++).  When a pointer to a streambuf object is
  * coerced to an (_IO_FILE*), then _IO_JUMPS on the result just
diff --git a/sunrpc/rpc/xdr.h b/sunrpc/rpc/xdr.h
index 4e31eb5..d80d8f7 100644
--- a/sunrpc/rpc/xdr.h
+++ b/sunrpc/rpc/xdr.h
@@ -221,7 +221,7 @@ typedef bool_t (*xdrproc_t) (XDR *, void *,...);
 /*
  * Support struct for discriminated unions.
  * You create an array of xdrdiscrim structures, terminated with
- * a entry with a null procedure pointer.  The xdr_union routine gets
+ * an entry with a null procedure pointer.  The xdr_union routine gets
  * the discriminant value and then searches the array of structures
  * for a matching value.  If a match is found the associated xdr routine
  * is called to handle that part of the union.  If there is
diff --git a/sysdeps/unix/sysv/linux/socketcall.h b/sysdeps/unix/sysv/linux/socketcall.h
index d1dffa3..d156717 100644
--- a/sysdeps/unix/sysv/linux/socketcall.h
+++ b/sysdeps/unix/sysv/linux/socketcall.h
@@ -22,7 +22,7 @@
 /* Define unique numbers for the operations permitted on socket.  Linux
    uses a single system call for all these functions.  The relevant code
    file is /usr/include/linux/net.h.
-   We cannot use a enum here because the values are used in assembler
+   We cannot use an enum here because the values are used in assembler
    code.  */
 
 #define SOCKOP_socket		1
diff --git a/crypt/speeds.c b/crypt/speeds.c
index 0d55ae8..810ecb0 100644
--- a/crypt/speeds.c
+++ b/crypt/speeds.c
@@ -16,7 +16,7 @@
  * patch from chip@chinacat.unicom.com (Chip Rosenthal):
  * you may enable it if your system does not include
  * a setitimer() function. You'll have to ensure the
- * existence a environment variable: HZ giving how many
+ * existence an environment variable: HZ giving how many
  * ticks goes per second.
  * If not existing in your default environment 50, 60
  * or even 100 may be the right value. Perhaps you should
diff --git a/elf/reldep.c b/elf/reldep.c
index 44b239b..adabc0d 100644
--- a/elf/reldep.c
+++ b/elf/reldep.c
@@ -54,7 +54,7 @@ main (void)
     }
 
   /* Now close the first object.  If must still be around since we have
-     a implicit dependency.  */
+     an implicit dependency.  */
   if (dlclose (h1) != 0)
     {
       printf ("closing h1 failed: %s\n", dlerror ());
diff --git a/elf/reldep3.c b/elf/reldep3.c
index b051c41..05013d3 100644
--- a/elf/reldep3.c
+++ b/elf/reldep3.c
@@ -54,7 +54,7 @@ main (void)
     }
 
   /* Now close the first object.  If must still be around since we have
-     a implicit dependency.  */
+     an implicit dependency.  */
   if (dlclose (h1) != 0)
     {
       printf ("closing h1 failed: %s\n", dlerror ());
diff --git a/libio/libioP.h b/libio/libioP.h
index 911f649..7b46388 100644
--- a/libio/libioP.h
+++ b/libio/libioP.h
@@ -224,7 +224,7 @@ typedef int (*_IO_doallocate_t) (_IO_FILE *);
    There is no correspondence in the ANSI/ISO C++ standard library.
    The hooks basically correspond to the Unix system functions
    (read, write, close, lseek, and stat) except that a _IO_FILE*
-   parameter is used instead of a integer file descriptor;  the default
+   parameter is used instead of an integer file descriptor;  the default
    implementation used for normal files just calls those functions.
    The advantage of overriding these functions instead of the higher-level
    ones (underflow, overflow etc) is that you can leave all the buffering
diff --git a/nptl/pthread_getschedparam.c b/nptl/pthread_getschedparam.c
index fd71350..7d996e4 100644
--- a/nptl/pthread_getschedparam.c
+++ b/nptl/pthread_getschedparam.c
@@ -40,7 +40,7 @@ __pthread_getschedparam (threadid, policy, param)
   lll_lock (pd->lock, LLL_PRIVATE);
 
   /* The library is responsible for maintaining the values at all
-     times.  If the user uses a interface other than
+     times.  If the user uses an interface other than
      pthread_setschedparam to modify the scheduler setting it is not
      the library's problem.  In case the descriptor's values have
      not yet been retrieved do it now.  */
diff --git a/ports/sysdeps/am33/fpu/fraiseexcpt.c b/ports/sysdeps/am33/fpu/fraiseexcpt.c
index f62e83a..1610adf 100644
--- a/ports/sysdeps/am33/fpu/fraiseexcpt.c
+++ b/ports/sysdeps/am33/fpu/fraiseexcpt.c
@@ -35,7 +35,7 @@ __feraiseexcept (int excepts)
   /* First: invalid exception.  */
   if (excepts & FE_INVALID)
     {
-      /* One example of a invalid operation is 0 * Infinity.  */
+      /* One example of an invalid operation is 0 * Infinity.  */
       float x = HUGE_VALF, y = 0.0f;
       __asm__ __volatile__ ("fmul %1,%0" : "+f" (x) : "f" (y));
     }
diff --git a/ports/sysdeps/hppa/fpu/fraiseexcpt.c b/ports/sysdeps/hppa/fpu/fraiseexcpt.c
index 0b55d34..28e2db4 100644
--- a/ports/sysdeps/hppa/fpu/fraiseexcpt.c
+++ b/ports/sysdeps/hppa/fpu/fraiseexcpt.c
@@ -42,7 +42,7 @@ feraiseexcept (int excepts)
   /* First: Invalid exception.  */
   if (excepts & FE_INVALID)
     {
-      /* One example of a invalid operation is 0 * Infinity.  */
+      /* One example of an invalid operation is 0 * Infinity.  */
       double d = HUGE_VAL;
       __asm__ __volatile__ (
 		"	fcpy,dbl %%fr0,%%fr22\n"
diff --git a/ports/sysdeps/ia64/fpu/fraiseexcpt.c b/ports/sysdeps/ia64/fpu/fraiseexcpt.c
index aaa9b61..76c1b7a 100644
--- a/ports/sysdeps/ia64/fpu/fraiseexcpt.c
+++ b/ports/sysdeps/ia64/fpu/fraiseexcpt.c
@@ -40,7 +40,7 @@ feraiseexcept (int excepts)
   /* First: invalid exception.  */
   if (FE_INVALID & excepts)
     {
-      /* One example of a invalid operation is 0 * Infinity.  */
+      /* One example of an invalid operation is 0 * Infinity.  */
       tmp = 0;
       __asm__ __volatile__ ("frcpa.s0 %0,p1=f0,f0" : "=f" (tmp) : : "p1" );
     }
diff --git a/ports/sysdeps/m68k/m680x0/fpu/fraiseexcpt.c b/ports/sysdeps/m68k/m680x0/fpu/fraiseexcpt.c
index 54ec89f..83c4e4d 100644
--- a/ports/sysdeps/m68k/m680x0/fpu/fraiseexcpt.c
+++ b/ports/sysdeps/m68k/m680x0/fpu/fraiseexcpt.c
@@ -33,7 +33,7 @@ __feraiseexcept (int excepts)
   /* First: invalid exception.  */
   if (excepts & FE_INVALID)
     {
-      /* One example of a invalid operation is 0 * Infinity.  */
+      /* One example of an invalid operation is 0 * Infinity.  */
       double d = HUGE_VAL;
       __asm__ __volatile__ ("fmul%.s %#0r0,%0; fnop" : "=f" (d) : "0" (d));
     }
diff --git a/sysdeps/i386/fpu/fraiseexcpt.c b/sysdeps/i386/fpu/fraiseexcpt.c
index 141681d..c359e5e 100644
--- a/sysdeps/i386/fpu/fraiseexcpt.c
+++ b/sysdeps/i386/fpu/fraiseexcpt.c
@@ -31,7 +31,7 @@ __feraiseexcept (int excepts)
   /* First: invalid exception.  */
   if ((FE_INVALID & excepts) != 0)
     {
-      /* One example of a invalid operation is 0.0 / 0.0.  */
+      /* One example of an invalid operation is 0.0 / 0.0.  */
       double d;
       __asm__ __volatile__ ("fldz; fdiv %%st, %%st(0); fwait" : "=t" (d));
       (void) &d;
diff --git a/sysdeps/x86/fpu/bits/fenv.h b/sysdeps/x86/fpu/bits/fenv.h
index e2fa21d..b9040cc 100644
--- a/sysdeps/x86/fpu/bits/fenv.h
+++ b/sysdeps/x86/fpu/bits/fenv.h
@@ -115,7 +115,7 @@ __NTH (feraiseexcept (int __excepts))
     {
       if ((FE_INVALID & __excepts) != 0)
 	{
-	  /* One example of a invalid operation is 0.0 / 0.0.  */
+	  /* One example of an invalid operation is 0.0 / 0.0.  */
 	  float __f = 0.0;
 
 # ifdef __SSE_MATH__
diff --git a/sysdeps/x86_64/fpu/fraiseexcpt.c b/sysdeps/x86_64/fpu/fraiseexcpt.c
index 9a251e1..e5f553a 100644
--- a/sysdeps/x86_64/fpu/fraiseexcpt.c
+++ b/sysdeps/x86_64/fpu/fraiseexcpt.c
@@ -30,7 +30,7 @@ __feraiseexcept (int excepts)
   /* First: invalid exception.  */
   if ((FE_INVALID & excepts) != 0)
     {
-      /* One example of a invalid operation is 0.0 / 0.0.  */
+      /* One example of an invalid operation is 0.0 / 0.0.  */
       float f = 0.0;
 
       __asm__ __volatile__ ("divss %0, %0 " : : "x" (f));
diff --git a/sysdeps/sparc/fpu/fraiseexcpt.c b/sysdeps/sparc/fpu/fraiseexcpt.c
index 0350df9..050e105 100644
--- a/sysdeps/sparc/fpu/fraiseexcpt.c
+++ b/sysdeps/sparc/fpu/fraiseexcpt.c
@@ -39,7 +39,7 @@ __feraiseexcept (int excepts)
   /* First: invalid exception.  */
   if ((FE_INVALID & excepts) != 0)
     {
-      /* One example of a invalid operation is 0/0.  */
+      /* One example of an invalid operation is 0/0.  */
       __asm ("" : "=e" (d) : "0" (c.zero));
       d /= c.zero;
       __asm __volatile ("" : : "e" (d));
diff --git a/iconv/iconv_charmap.c b/iconv/iconv_charmap.c
index 56f156e..09024a9 100644
--- a/iconv/iconv_charmap.c
+++ b/iconv/iconv_charmap.c
@@ -454,7 +454,7 @@ process_block (struct convtable *tbl, char *addr, size_t len, FILE *output)
       while (! is_term (cur, byte))
 	if (cur->val[byte].sub == NULL)
 	  {
-	    /* This is a invalid sequence.  Skip the first byte if we are
+	    /* This is an invalid sequence.  Skip the first byte if we are
 	       ignoring errors.  Otherwise punt.  */
 	    if (! omit_invalid)
 	      {
diff --git a/iconv/skeleton.c b/iconv/skeleton.c
index 45beb06..6997e05 100644
--- a/iconv/skeleton.c
+++ b/iconv/skeleton.c
@@ -659,7 +659,7 @@ FUNCTION_NAME (struct __gconv_step *step, struct __gconv_step_data *data,
 	      data->__outbuf = outbuf;
 
 	      /* Remember how many non-identical characters we
-		 converted in a irreversible way.  */
+		 converted in an irreversible way.  */
 	      *irreversible += lirreversible;
 
 	      break;
diff --git a/argp/argp-help.c b/argp/argp-help.c
index 4b83737..53702e3 100644
--- a/argp/argp-help.c
+++ b/argp/argp-help.c
@@ -357,7 +357,7 @@ struct hol_entry
   /* A pointers into the HOL's short_options field, to the first short option
      letter for this entry.  The order of the characters following this point
      corresponds to the order of options pointed to by OPT, and there are at
-     most NUM.  A short option recorded in a option following OPT is only
+     most NUM.  A short option recorded in an option following OPT is only
      valid if it occurs in the right place in SHORT_OPTIONS (otherwise it's
      probably been shadowed by some other entry).  */
   char *short_options;
diff --git a/resolv/ns_samedomain.c b/resolv/ns_samedomain.c
index 44b843a..df6a4a2 100644
--- a/resolv/ns_samedomain.c
+++ b/resolv/ns_samedomain.c
@@ -29,7 +29,7 @@ static const char rcsid[] = "$BINDId: ns_samedomain.c,v 8.9 1999/10/15 21:06:51
  *	Check whether a name belongs to a domain.
  *
  * Inputs:
- *\li	a - the domain whose ancestory is being verified
+ *\li	a - the domain whose ancestry is being verified
  *\li	b - the potential ancestor we're checking against
  *
  * Return:
diff --git a/stdlib/random.c b/stdlib/random.c
index e4302b0..d286bcf 100644
--- a/stdlib/random.c
+++ b/stdlib/random.c
@@ -160,7 +160,7 @@ static int32_t randtbl[DEG_3 + 1] =
 static struct random_data unsafe_state =
   {
 /* FPTR and RPTR are two pointers into the state info, a front and a rear
-   pointer.  These two pointers are always rand_sep places aparts, as they
+   pointer.  These two pointers are always rand_sep places apart, as they
    cycle through the state information.  (Yes, this does mean we could get
    away with just one pointer, but the code for random is more efficient
    this way).  The pointers are left positioned as they would be from the call:
diff --git a/resolv/res_send.c b/resolv/res_send.c
index 60da5c9..140efbe 100644
--- a/resolv/res_send.c
+++ b/resolv/res_send.c
@@ -875,7 +875,7 @@ send_vc(res_state statp,
 		}
 	}
 	/*
-	 * If the calling applicating has bailed out of
+	 * If the calling application has bailed out of
 	 * a previous call and failed to arrange to have
 	 * the circuit closed or the server has got
 	 * itself confused, then drop the packet and
diff --git a/ports/sysdeps/unix/sysv/linux/hppa/sysdep.h b/ports/sysdeps/unix/sysv/linux/hppa/sysdep.h
index c8c20e7..0d27b40 100644
--- a/ports/sysdeps/unix/sysv/linux/hppa/sysdep.h
+++ b/ports/sysdeps/unix/sysv/linux/hppa/sysdep.h
@@ -219,7 +219,7 @@
 
 
 /* FIXME: This comment is not true.
- * All the syscall assembly macros rely on finding the approriate
+ * All the syscall assembly macros rely on finding the appropriate
    SYSCALL_ERROR_LABEL or rather HANDLER. */
 
 /* int * __errno_location(void) so you have to store your value

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [PATCH 1/9 v2] Fix typos.
  2013-08-21 10:38         ` [PATCH 1/9 v2] " Ondřej Bílka
@ 2013-08-21 15:48           ` Joseph S. Myers
  0 siblings, 0 replies; 24+ messages in thread
From: Joseph S. Myers @ 2013-08-21 15:48 UTC (permalink / raw)
  To: Ondřej Bílka; +Cc: libc-alpha, libc-ports

On Wed, 21 Aug 2013, Ondrej Bilka wrote:

> Ok, here is v2.

This version is OK.

-- 
Joseph S. Myers
joseph@codesourcery.com

^ permalink raw reply	[flat|nested] 24+ messages in thread

* [PATCH 2/9] Fix typos.
  2013-08-18 22:10     ` [PATCH 1/9] " Ondřej Bílka
  2013-08-18 22:31       ` Allan McRae
  2013-08-19 19:32       ` Joseph S. Myers
@ 2013-08-22 13:56       ` Ondřej Bílka
  2013-08-22 15:04         ` Joseph S. Myers
  2013-08-30 10:48       ` [PATCH 3/9] " Ondřej Bílka
                         ` (2 subsequent siblings)
  5 siblings, 1 reply; 24+ messages in thread
From: Ondřej Bílka @ 2013-08-22 13:56 UTC (permalink / raw)
  To: Joseph S. Myers; +Cc: libc-alpha, libc-ports

Here is second part of patch, which is easier to review mainly 
that 'Lgamma is aproximated ...' typo appears 45 times there.

./ChangeLog:


	* argp/argp-help.c: Fix typos.
	* argp/argp-parse.c: Likewise.
	* debug/backtracesyms.c: Likewise.
	* elf/elf.h: Likewise.
	* hurd/thread-cancel.c: Likewise.
	* libio/fileops.c: Likewise.
	* malloc/malloc.c: Likewise.
	* nis/nis_print.c: Likewise.
	* resolv/res_comp.c: Likewise.
	* stdlib/stdlib.h: Likewise.
	* sunrpc/clnt_tcp.c: Likewise.
	* sunrpc/clnt_udp.c: Likewise.
	* sunrpc/clnt_unix.c: Likewise.
	* sysdeps/unix/bsd/ptsname.c: Likewise.
	* sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
	* sysdeps/unix/sysv/linux/ptsname.c: Likewise.
	* sysdeps/x86_64/cacheinfo.c: Likewise.

./libidn/ChangeLog:


	* stringprep.c: Fix typos.

./ports/ChangeLog.ia64:


	* sysdeps/ia64/fpu/e_acoshl.S: Fix typos.
	* sysdeps/ia64/fpu/e_logf.S: Likewise.
	* sysdeps/ia64/fpu/e_log.S: Likewise.
	* sysdeps/ia64/fpu/libm_lgammaf.S: Likewise.
	* sysdeps/ia64/fpu/libm_lgammal.S: Likewise.
	* sysdeps/ia64/fpu/s_log1p.S: Likewise.
	* sysdeps/ia64/fpu/w_tgammal.S: Likewise.

./ports/ChangeLog.am33:


	* sysdeps/unix/sysv/linux/am33/bits/fcntl.h: Fix typos.

./ports/ChangeLog.mips:


	* sysdeps/mips/sys/asm.h: Fix typos.

---

-   will be surrounded by "[" and "]" appropiately if the argument is
-   optional.  The documentation string is word-wrapped appropiately, and if
+   will be surrounded by "[" and "]" appropriately if the argument is
+   optional.  The documentation string is word-wrapped appropriately, and if
merged set of getopt options, with keys appropiately prefixed. */ \n static void
merged set of getopt options, with keys appropriately prefixed. */ \n static voi
                                              ^                                
 header line, with the margin lines set appropiately, and \n notes the fact that
 header line, with the margin lines set appropriately, and \n notes the fact tha
                                              ^                                
om the environment, and fill in UPARAMS appropiately.  */ \n static void        
om the environment, and fill in UPARAMS appropriately.  */ \n static void       
                                              ^                                
right root on [-3, -2] \n-// Lgammal is aproximated by polynomial within [-.0562
right root on [-3, -2] \n+// Lgammal is approximated by polynomial within [-.056
                                         ^^                                    
right root on [-7, -6] \n-// Lgammal is aproximated by polynomial within [-.1545
right root on [-7, -6] \n+// Lgammal is approximated by polynomial within [-.154
                                         ^^                                    
right root on [-8, -7] \n-// Lgammal is aproximated by polynomial within [-.1542
right root on [-8, -7] \n+// Lgammal is approximated by polynomial within [-.154
                                         ^^                                    
right root on [-9, -8] \n-// Lgammal is aproximated by polynomial within [-.1541
right root on [-9, -8] \n+// Lgammal is approximated by polynomial within [-.154
                                         ^^                                    
ight root on [-10, -9] \n-// Lgammal is aproximated by polynomial within [-.1541
ight root on [-10, -9] \n+// Lgammal is approximated by polynomial within [-.154
                                         ^^                                    
ght root on [-11, -10] \n-// Lgammal is aproximated by polynomial within [-.1541
ght root on [-11, -10] \n+// Lgammal is approximated by polynomial within [-.154
                                         ^^                                    
ght root on [-12, -11] \n-// Lgammal is aproximated by polynomial within [-.1541
ght root on [-12, -11] \n+// Lgammal is approximated by polynomial within [-.154
                                         ^^                                    
ght root on [-13, -12] \n-// Lgammal is aproximated by polynomial within [-.1541
ght root on [-13, -12] \n+// Lgammal is approximated by polynomial within [-.154
                                         ^^                                    
ght root on [-14, -13] \n-// Lgammal is aproximated by polynomial within [-.1541
ght root on [-14, -13] \n+// Lgammal is approximated by polynomial within [-.154
                                         ^^                                    
ght root on [-15, -14] \n-// Lgammal is aproximated by polynomial within [-.1541
ght root on [-15, -14] \n+// Lgammal is approximated by polynomial within [-.154
                                         ^^                                    
ght root on [-16, -15] \n-// Lgammal is aproximated by polynomial within [-.1541
ght root on [-16, -15] \n+// Lgammal is approximated by polynomial within [-.154
                                         ^^                                    
ght root on [-17, -16] \n-// Lgammal is aproximated by polynomial within [-.1541
ght root on [-17, -16] \n+// Lgammal is approximated by polynomial within [-.154
                                         ^^                                    
ght root on [-18, -17] \n-// Lgammal is aproximated by polynomial within [-.1541
ght root on [-18, -17] \n+// Lgammal is approximated by polynomial within [-.154
                                         ^^                                    
ght root on [-19, -18] \n-// Lgammal is aproximated by polynomial within [-.1541
ght root on [-19, -18] \n+// Lgammal is approximated by polynomial within [-.154
                                         ^^                                    
ght root on [-20, -19] \n-// Lgammal is aproximated by polynomial within [-.1541
ght root on [-20, -19] \n+// Lgammal is approximated by polynomial within [-.154
                                         ^^                                    
right root on [-6, -5] \n-// Lgammal is aproximated by polynomial within [-.1564
right root on [-6, -5] \n+// Lgammal is approximated by polynomial within [-.156
                                         ^^                                    
right root on [-5, -4] \n-// Lgammal is aproximated by polynomial within [-.1631
right root on [-5, -4] \n+// Lgammal is approximated by polynomial within [-.163
                                         ^^                                    
right root on [-4, -3] \n-// Lgammal is aproximated by polynomial within [-.1727
right root on [-4, -3] \n+// Lgammal is approximated by polynomial within [-.172
                                         ^^                                    
 left root on [-3, -2] \n-// Lgammal is aproximated by polynomial within [.08464
 left root on [-3, -2] \n+// Lgammal is approximated by polynomial within [.0846
                                         ^^                                    
 left root on [-4, -3] \n-// Lgammal is aproximated by polynomial within [.14714
 left root on [-4, -3] \n+// Lgammal is approximated by polynomial within [.1471
                                         ^^                                    
 left root on [-5, -4] \n-// Lgammal is aproximated by polynomial within [.15567
 left root on [-5, -4] \n+// Lgammal is approximated by polynomial within [.1556
                                         ^^                                    
 left root on [-6, -5] \n-// Lgammal is aproximated by polynomial within [.15742
 left root on [-6, -5] \n+// Lgammal is approximated by polynomial within [.1574
                                         ^^                                    
 left root on [-7, -6] \n-// Lgammal is aproximated by polynomial within [.15774
 left root on [-7, -6] \n+// Lgammal is approximated by polynomial within [.1577
                                         ^^                                    
 left root on [-8, -7] \n-// Lgammal is aproximated by polynomial within [.15779
 left root on [-8, -7] \n+// Lgammal is approximated by polynomial within [.1577
                                         ^^                                    
 left root on [-9, -8] \n-// Lgammal is aproximated by polynomial within [.15780
 left root on [-9, -8] \n+// Lgammal is approximated by polynomial within [.1578
                                         ^^                                    
left root on [-10, -9] \n-// Lgammal is aproximated by polynomial within [.15780
left root on [-10, -9] \n+// Lgammal is approximated by polynomial within [.1578
                                         ^^                                    
eft root on [-11, -10] \n-// Lgammal is aproximated by polynomial within [.15780
eft root on [-11, -10] \n+// Lgammal is approximated by polynomial within [.1578
                                         ^^                                    
eft root on [-12, -11] \n-// Lgammal is aproximated by polynomial within [.15780
eft root on [-12, -11] \n+// Lgammal is approximated by polynomial within [.1578
                                         ^^                                    
eft root on [-13, -12] \n-// Lgammal is aproximated by polynomial within [.15780
eft root on [-13, -12] \n+// Lgammal is approximated by polynomial within [.1578
                                         ^^                                    
eft root on [-14, -13] \n-// Lgammal is aproximated by polynomial within [.15780
eft root on [-14, -13] \n+// Lgammal is approximated by polynomial within [.1578
                                         ^^                                    
eft root on [-15, -14] \n-// Lgammal is aproximated by polynomial within [.15780
eft root on [-15, -14] \n+// Lgammal is approximated by polynomial within [.1578
                                         ^^                                    
eft root on [-16, -15] \n-// Lgammal is aproximated by polynomial within [.15780
eft root on [-16, -15] \n+// Lgammal is approximated by polynomial within [.1578
                                         ^^                                    
eft root on [-17, -16] \n-// Lgammal is aproximated by polynomial within [.15780
eft root on [-17, -16] \n+// Lgammal is approximated by polynomial within [.1578
                                         ^^                                    
eft root on [-18, -17] \n-// Lgammal is aproximated by polynomial within [.15780
eft root on [-18, -17] \n+// Lgammal is approximated by polynomial within [.1578
                                         ^^                                    
eft root on [-19, -18] \n-// Lgammal is aproximated by polynomial within [.15780
eft root on [-19, -18] \n+// Lgammal is approximated by polynomial within [.1578
                                         ^^                                    
             \n-// Near 1 path rational aproximation coefficients \n LOCAL_OBJEC
             \n+// Near 1 path rational approximation coefficients \n LOCAL_OBJE
                                         ^^                                    
            __CONTEXT_ENABLE_VRS \n-Any archecture that implements the Vector un
            __CONTEXT_ENABLE_VRS \n+Any architecture that implements the Vector 
                                            ^^                                 
            __CONTEXT_ENABLE_VRS \n-Any archecture that implements the Vector un
            __CONTEXT_ENABLE_VRS \n+Any architecture that implements the Vector 
                                            ^^                                 
            __CONTEXT_ENABLE_VRS \n-Any archecture that implements the Vector un
            __CONTEXT_ENABLE_VRS \n+Any architecture that implements the Vector 
                                            ^^                                 
                         \n-/* The MIPS archtectures do not have a uniform memor
                         \n+/* The MIPS architectures do not have a uniform memo
                                            ^                                  
    GR_Arg       = FR_Arg        // get arument as double (int64) \n fma.s0     
    GR_Arg       = FR_Arg        // get argument as double (int64) \n fma.s0    
                                          ^                                    
iased exponent and significand of input argment. \n //                          
iased exponent and significand of input argument. \n //                         
                                           ^                                   
     FR_R3,FR_R2 = [GR_ad_RootCo] \n-// argumenth for logarithm \n (p10) fma.s1 
     FR_R3,FR_R2 = [GR_ad_RootCo] \n+// arguments for logarithm \n (p10) fma.s1 
                                                ^                              
e pathname of the pseudo terminal slave assoicated with \n the master FD is open
e pathname of the pseudo terminal slave associated with \n the master FD is open
                                            ^^                                 
e pathname of the pseudo terminal slave assoicated with \n the master FD is open
e pathname of the pseudo terminal slave associated with \n the master FD is open
                                            ^^                                 
e pathname of the pseudo terminal slave assoicated with \n the master FD is open
e pathname of the pseudo terminal slave associated with \n the master FD is open
                                            ^^                                 
                          else \n-/* We assyme 64bits.  */ \n # define WORD_WIDT
                          else \n+/* We assume 64bits.  */ \n # define WORD_WIDT
                                           ^                                   
n"), obj->li_name); \n-/* XXX Print the attributs here, if they exists */ \n }  
n"), obj->li_name); \n+/* XXX Print the attributes here, if they exists */ \n } 
                                                ^                              
ne DN_ATTRIB 0x00000020 /* File changed attibutes.  */ \n # define DN_MULTISHOT 
ne DN_ATTRIB 0x00000020 /* File changed attributes.  */ \n # define DN_MULTISHOT
                                           ^                                   
ine DF_1_GLOBAUDIT 0x01000000 /* Global auditin required.  */ \n #define DF_1_SI
ine DF_1_GLOBAUDIT 0x01000000 /* Global auditing required.  */ \n #define DF_1_S
                                               ^                               
erminated), envp (likewise), \n-and the auxilary vector.  */ \n /* 32/64-bit agn
erminated), envp (likewise), \n+and the auxiliary vector.  */ \n /* 32/64-bit ag
                                             ^                                 
r memory/string routines \n-if they are avaiable, otherwise it prefers integer \
r memory/string routines \n+if they are available, otherwise it prefers integer 
                                            ^                                  
in name. \n-* 'msg' is a pointer to the begining of the message, \n * 'eomorig' 
in name. \n+* 'msg' is a pointer to the beginning of the message, \n * 'eomorig'
                                            ^^                                 
 field is the fifth field from the \n-* begining of the RPC header. MUST be chan
 field is the fifth field from the \n+* beginning of the RPC header. MUST be cha
                                            ^^                                 
umber field is the  field from the \n-* begining of the RPC header. MUST be chan
umber field is the  field from the \n+* beginning of the RPC header. MUST be cha
                                            ^^                                 
 field is the fifth field from the \n-* begining of the RPC header. MUST be chan
 field is the fifth field from the \n+* beginning of the RPC header. MUST be cha
                                            ^^                                 
umber field is the  field from the \n-* begining of the RPC header. MUST be chan
umber field is the  field from the \n+* beginning of the RPC header. MUST be cha
                                            ^^                                 
 field is the fifth field from the \n-* begining of the RPC header. MUST be chan
 field is the fifth field from the \n+* beginning of the RPC header. MUST be cha
                                            ^^                                 
umber field is the  field from the \n-* begining of the RPC header. MUST be chan
umber field is the  field from the \n+* beginning of the RPC header. MUST be cha
                                            ^^                                 
4       = FR_l_B16, FR_l_Z2, FR_l_B14// bernulli tail \n nop.i         0        
4       = FR_l_B16, FR_l_Z2, FR_l_B14// Bernoulli tail \n nop.i         0       
                                        ^   ^                                  
2        = FR_l_B4, FR_l_Z2, FR_l_B2 // bernulli tail \n nop.i         0        
2        = FR_l_B4, FR_l_Z2, FR_l_B2 // Bernoulli tail \n nop.i         0       
                                        ^   ^                                  
6        = FR_l_B8, FR_l_Z2, FR_l_B6 // bernulli tail \n nop.i         0        
6        = FR_l_B8, FR_l_Z2, FR_l_B6 // Bernoulli tail \n nop.i         0       
                                        ^   ^                                  
0       = FR_l_B12, FR_l_Z2, FR_l_B10// bernulli tail \n nop.i         0        
0       = FR_l_B12, FR_l_Z2, FR_l_B10// Bernoulli tail \n nop.i         0       
                                        ^   ^                                  
        = FR_l_B10, FR_l_Z8, FR_l_B2 // bernulli tail \n nop.i         0        
        = FR_l_B10, FR_l_Z8, FR_l_B2 // Bernoulli tail \n nop.i         0       
                                        ^   ^                                  
    \n-/* This means interfaces changed inbetween the reading of the \n RTM_GETL
    \n+/* This means interfaces changed between the reading of the \n RTM_GETLIN
                                       ^^                                      
ain code points with \n-*   conflicting bidirection category. \n * @STRINGPREP_B
ain code points with \n+*   conflicting bidirectional category. \n * @STRINGPREP
                                                   ^^                          
    \n-Chunks always begin on even word boundries, so the mem portion \n (which 
    \n+Chunks always begin on even word boundaries, so the mem portion \n (which
                                             ^                                 
 + r*A7)), \n-//   all coefficients are calcutated in quad and rounded to double
 + r*A7)), \n+//   all coefficients are calculated in quad and rounded to double
                                             ^                                 
 + r*A7)), \n-//   all coefficients are calcutated in quad and rounded to double
 + r*A7)), \n+//   all coefficients are calculated in quad and rounded to double
                                             ^                                 
= FR_P3,FR_r,FR_P2 \n-// input argument cann't be equal to 1.0 \n cmp.eq        
= FR_P3,FR_r,FR_P2 \n+// input argument can't be equal to 1.0 \n cmp.eq        p
                                         ^ ^                                   
uf_base = fp->_IO_buf_end = NULL; \n-/* Cancelling close should be avoided if po
uf_base = fp->_IO_buf_end = NULL; \n+/* Canceling close should be avoided if pos
                                            ^ ^                                
                                  \n-/* Cancelling close should be avoided if po
                                  \n+/* Canceling close should be avoided if pos
                                            ^ ^                                
                         { \n-/* We are cancelling ourselves, so it is easy to s
                         { \n+/* We are canceling ourselves, so it is easy to su
                                            ^ ^                                
n, the first long option is \n-indented slighly in a way that's supposed to make
n, the first long option is \n+indented slightly in a way that's supposed to mak
                                             ^                                 
diff --git a/argp/argp-help.c b/argp/argp-help.c
index 53702e3..ace71b4 100644
--- a/argp/argp-help.c
+++ b/argp/argp-help.c
@@ -275,11 +275,11 @@ fill_in_uparams (const struct argp_state *state)
      -xARG, -yARG, --long1=ARG, --long2=ARG        Documentation...
 
    Where ARG will be omitted if there's no argument, for this option, or
-   will be surrounded by "[" and "]" appropiately if the argument is
-   optional.  The documentation string is word-wrapped appropiately, and if
+   will be surrounded by "[" and "]" appropriately if the argument is
+   optional.  The documentation string is word-wrapped appropriately, and if
    the list of options is long enough, it will be started on a separate line.
    If there are no short options for a given option, the first long option is
-   indented slighly in a way that's supposed to make most long options appear
+   indented slightly in a way that's supposed to make most long options appear
    to be in a separate column.
 
    For example, the following output (from ps):
diff --git a/argp/argp-parse.c b/argp/argp-parse.c
index f68ebab..3051be1 100644
--- a/argp/argp-parse.c
+++ b/argp/argp-parse.c
@@ -410,7 +410,7 @@ convert_options (const struct argp *argp,
   return group;
 }
 
-/* Find the merged set of getopt options, with keys appropiately prefixed. */
+/* Find the merged set of getopt options, with keys appropriately prefixed. */
 static void
 parser_convert (struct parser *parser, const struct argp *argp, int flags)
 {
diff --git a/argp/argp-help.c b/argp/argp-help.c
index 53702e3..ace71b4 100644
--- a/argp/argp-help.c
+++ b/argp/argp-help.c
@@ -998,7 +998,7 @@ filter_doc (const char *doc, int key, const struct argp *argp,
     return doc;
 }
 
-/* Prints STR as a header line, with the margin lines set appropiately, and
+/* Prints STR as a header line, with the margin lines set appropriately, and
    notes the fact that groups should be separated with a blank line.  ARGP is
    the argp that should dictate any user doc filtering to take place.  Note
    that the previous wrap margin isn't restored, but the left margin is reset
diff --git a/argp/argp-help.c b/argp/argp-help.c
index 53702e3..ace71b4 100644
--- a/argp/argp-help.c
+++ b/argp/argp-help.c
@@ -160,7 +160,7 @@ static const struct uparam_name uparam_names[] =
 };
 #define nuparam_names (sizeof (uparam_names) / sizeof (uparam_names[0]))
 
-/* Read user options from the environment, and fill in UPARAMS appropiately.  */
+/* Read user options from the environment, and fill in UPARAMS appropriately.  */
 static void
 fill_in_uparams (const struct argp_state *state)
 {
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 95c87a4..185433a 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1334,7 +1334,7 @@ LOCAL_OBJECT_END(lgammal_near_neg_half_data)
 //!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 LOCAL_OBJECT_START(lgammal_right_roots_polynomial_data)
 // Polynomial coefficients for right root on [-3, -2]
-// Lgammal is aproximated by polynomial within [-.056244 ; .158208 ] range
+// Lgammal is approximated by polynomial within [-.056244 ; .158208 ] range
 data8 0xBBBD5E9DCD11030B, 0xB867411D9FF87DD4 //A0
 data8 0x3FF83FE966AF535E, 0x3CAA21235B8A769A //A1
 data8 0x40136EEBB002F55C, 0x3CC3959A6029838E //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 95c87a4..185433a 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1510,7 +1510,7 @@ data8 0x534E00B6B0C8B809 //A17
 data8 0x5475022FE21215B2 //A18
 data8 0x5596B02BF6C5E19B //A19
 // Polynomial coefficients for right root on [-11, -10]
-// Lgammal is aproximated by polynomial within [-.154151 ; .154151 ] range
+// Lgammal is approximated by polynomial within [-.154151 ; .154151 ] range
 data8 0x3D7AA9C2E2B1029C, 0x3A15FB37578544DB //A0
 data8 0x414BAF825A0C91D4, 0x3DFB9DA2CE398747 //A1
 data8 0x4297F3EC8AE0AF03, 0x3F34208B55FB8781 //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 95c87a4..185433a 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1532,7 +1532,7 @@ data8 0x56D4D10FEEDB030C //A17
 data8 0x5832385DF86AD28A //A18
 data8 0x598898914B4D6523 //A19
 // Polynomial coefficients for right root on [-12, -11]
-// Lgammal is aproximated by polynomial within [-.154151 ; .154151 ] range
+// Lgammal is approximated by polynomial within [-.154151 ; .154151 ] range
 data8 0xBD96F61647C58B03, 0xBA3ABB0C2A6C755B //A0
 data8 0x418308A82714B70D, 0x3E1088FC6A104C39 //A1
 data8 0x4306A493DD613C39, 0x3FB2341ECBF85741 //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 95c87a4..185433a 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1554,7 +1554,7 @@ data8 0x5A824088688B008D //A17
 data8 0x5C15F75EF7E08EBD //A18
 data8 0x5DA462EA902F0C90 //A19
 // Polynomial coefficients for right root on [-13, -12]
-// Lgammal is aproximated by polynomial within [-.154151 ; .154151 ] range
+// Lgammal is approximated by polynomial within [-.154151 ; .154151 ] range
 data8 0x3DC3191752ACFC9D, 0x3A26CB6629532DBF //A0
 data8 0x41BC8CFC051191BD, 0x3E68A84DA4E62AF2 //A1
 data8 0x43797926294A0148, 0x400F345FF3723CFF //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 95c87a4..185433a 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1576,7 +1576,7 @@ data8 0x5E518FC34C6F54EF //A17
 data8 0x601FB3F17BCCD9A0 //A18
 data8 0x61E61128D512FE97 //A1
 // Polynomial coefficients for right root on [-14, -13]
-// Lgammal is aproximated by polynomial within [-.154151 ; .154151 ] range
+// Lgammal is approximated by polynomial within [-.154151 ; .154151 ] range
 data8 0xBE170D646421B3F5, 0xBAAD95F79FCB5097 //A0
 data8 0x41F7328CBFCD9AC7, 0x3E743B8B1E8AEDB1 //A1
 data8 0x43F0D0FA2DBDA237, 0x40A0422D6A227B55 //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 95c87a4..185433a 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1598,7 +1598,7 @@ data8 0x6240787C4B1C9D6C //A17
 data8 0x6448289235E80977 //A18
 data8 0x664B5352C6C3449E //A19
 // Polynomial coefficients for right root on [-15, -14]
-// Lgammal is aproximated by polynomial within [-.154151 ; .154151 ] range
+// Lgammal is approximated by polynomial within [-.154151 ; .154151 ] range
 data8 0x3E562C2E34A9207D, 0x3ADC00DA3DFF7A83 //A0
 data8 0x42344C3B2F0D90AB, 0x3EB8A2E979F24536 //A1
 data8 0x4469BFFF28B50D07, 0x41181E3D05C1C294 //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 95c87a4..185433a 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1620,7 +1620,7 @@ data8 0x664B3998D60D0F9B //A17
 data8 0x689178710782FA8B //A18
 data8 0x6AD14A66C1C7BEC3 //A19
 // Polynomial coefficients for right root on [-16, -15]
-// Lgammal is aproximated by polynomial within [-.154151 ; .154151 ] range
+// Lgammal is approximated by polynomial within [-.154151 ; .154151 ] range
 data8 0xBE6D7E7192615BAE, 0xBB0137677D7CC719 //A0
 data8 0x4273077763F6628C, 0x3F09250FB8FC8EC9 //A1
 data8 0x44E6A1BF095B1AB3, 0x4178D5A74F6CB3B3 //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 95c87a4..185433a 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1642,7 +1642,7 @@ data8 0x6A722D2B19B7E2F9 //A17
 data8 0x6CF5DEB3073B0743 //A18
 data8 0x6F744AC11550B93A //A19
 // Polynomial coefficients for right root on [-17, -16]
-// Lgammal is aproximated by polynomial within [-.154151 ; .154151 ] range
+// Lgammal is approximated by polynomial within [-.154151 ; .154151 ] range
 data8 0xBEDCC6291188207E, 0xBB872E3FDD48F5B7 //A0
 data8 0x42B3076EE7525EF9, 0x3F6687A5038CA81C //A1
 data8 0x4566A1AAD96EBCB5, 0x421F0FEDFBF548D2 //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 95c87a4..185433a 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1664,7 +1664,7 @@ data8 0x6EB22C9807C21819 //A17
 data8 0x7175DE20D04617C4 //A18
 data8 0x74344AB87C6D655F //A19
 // Polynomial coefficients for right root on [-18, -17]
-// Lgammal is aproximated by polynomial within [-.154151 ; .154151 ] range
+// Lgammal is approximated by polynomial within [-.154151 ; .154151 ] range
 data8 0xBF28AEEE7B61D77C, 0xBBDBBB5FC57ABF79 //A0
 data8 0x42F436F56B3B8A0C, 0x3FA43EE3C5C576E9 //A1
 data8 0x45E98A22535D115D, 0x42984678BE78CC48 //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 95c87a4..185433a 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1686,7 +1686,7 @@ data8 0x730962B4500F4A61 //A17
 data8 0x76103C6ED099192A //A18
 data8 0x79100C7132CFD6E3 //A19
 // Polynomial coefficients for right root on [-19, -18]
-// Lgammal is aproximated by polynomial within [-.154151 ; .154151 ] range
+// Lgammal is approximated by polynomial within [-.154151 ; .154151 ] range
 data8 0x3F3C19A53328A0C3, 0x3BE04ADC3FBE1458 //A0
 data8 0x4336C16C16C16C19, 0x3FE58CE3AC4A7C28 //A1
 data8 0x46702E85C0898B70, 0x432C922E412CEC6E //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 95c87a4..185433a 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1708,7 +1708,7 @@ data8 0x7777C401A8715CF9 //A17
 data8 0x7AC1110C6D350440 //A18
 data8 0x7E02D0971CF84865 //A19
 // Polynomial coefficients for right root on [-20, -19]
-// Lgammal is aproximated by polynomial within [-.154151 ; .154151 ] range
+// Lgammal is approximated by polynomial within [-.154151 ; .154151 ] range
 data8 0xBFAB767F9BE21803, 0xBC5ACEF5BB1BD8B5 //A0
 data8 0x4379999999999999, 0x4029241C7F5914C8 //A1
 data8 0x46F47AE147AE147A, 0x43AC2979B64B9D7E //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 95c87a4..185433a 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1488,7 +1488,7 @@ data8 0x4FF03797EACD0F23 //A17
 data8 0x50E4304A8E68A730 //A18
 data8 0x51D3618FB2EC9F93 //A19
 // Polynomial coefficients for right root on [-10, -9]
-// Lgammal is aproximated by polynomial within [-.154152 ; .154152 ] range
+// Lgammal is approximated by polynomial within [-.154152 ; .154152 ] range
 data8 0x3D42F34DA97ECF0C, 0x39FD1256F345B0D0 //A0
 data8 0x4116261203919787, 0x3DC12D44055588EB //A1
 data8 0x422EA8F32FB7FE99, 0x3ED849CE4E7B2D77 //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 95c87a4..185433a 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1466,7 +1466,7 @@ data8 0x4CC05021086F637B //A17
 data8 0x4D8450A345B0FB49 //A18
 data8 0x4E43825848865DB2 //A19
 // Polynomial coefficients for right root on [-9, -8]
-// Lgammal is aproximated by polynomial within [-.154160 ; .154158 ] range
+// Lgammal is approximated by polynomial within [-.154160 ; .154158 ] range
 data8 0x3CDF4358564F2B46, 0x397969BEE6042F81 //A0
 data8 0x40E3B088FED67721, 0x3D82787BA937EE85 //A1
 data8 0x41C83A3893550EF4, 0x3E542ED57E244DA8 //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 95c87a4..185433a 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1444,7 +1444,7 @@ data8 0x49C47CC9AE3F1073 //A17
 data8 0x4A5D38E8C35EFF45 //A18
 data8 0x4AF0123E89694CD8 //A19
 // Polynomial coefficients for right root on [-8, -7]
-// Lgammal is aproximated by polynomial within [-.154217 ; .154208 ] range
+// Lgammal is approximated by polynomial within [-.154217 ; .154208 ] range
 data8 0xBCD2507D818DDD68, 0xB97F6940EA2871A0 //A0
 data8 0x40B3B407AA387BCB, 0x3D6320238F2C43D1 //A1
 data8 0x41683E85DAAFBAC7, 0x3E148D085958EA3A //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 95c87a4..185433a 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1422,7 +1422,7 @@ data8 0x4709D045390A3810 //A17
 data8 0x4778D360873C9F64 //A18
 data8 0x47E26965BE9A682A //A19
 // Polynomial coefficients for right root on [-7, -6]
-// Lgammal is aproximated by polynomial within [-.154582 ; .154521 ] range
+// Lgammal is approximated by polynomial within [-.154582 ; .154521 ] range
 data8 0x3C75F103A1B00A48, 0x391C041C190C726D //A0
 data8 0x40869DE49E3AF2AA, 0x3D1C17E1F813063B //A1
 data8 0x410FCE23484CFD10, 0x3DB6F38C2F11DAB9 //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 95c87a4..185433a 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1400,7 +1400,7 @@ data8 0x44A3507DA81D5C01 //A17
 data8 0x44EF06A31E39EEDF //A18
 data8 0x45333774C99F523F //A19
 // Polynomial coefficients for right root on [-6, -5]
-// Lgammal is aproximated by polynomial within [-.156450 ; .156126 ] range
+// Lgammal is approximated by polynomial within [-.156450 ; .156126 ] range
 data8 0x3C71B82D6B2B3304, 0x3917186E3C0DC231 //A0
 data8 0x405ED72E0829AE02, 0x3C960C25157980EB //A1
 data8 0x40BCECC32EC22F9B, 0x3D5D8335A32F019C //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 95c87a4..185433a 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1378,7 +1378,7 @@ data8 0x42A7256F59B286F7 //A17
 data8 0x42D462D1586DE61F //A18
 data8 0x42FBB1228D6C5118 //A19
 // Polynomial coefficients for right root on [-5, -4]
-// Lgammal is aproximated by polynomial within [-.163171 ; .161988 ] range
+// Lgammal is approximated by polynomial within [-.163171 ; .161988 ] range
 data8 0x3C5840FBAFDEE5BB, 0x38CAC0336E8C490A //A0
 data8 0x403ACA5CF4921642, 0x3CCEDCDDA5491E56 //A1
 data8 0x40744415CD813F8E, 0x3CFBFEBC17E39146 //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 95c87a4..185433a 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1356,7 +1356,7 @@ data8 0x40E0FB2C989CE4A3 //A17
 data8 0x40E52739AB005641 //A18
 data8 0x41161E3E6DDF503A //A19
 // Polynomial coefficients for right root on [-4, -3]
-// Lgammal is aproximated by polynomial within [-.172797 ; .171573 ] range
+// Lgammal is approximated by polynomial within [-.172797 ; .171573 ] range
 data8 0x3C172712B248E42E, 0x38CB8D17801A5D67 //A0
 data8 0x401F20A65F2FAC54, 0x3CCB9EA1817A824E //A1
 data8 0x4039D4D2977150EF, 0x3CDA42E149B6276A //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 95c87a4..185433a 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1733,7 +1733,7 @@ LOCAL_OBJECT_END(lgammal_right_roots_polynomial_data)
 
 LOCAL_OBJECT_START(lgammal_left_roots_polynomial_data)
 // Polynomial coefficients for left root on [-3, -2]
-// Lgammal is aproximated by polynomial within [.084641 ; -.059553 ] range
+// Lgammal is approximated by polynomial within [.084641 ; -.059553 ] range
 data8 0xBC0844590979B82E, 0xB8BC7CE8CE2ECC3B //A0
 data8 0xBFFEA12DA904B18C, 0xBC91A6B2BAD5EF6E //A1
 data8 0x4023267F3C265A51, 0x3CD7055481D03AED //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 95c87a4..185433a 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1756,7 +1756,7 @@ data8 0x41EA727E3033E2D9 //A18
 data8 0xC20812C297729142 //A19
 //
 // Polynomial coefficients for left root on [-4, -3]
-// Lgammal is aproximated by polynomial within [.147147 ; -.145158 ] range
+// Lgammal is approximated by polynomial within [.147147 ; -.145158 ] range
 data8 0xBC3130AE5C4F54DB, 0xB8ED23294C13398A //A0
 data8 0xC034B99D966C5646, 0xBCE2E5FE3BC3DBB9 //A1
 data8 0x406F76DEAE0436BD, 0x3D14974DDEC057BD //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 95c87a4..185433a 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1778,7 +1778,7 @@ data8 0xC471C4421E908C3A //A17
 data8 0x44B92CD4D59D6D17 //A18
 data8 0xC4FB3A078B5247FA //A19
 // Polynomial coefficients for left root on [-5, -4]
-// Lgammal is aproximated by polynomial within [.155671 ; -.155300 ] range
+// Lgammal is approximated by polynomial within [.155671 ; -.155300 ] range
 data8 0xBC57BF3C6E8A94C1, 0xB902FB666934AC9E //A0
 data8 0xC05D224A3EF9E41F, 0xBCF6F5713913E440 //A1
 data8 0x40BB533C678A3955, 0x3D688E53E3C72538 //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 95c87a4..185433a 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1800,7 +1800,7 @@ data8 0xC6FFDDC6DD938E2E //A17
 data8 0x476DD7C07184B9F9 //A18
 data8 0xC7D554A30085C052 //A19
 // Polynomial coefficients for left root on [-6, -5]
-// Lgammal is aproximated by polynomial within [.157425 ; -.157360 ] range
+// Lgammal is approximated by polynomial within [.157425 ; -.157360 ] range
 data8 0x3C9E20A87C8B79F1, 0x39488BE34B2427DB //A0
 data8 0xC08661F6A43A5E12, 0xBD3D912526D759CC //A1
 data8 0x410F79DCB794F270, 0x3DB9BEE7CD3C1BF5 //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 95c87a4..185433a 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1822,7 +1822,7 @@ data8 0xC9C2C6A864521F3A //A17
 data8 0x4A5AB127C62E8DA1 //A18
 data8 0xCAECF60EF3183C57 //A19
 // Polynomial coefficients for left root on [-7, -6]
-// Lgammal is aproximated by polynomial within [.157749 ; -.157739 ] range
+// Lgammal is approximated by polynomial within [.157749 ; -.157739 ] range
 data8 0x3CC9B9E8B8D551D6, 0x3961813C8E1E10DB //A0
 data8 0xC0B3ABF7A5CEA91F, 0xBD55638D4BCB4CC4 //A1
 data8 0x4168349A25504236, 0x3E0287ECE50CCF76 //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 95c87a4..185433a 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1844,7 +1844,7 @@ data8 0xCCC01CB3021212FF //A17
 data8 0x4D841613AC3431D1 //A18
 data8 0xCE431C9E9EE43AD9 //A19
 // Polynomial coefficients for left root on [-8, -7]
-// Lgammal is aproximated by polynomial within [.157799 ; -.157798 ] range
+// Lgammal is approximated by polynomial within [.157799 ; -.157798 ] range
 data8 0xBCF9C7A33AD9478C, 0xB995B0470F11E5ED //A0
 data8 0xC0E3AF76FE4C2F8B, 0xBD8DBCD503250511 //A1
 data8 0x41C838E76CAAF0D5, 0x3E5D79F5E2E069C3 //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 95c87a4..185433a 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1866,7 +1866,7 @@ data8 0xCFF0351B51508523 //A17
 data8 0x50E4364CCBF53100 //A18
 data8 0xD1D33CFD0BF96FA6 //A19
 // Polynomial coefficients for left root on [-9, -8]
-// Lgammal is aproximated by polynomial within [.157806 ; -.157806 ] range
+// Lgammal is approximated by polynomial within [.157806 ; -.157806 ] range
 data8 0x3D333E4438B1B9D4, 0x39E7B956B83964C1 //A0
 data8 0xC11625EDFC63DCD8, 0xBDCF39625709EFAC //A1
 data8 0x422EA8C150480F16, 0x3EC16ED908AB7EDD //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 95c87a4..185433a 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1888,7 +1888,7 @@ data8 0xD34E085C088404A5 //A17
 data8 0x547511892FF8960E //A18
 data8 0xD5968FA3B1ED67A9 //A19
 // Polynomial coefficients for left root on [-10, -9]
-// Lgammal is aproximated by polynomial within [.157807 ; -.157807 ] range
+// Lgammal is approximated by polynomial within [.157807 ; -.157807 ] range
 data8 0xBD355818A2B42BA2, 0xB9B7320B6A0D61EA //A0
 data8 0xC14BAF7DA5F3770E, 0xBDE64AF9A868F719 //A1
 data8 0x4297F3E8791F9CD3, 0x3F2A553E59B4835E //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 95c87a4..185433a 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1910,7 +1910,7 @@ data8 0xD6D4D760074F6E6B //A17
 data8 0x5832469D58ED3FA9 //A18
 data8 0xD988769F3DC76642 //A19
 // Polynomial coefficients for left root on [-11, -10]
-// Lgammal is aproximated by polynomial within [.157807 ; -.157807 ] range
+// Lgammal is approximated by polynomial within [.157807 ; -.157807 ] range
 data8 0xBDA050601F39778A, 0xBA0D4D1CE53E8241 //A0
 data8 0xC18308A7D8EA4039, 0xBE370C379D3EAD41 //A1
 data8 0x4306A49380644E6C, 0x3FBBB143C0E7B5C8 //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 95c87a4..185433a 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1932,7 +1932,7 @@ data8 0xDA8246294D210BEC //A17
 data8 0x5C1608AAC32C3A8E //A18
 data8 0xDDA446E570A397D5 //A19
 // Polynomial coefficients for left root on [-12, -11]
-// Lgammal is aproximated by polynomial within [.157807 ; -.157807 ] range
+// Lgammal is approximated by polynomial within [.157807 ; -.157807 ] range
 data8 0x3DEACBB3081C502E, 0x3A8AA6F01DEDF745 //A0
 data8 0xC1BC8CFBFB0A9912, 0xBE6556B6504A2AE6 //A1
 data8 0x43797926206941D7, 0x40289A9644C2A216 //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 95c87a4..185433a 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1954,7 +1954,7 @@ data8 0xDE51952FDFD1EC49 //A17
 data8 0x601FCCEC1BBD25F1 //A18
 data8 0xE1E5F2D76B610920 //A19
 // Polynomial coefficients for left root on [-13, -12]
-// Lgammal is aproximated by polynomial within [.157807 ; -.157807 ] range
+// Lgammal is approximated by polynomial within [.157807 ; -.157807 ] range
 data8 0xBE01612F373268ED, 0xBA97B7A18CDF103B //A0
 data8 0xC1F7328CBF7A4FAC, 0xBE89A25A6952F481 //A1
 data8 0x43F0D0FA2DBDA237, 0x40A0422EC1CE6084 //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 95c87a4..185433a 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1976,7 +1976,7 @@ data8 0xE2407D92CD613E82 //A17
 data8 0x64483B9B62367EB7 //A18
 data8 0xE64B2DC830E8A799 //A1
 // Polynomial coefficients for left root on [-14, -13]
-// Lgammal is aproximated by polynomial within [.157807 ; -.157807 ] range
+// Lgammal is approximated by polynomial within [.157807 ; -.157807 ] range
 data8 0x3E563D0B930B371F, 0x3AE779957E14F012 //A0
 data8 0xC2344C3B2F083767, 0xBEC0B7769AA3DD66 //A1
 data8 0x4469BFFF28B50D07, 0x41181E3F13ED2401 //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 95c87a4..185433a 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1998,7 +1998,7 @@ data8 0xE64B4201CDF9F138 //A17
 data8 0x689186351E58AA88 //A18
 data8 0xEAD132A585DFC60A //A19
 // Polynomial coefficients for left root on [-15, -14]
-// Lgammal is aproximated by polynomial within [.157807 ; -.157807 ] range
+// Lgammal is approximated by polynomial within [.157807 ; -.157807 ] range
 data8 0xBE6D7DDE12700AC1, 0xBB1E025BF1667FB5 //A0
 data8 0xC273077763F60AD5, 0xBF2A1698184C7A9A //A1
 data8 0x44E6A1BF095B1AB3, 0x4178D5AE8A4A2874 //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 95c87a4..185433a 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -2020,7 +2020,7 @@ data8 0xEA7232C8804F32C3 //A17
 data8 0x6CF5EFEE929A0928 //A18
 data8 0xEF742EE03EC3E8FF //A19
 // Polynomial coefficients for left root on [-16, -15]
-// Lgammal is aproximated by polynomial within [.157807 ; -.157807 ] range
+// Lgammal is approximated by polynomial within [.157807 ; -.157807 ] range
 data8 0xBEDCC628FEAC7A1B, 0xBB80582C8BEBB198 //A0
 data8 0xC2B3076EE752595E, 0xBF5388F55AFAE53E //A1
 data8 0x4566A1AAD96EBCB5, 0x421F0FEFE2444293 //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 95c87a4..185433a 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -2042,7 +2042,7 @@ data8 0xEEB23234FE191D55 //A17
 data8 0x7175EF5D1080B105 //A18
 data8 0xF4342ED7B1B7BE31 //A19
 // Polynomial coefficients for left root on [-17, -16]
-// Lgammal is aproximated by polynomial within [.157807 ; -.157807 ] range
+// Lgammal is approximated by polynomial within [.157807 ; -.157807 ] range
 data8 0xBF28AEEE7B58C790, 0xBBC4448DE371FA0A //A0
 data8 0xC2F436F56B3B89B1, 0xBF636755245AC63A //A1
 data8 0x45E98A22535D115D, 0x4298467DA93DB784 //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 95c87a4..185433a 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -2064,7 +2064,7 @@ data8 0xF3096A81A69BD8AE //A17
 data8 0x76104951BAD67D5C //A18
 data8 0xF90FECC99786FD5B //A19
 // Polynomial coefficients for left root on [-18, -17]
-// Lgammal is aproximated by polynomial within [.157807 ; -.157807 ] range
+// Lgammal is approximated by polynomial within [.157807 ; -.157807 ] range
 data8 0x3F3C19A53328E26A, 0x3BE238D7BA036B3B //A0
 data8 0xC336C16C16C16C13, 0xBFEACE245DEC56F3 //A1
 data8 0x46702E85C0898B70, 0x432C922B64FD1DA4 //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 95c87a4..185433a 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -2086,7 +2086,7 @@ data8 0xF777CB6E2B550D73 //A17
 data8 0x7AC11E468A134A51 //A18
 data8 0xFE02B6BDD0FC40AA //A19
 // Polynomial coefficients for left root on [-19, -18]
-// Lgammal is aproximated by polynomial within [.157807 ; -.157807 ] range
+// Lgammal is approximated by polynomial within [.157807 ; -.157807 ] range
 data8 0xBFAB767F9BE217FC, 0xBC4A5541CE0D8D0D //A0
 data8 0xC379999999999999, 0xC01A84981B490BE8 //A1
 data8 0x46F47AE147AE147A, 0x43AC2987BBC466EB //A2
diff --git a/ports/sysdeps/ia64/fpu/e_acoshl.S b/ports/sysdeps/ia64/fpu/e_acoshl.S
index 1ce292c..71f899e 100644
--- a/ports/sysdeps/ia64/fpu/e_acoshl.S
+++ b/ports/sysdeps/ia64/fpu/e_acoshl.S
@@ -249,7 +249,7 @@
 RODATA
 .align 64
 
-// Near 1 path rational aproximation coefficients
+// Near 1 path rational approximation coefficients
 LOCAL_OBJECT_START(Poly_P)
 data8 0xB0978143F695D40F, 0x3FF1  // .84205539791447100108478906277453574946e-4
 data8 0xB9800D841A8CAD29, 0x3FF6  // .28305085180397409672905983082168721069e-2
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S b/sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
index 989899e..6330780 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
@@ -23,7 +23,7 @@
    and if appropriate:
      __CONTEXT_ENABLE_FPRS
      __CONTEXT_ENABLE_VRS
-   Any archecture that implements the Vector unit is assumed to also
+   Any architecture that implements the Vector unit is assumed to also
    implement the floating unit.  */
 
 /* Stack frame offsets.  */
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S b/sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
index 900ce04..bedebf0 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
@@ -23,7 +23,7 @@
    and if appropriate:
      __CONTEXT_ENABLE_FPRS
      __CONTEXT_ENABLE_VRS
-   Any archecture that implements the Vector unit is assumed to also
+   Any architecture that implements the Vector unit is assumed to also
    implement the floating unit.  */
 
 /* Stack frame offsets.  */
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S b/sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
index 77e47a7..21c2e1f 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
@@ -23,7 +23,7 @@
    and if appropriate:
      __CONTEXT_ENABLE_FPRS
      __CONTEXT_ENABLE_VRS
-   Any archecture that implements the Vector unit is assumed to also
+   Any architecture that implements the Vector unit is assumed to also
    implement the floating unit.  */
 
 /* Stack frame offsets.  */
diff --git a/ports/sysdeps/mips/sys/asm.h b/ports/sysdeps/mips/sys/asm.h
index 293cf36..c0ff80a 100644
--- a/ports/sysdeps/mips/sys/asm.h
+++ b/ports/sysdeps/mips/sys/asm.h
@@ -472,7 +472,7 @@ symbol		=	value
 # define MTC0	dmtc0
 #endif
 
-/* The MIPS archtectures do not have a uniform memory model.  Particular
+/* The MIPS architectures do not have a uniform memory model.  Particular
    platforms may provide additional guarantees - for instance, the R4000
    LL and SC instructions implicitly perform a SYNC, and the 4K promises
    strong ordering.
diff --git a/ports/sysdeps/ia64/fpu/e_acoshl.S b/ports/sysdeps/ia64/fpu/e_acoshl.S
index 1ce292c..71f899e 100644
--- a/ports/sysdeps/ia64/fpu/e_acoshl.S
+++ b/ports/sysdeps/ia64/fpu/e_acoshl.S
@@ -655,7 +655,7 @@ GLOBAL_LIBM_ENTRY(acoshl)
 };;
 
 { .mfi
-      getf.d     GR_Arg       = FR_Arg        // get arument as double (int64)
+      getf.d     GR_Arg       = FR_Arg        // get argument as double (int64)
       fma.s0        FR_Two       = f1, f1, f1    // construct 2.0
       addl       GR_ad_z_1    = @ltoff(Constants_Z_1#),gp // logl tables
 }
diff --git a/ports/sysdeps/ia64/fpu/e_logf.S b/ports/sysdeps/ia64/fpu/e_logf.S
index 3d11a29..885082f 100644
--- a/ports/sysdeps/ia64/fpu/e_logf.S
+++ b/ports/sysdeps/ia64/fpu/e_logf.S
@@ -159,7 +159,7 @@
 //
 // 3. How we define is input argument such that |x-1| < 1/256 or not.
 //
-//    To do it we analyze biased exponent and significand of input argment.
+//    To do it we analyze biased exponent and significand of input argument.
 //
 //      a) First we test is biased exponent equal to 0xFFFE or 0xFFFF (i.e.
 //         we test is 0.5 <= x < 2). This comparison can be performed using
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammaf.S b/ports/sysdeps/ia64/fpu/libm_lgammaf.S
index 4bd92c3..7218911 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammaf.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammaf.S
@@ -1456,7 +1456,7 @@ lgammaf_negrecursion:
       // load coefficients of polynomial approximation
       // of ln(GAMMA(x)), x is close to one of negative roots
 (p13) ldfpd         FR_R3,FR_R2 = [GR_ad_RootCo]
-      // argumenth for logarithm
+      // arguments for logarithm
 (p10) fma.s1        FR_Req = FR_Req,FR_Xp2,f0
       mov           GR_ExpMask = 0x1ffff
 }
diff --git a/stdlib/stdlib.h b/stdlib/stdlib.h
index 99a830d..813da19 100644
--- a/stdlib/stdlib.h
+++ b/stdlib/stdlib.h
@@ -927,7 +927,7 @@ extern int grantpt (int __fd) __THROW;
    Call after grantpt().  */
 extern int unlockpt (int __fd) __THROW;
 
-/* Return the pathname of the pseudo terminal slave assoicated with
+/* Return the pathname of the pseudo terminal slave associated with
    the master FD is open on, or NULL on errors.
    The returned storage is good until the next call to this function.  */
 extern char *ptsname (int __fd) __THROW __wur;
diff --git a/sysdeps/unix/bsd/ptsname.c b/sysdeps/unix/bsd/ptsname.c
index 3b22a8c..60e38d7 100644
--- a/sysdeps/unix/bsd/ptsname.c
+++ b/sysdeps/unix/bsd/ptsname.c
@@ -26,7 +26,7 @@
 static char buffer[sizeof (_PATH_TTY) + 2];
 
 
-/* Return the pathname of the pseudo terminal slave assoicated with
+/* Return the pathname of the pseudo terminal slave associated with
    the master FD is open on, or NULL on errors.
    The returned storage is good until the next call to this function.  */
 char *
diff --git a/sysdeps/unix/sysv/linux/ptsname.c b/sysdeps/unix/sysv/linux/ptsname.c
index ea6f0fe..70f1f34 100644
--- a/sysdeps/unix/sysv/linux/ptsname.c
+++ b/sysdeps/unix/sysv/linux/ptsname.c
@@ -56,7 +56,7 @@ extern const char __libc_ptyname2[] attribute_hidden;
 static char buffer[sizeof (_PATH_DEVPTS) + 20];
 
 
-/* Return the pathname of the pseudo terminal slave assoicated with
+/* Return the pathname of the pseudo terminal slave associated with
    the master FD is open on, or NULL on errors.
    The returned storage is good until the next call to this function.  */
 char *
diff --git a/debug/backtracesyms.c b/debug/backtracesyms.c
index 3be3dcb..7a45ea7 100644
--- a/debug/backtracesyms.c
+++ b/debug/backtracesyms.c
@@ -28,7 +28,7 @@
 #if __ELF_NATIVE_CLASS == 32
 # define WORD_WIDTH 8
 #else
-/* We assyme 64bits.  */
+/* We assume 64bits.  */
 # define WORD_WIDTH 16
 #endif
 
diff --git a/nis/nis_print.c b/nis/nis_print.c
index d24dcde..e872b20 100644
--- a/nis/nis_print.c
+++ b/nis/nis_print.c
@@ -290,7 +290,7 @@ nis_print_link (const link_obj *obj)
   fputs (_("Linked Object Type : "), stdout);
   nis_print_objtype (obj->li_rtype);
   printf (_("Linked to : %s\n"), obj->li_name);
-  /* XXX Print the attributs here, if they exists */
+  /* XXX Print the attributes here, if they exists */
 }
 libnsl_hidden_def (nis_print_link)
 
diff --git a/ports/sysdeps/unix/sysv/linux/am33/bits/fcntl.h b/ports/sysdeps/unix/sysv/linux/am33/bits/fcntl.h
index e5af260..4474838 100644
--- a/ports/sysdeps/unix/sysv/linux/am33/bits/fcntl.h
+++ b/ports/sysdeps/unix/sysv/linux/am33/bits/fcntl.h
@@ -130,7 +130,7 @@
 # define DN_CREATE	0x00000004	/* File created.  */
 # define DN_DELETE	0x00000008	/* File removed.  */
 # define DN_RENAME	0x00000010	/* File renamed.  */
-# define DN_ATTRIB	0x00000020	/* File changed attibutes.  */
+# define DN_ATTRIB	0x00000020	/* File changed attributes.  */
 # define DN_MULTISHOT	0x80000000	/* Don't remove notifier.  */
 #endif
 
diff --git a/elf/elf.h b/elf/elf.h
index f372271..fe55c92 100644
--- a/elf/elf.h
+++ b/elf/elf.h
@@ -811,7 +811,7 @@ typedef struct
 #define	DF_1_EDITED	0x00200000	/* Object is modified after built.  */
 #define	DF_1_NORELOC	0x00400000
 #define	DF_1_SYMINTPOSE	0x00800000	/* Object has individual interposers.  */
-#define	DF_1_GLOBAUDIT	0x01000000	/* Global auditin required.  */
+#define	DF_1_GLOBAUDIT	0x01000000	/* Global auditing required.  */
 #define	DF_1_SINGLETON	0x02000000	/* Singleton symbols are used.  */
 
 /* Flags for the feature selection in DT_FEATURE_1.  */
diff --git a/sysdeps/unix/sysv/linux/powerpc/libc-start.c b/sysdeps/unix/sysv/linux/powerpc/libc-start.c
index 4e6e9e9..c079901 100644
--- a/sysdeps/unix/sysv/linux/powerpc/libc-start.c
+++ b/sysdeps/unix/sysv/linux/powerpc/libc-start.c
@@ -54,7 +54,7 @@ __libc_start_main (int argc, char **argv,
       char **temp;
       /* ...in which case, we have argc as the top thing on the
          stack, followed by argv (NULL-terminated), envp (likewise),
-         and the auxilary vector.  */
+         and the auxiliary vector.  */
       /* 32/64-bit agnostic load from stack */
       argc = *(long int *) stack_on_entry;
       argv = stack_on_entry + 1;
diff --git a/resolv/res_comp.c b/resolv/res_comp.c
index c7212fa..2ff7ddb 100644
--- a/resolv/res_comp.c
+++ b/resolv/res_comp.c
@@ -81,7 +81,7 @@ static const char rcsid[] = "$BINDId: res_comp.c,v 8.15 1999/10/13 16:39:39 vixi
 
 /*
  * Expand compressed domain name 'comp_dn' to full domain name.
- * 'msg' is a pointer to the begining of the message,
+ * 'msg' is a pointer to the beginning of the message,
  * 'eomorig' points to the first location after the message,
  * 'exp_dn' is a pointer to a buffer of size 'length' for the result.
  * Return size of compressed name or -1 if there was an error.
diff --git a/sunrpc/clnt_tcp.c b/sunrpc/clnt_tcp.c
index b46905f..f4ba0ef 100644
--- a/sunrpc/clnt_tcp.c
+++ b/sunrpc/clnt_tcp.c
@@ -410,7 +410,7 @@ clnttcp_control (CLIENT *cl, int request, char *info)
       /*
        * This RELIES on the information that, in the call body,
        * the version number field is the fifth field from the
-       * begining of the RPC header. MUST be changed if the
+       * beginning of the RPC header. MUST be changed if the
        * call_struct is changed
        */
       memcpy (&ui32, ct->ct_mcall + 4 * BYTES_PER_XDR_UNIT, sizeof (ui32));
diff --git a/sunrpc/clnt_tcp.c b/sunrpc/clnt_tcp.c
index b46905f..f4ba0ef 100644
--- a/sunrpc/clnt_tcp.c
+++ b/sunrpc/clnt_tcp.c
@@ -426,7 +426,7 @@ clnttcp_control (CLIENT *cl, int request, char *info)
       /*
        * This RELIES on the information that, in the call body,
        * the program number field is the  field from the
-       * begining of the RPC header. MUST be changed if the
+       * beginning of the RPC header. MUST be changed if the
        * call_struct is changed
        */
       memcpy (&ui32, ct->ct_mcall + 3 * BYTES_PER_XDR_UNIT, sizeof (ui32));
diff --git a/sunrpc/clnt_udp.c b/sunrpc/clnt_udp.c
index 7fc0777..1b6a20b 100644
--- a/sunrpc/clnt_udp.c
+++ b/sunrpc/clnt_udp.c
@@ -598,7 +598,7 @@ clntudp_control (CLIENT *cl, int request, char *info)
       /*
        * This RELIES on the information that, in the call body,
        * the version number field is the fifth field from the
-       * begining of the RPC header. MUST be changed if the
+       * beginning of the RPC header. MUST be changed if the
        * call_struct is changed
        */
       memcpy (&ui32, cu->cu_outbuf + 4 * BYTES_PER_XDR_UNIT, sizeof (ui32));
diff --git a/sunrpc/clnt_udp.c b/sunrpc/clnt_udp.c
index 7fc0777..1b6a20b 100644
--- a/sunrpc/clnt_udp.c
+++ b/sunrpc/clnt_udp.c
@@ -614,7 +614,7 @@ clntudp_control (CLIENT *cl, int request, char *info)
       /*
        * This RELIES on the information that, in the call body,
        * the program number field is the  field from the
-       * begining of the RPC header. MUST be changed if the
+       * beginning of the RPC header. MUST be changed if the
        * call_struct is changed
        */
       memcpy (&ui32, cu->cu_outbuf + 3 * BYTES_PER_XDR_UNIT, sizeof (ui32));
diff --git a/sunrpc/clnt_unix.c b/sunrpc/clnt_unix.c
index 2ad8197..32d88b9 100644
--- a/sunrpc/clnt_unix.c
+++ b/sunrpc/clnt_unix.c
@@ -382,7 +382,7 @@ clntunix_control (CLIENT *cl, int request, char *info)
       /*
        * This RELIES on the information that, in the call body,
        * the version number field is the fifth field from the
-       * begining of the RPC header. MUST be changed if the
+       * beginning of the RPC header. MUST be changed if the
        * call_struct is changed
        */
       memcpy (&ui32, ct->ct_mcall + 4 * BYTES_PER_XDR_UNIT, sizeof (ui32));
diff --git a/sunrpc/clnt_unix.c b/sunrpc/clnt_unix.c
index 2ad8197..32d88b9 100644
--- a/sunrpc/clnt_unix.c
+++ b/sunrpc/clnt_unix.c
@@ -398,7 +398,7 @@ clntunix_control (CLIENT *cl, int request, char *info)
       /*
        * This RELIES on the information that, in the call body,
        * the program number field is the  field from the
-       * begining of the RPC header. MUST be changed if the
+       * beginning of the RPC header. MUST be changed if the
        * call_struct is changed
        */
       memcpy (&ui32, ct->ct_mcall + 3 * BYTES_PER_XDR_UNIT, sizeof (ui32));
diff --git a/ports/sysdeps/ia64/fpu/w_tgammal.S b/ports/sysdeps/ia64/fpu/w_tgammal.S
index ca60eed..b10c5dc 100644
--- a/ports/sysdeps/ia64/fpu/w_tgammal.S
+++ b/ports/sysdeps/ia64/fpu/w_tgammal.S
@@ -1629,7 +1629,7 @@ GLOBAL_LIBM_ENTRY(tgammal)
 
 { .mfi
       nop.m         0
-      fma.s1        FR_l_B14       = FR_l_B16, FR_l_Z2, FR_l_B14// bernulli tail
+      fma.s1        FR_l_B14       = FR_l_B16, FR_l_Z2, FR_l_B14// Bernoulli tail
       nop.i         0
 }
 { .mfi
diff --git a/ports/sysdeps/ia64/fpu/w_tgammal.S b/ports/sysdeps/ia64/fpu/w_tgammal.S
index ca60eed..b10c5dc 100644
--- a/ports/sysdeps/ia64/fpu/w_tgammal.S
+++ b/ports/sysdeps/ia64/fpu/w_tgammal.S
@@ -1640,18 +1640,18 @@ GLOBAL_LIBM_ENTRY(tgammal)
 
 { .mfi
       nop.m         0
-      fma.s1        FR_l_B2        = FR_l_B4, FR_l_Z2, FR_l_B2 // bernulli tail
+      fma.s1        FR_l_B2        = FR_l_B4, FR_l_Z2, FR_l_B2 // Bernoulli tail
       nop.i         0
 }
 { .mfi
       nop.m         0
-      fma.s1        FR_l_B6        = FR_l_B8, FR_l_Z2, FR_l_B6 // bernulli tail
+      fma.s1        FR_l_B6        = FR_l_B8, FR_l_Z2, FR_l_B6 // Bernoulli tail
       nop.i         0
 };;
 
 { .mfi
       nop.m         0
-      fma.s1        FR_l_B10       = FR_l_B12, FR_l_Z2, FR_l_B10// bernulli tail
+      fma.s1        FR_l_B10       = FR_l_B12, FR_l_Z2, FR_l_B10// Bernoulli tail
       nop.i         0
 }
 { .mfi
diff --git a/ports/sysdeps/ia64/fpu/w_tgammal.S b/ports/sysdeps/ia64/fpu/w_tgammal.S
index ca60eed..b10c5dc 100644
--- a/ports/sysdeps/ia64/fpu/w_tgammal.S
+++ b/ports/sysdeps/ia64/fpu/w_tgammal.S
@@ -1795,7 +1795,7 @@ GLOBAL_LIBM_ENTRY(tgammal)
 
 { .mfi
       nop.m         0
-      fma.s1        FR_l_SS        = FR_l_B10, FR_l_Z8, FR_l_B2 // bernulli tail
+      fma.s1        FR_l_SS        = FR_l_B10, FR_l_Z8, FR_l_B2 // Bernoulli tail
       nop.i         0
 };;
 
diff --git a/sysdeps/unix/sysv/linux/ifaddrs.c b/sysdeps/unix/sysv/linux/ifaddrs.c
index 5c1e380..89fda15 100644
--- a/sysdeps/unix/sysv/linux/ifaddrs.c
+++ b/sysdeps/unix/sysv/linux/ifaddrs.c
@@ -301,7 +301,7 @@ map_newlink (int index, struct ifaddrs_storage *ifas, int *map, int max)
 	return i;
     }
 
-  /* This means interfaces changed inbetween the reading of the
+  /* This means interfaces changed between the reading of the
      RTM_GETLINK and RTM_GETADDR information.  We have to repeat
      everything.  */
   return -1;
diff --git a/libidn/stringprep.c b/libidn/stringprep.c
index d109a71..72a502e 100644
--- a/libidn/stringprep.c
+++ b/libidn/stringprep.c
@@ -563,7 +563,7 @@ stringprep_profile (const char *in,
  * @STRINGPREP_CONTAINS_PROHIBITED: String contain code points
  *   prohibited by the profile.
  * @STRINGPREP_BIDI_BOTH_L_AND_RAL: String contain code points with
- *   conflicting bidirection category.
+ *   conflicting bidirectional category.
  * @STRINGPREP_BIDI_LEADTRAIL_NOT_RAL: Leading and trailing character
  *   in string not of proper bidirectional category.
  * @STRINGPREP_BIDI_CONTAINS_PROHIBITED: Contains prohibited code
diff --git a/malloc/malloc.c b/malloc/malloc.c
index be472b2..dd295f5 100644
--- a/malloc/malloc.c
+++ b/malloc/malloc.c
@@ -1167,7 +1167,7 @@ nextchunk-> +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     the malloc code, but "mem" is the pointer that is returned to the
     user.  "Nextchunk" is the beginning of the next contiguous chunk.
 
-    Chunks always begin on even word boundries, so the mem portion
+    Chunks always begin on even word boundaries, so the mem portion
     (which is returned to the user) is also on an even word boundary, and
     thus at least double-word aligned.
 
diff --git a/ports/sysdeps/ia64/fpu/e_log.S b/ports/sysdeps/ia64/fpu/e_log.S
index 3c5ebc2..d755fa5 100644
--- a/ports/sysdeps/ia64/fpu/e_log.S
+++ b/ports/sysdeps/ia64/fpu/e_log.S
@@ -134,7 +134,7 @@
 //   InvX = frcpa(x)
 //   r = InvX*x - 1
 //   P(r) = r*((r*A3 - A2) + r^4*((A4 + r*A5) + r^2*(A6 + r*A7)),
-//   all coefficients are calcutated in quad and rounded to double
+//   all coefficients are calculated in quad and rounded to double
 //   precision. A7,A6,A5,A4 are stored in memory whereas A3 and A2
 //   created with setf.
 //
diff --git a/ports/sysdeps/ia64/fpu/s_log1p.S b/ports/sysdeps/ia64/fpu/s_log1p.S
index e1e6dcc..2097328 100644
--- a/ports/sysdeps/ia64/fpu/s_log1p.S
+++ b/ports/sysdeps/ia64/fpu/s_log1p.S
@@ -103,7 +103,7 @@
 //   InvX = frcpa(x+1)
 //   r = InvX*(x+1) - 1
 //   P(r) = r*((r*A3 - A2) + r^4*((A4 + r*A5) + r^2*(A6 + r*A7)),
-//   all coefficients are calcutated in quad and rounded to double
+//   all coefficients are calculated in quad and rounded to double
 //   precision. A7,A6,A5,A4 are stored in memory whereas A3 and A2
 //   created with setf.
 //
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammaf.S b/ports/sysdeps/ia64/fpu/libm_lgammaf.S
index 4bd92c3..7218911 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammaf.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammaf.S
@@ -1064,7 +1064,7 @@ lgammaf_0_1:
 { .mfi
       ldfpd         FR_Ln2,FR_05 = [GR_ad_Data],16
       fma.s1        FR_P32 = FR_P3,FR_r,FR_P2
-      // input argument cann't be equal to 1.0
+      // input argument can't be equal to 1.0
       cmp.eq        p0,p14 = r0,r0
 };;
 { .mfi
diff --git a/libio/fileops.c b/libio/fileops.c
index e92f85b..9a713c4 100644
--- a/libio/fileops.c
+++ b/libio/fileops.c
@@ -1223,7 +1223,7 @@ _IO_file_close_mmap (fp)
   /* In addition to closing the file descriptor we have to unmap the file.  */
   (void) __munmap (fp->_IO_buf_base, fp->_IO_buf_end - fp->_IO_buf_base);
   fp->_IO_buf_base = fp->_IO_buf_end = NULL;
-  /* Cancelling close should be avoided if possible since it leaves an
+  /* Canceling close should be avoided if possible since it leaves an
      unrecoverable state behind.  */
   return close_not_cancel (fp->_fileno);
 }
diff --git a/libio/fileops.c b/libio/fileops.c
index e92f85b..9a713c4 100644
--- a/libio/fileops.c
+++ b/libio/fileops.c
@@ -1232,7 +1232,7 @@ int
 _IO_file_close (fp)
      _IO_FILE *fp;
 {
-  /* Cancelling close should be avoided if possible since it leaves an
+  /* Canceling close should be avoided if possible since it leaves an
      unrecoverable state behind.  */
   return close_not_cancel (fp->_fileno);
 }

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [PATCH 2/9] Fix typos.
  2013-08-22 13:56       ` [PATCH 2/9] " Ondřej Bílka
@ 2013-08-22 15:04         ` Joseph S. Myers
  2013-08-24  7:43           ` Ondřej Bílka
  0 siblings, 1 reply; 24+ messages in thread
From: Joseph S. Myers @ 2013-08-22 15:04 UTC (permalink / raw)
  To: Ondřej Bílka; +Cc: libc-alpha, libc-ports

On Thu, 22 Aug 2013, Ondrej Bilka wrote:

> uf_base = fp->_IO_buf_end = NULL; \n-/* Cancelling close should be avoided if po
> uf_base = fp->_IO_buf_end = NULL; \n+/* Canceling close should be avoided if pos
>                                             ^ ^                                
>                                   \n-/* Cancelling close should be avoided if po
>                                   \n+/* Canceling close should be avoided if pos
>                                             ^ ^                                
>                          { \n-/* We are cancelling ourselves, so it is easy to s
>                          { \n+/* We are canceling ourselves, so it is easy to su
>                                             ^ ^                                

This is an English variant issue and should not be included in a typo fix 
patch.

-- 
Joseph S. Myers
joseph@codesourcery.com

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [PATCH 2/9] Fix typos.
  2013-08-22 15:04         ` Joseph S. Myers
@ 2013-08-24  7:43           ` Ondřej Bílka
  2013-08-28 16:07             ` Joseph S. Myers
  0 siblings, 1 reply; 24+ messages in thread
From: Ondřej Bílka @ 2013-08-24  7:43 UTC (permalink / raw)
  To: Joseph S. Myers; +Cc: libc-alpha, libc-ports

On Thu, Aug 22, 2013 at 03:04:41PM +0000, Joseph S. Myers wrote:
> On Thu, 22 Aug 2013, Ondrej Bilka wrote:
> 
> > uf_base = fp->_IO_buf_end = NULL; \n-/* Cancelling close should be avoided if po
> > uf_base = fp->_IO_buf_end = NULL; \n+/* Canceling close should be avoided if pos
> >                                             ^ ^                                
> >                                   \n-/* Cancelling close should be avoided if po
> >                                   \n+/* Canceling close should be avoided if pos
> >                                             ^ ^                                
> >                          { \n-/* We are cancelling ourselves, so it is easy to s
> >                          { \n+/* We are canceling ourselves, so it is easy to su
> >                                             ^ ^                                
> 
> This is an English variant issue and should not be included in a typo fix 
> patch.
> 
Ok, v2 here



./ChangeLog:


	* argp/argp-help.c: Fix typos.
	* argp/argp-parse.c: Likewise.
	* debug/backtracesyms.c: Likewise.
	* elf/elf.h: Likewise.
	* malloc/malloc.c: Likewise.
	* nis/nis_print.c: Likewise.
	* resolv/res_comp.c: Likewise.
	* stdlib/stdlib.h: Likewise.
	* sunrpc/clnt_tcp.c: Likewise.
	* sunrpc/clnt_udp.c: Likewise.
	* sunrpc/clnt_unix.c: Likewise.
	* sysdeps/unix/bsd/ptsname.c: Likewise.
	* sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
	* sysdeps/unix/sysv/linux/ptsname.c: Likewise.

./libidn/ChangeLog:


	* stringprep.c: Fix typos.

./ports/ChangeLog.ia64:


	* sysdeps/ia64/fpu/e_acoshl.S: 
	* sysdeps/ia64/fpu/e_logf.S: Likewise.
	* sysdeps/ia64/fpu/e_log.S: Likewise.
	* sysdeps/ia64/fpu/libm_lgammaf.S: Likewise.
	* sysdeps/ia64/fpu/libm_lgammal.S: Likewise.
	* sysdeps/ia64/fpu/s_log1p.S: Likewise.
	* sysdeps/ia64/fpu/w_tgammal.S: Likewise.

./ports/ChangeLog.am33:


	* sysdeps/unix/sysv/linux/am33/bits/fcntl.h: Fix typos.

./ports/ChangeLog.mips:


	* sysdeps/mips/sys/asm.h: Fix typos.

---

-   will be surrounded by "[" and "]" appropiately if the argument is
-   optional.  The documentation string is word-wrapped appropiately, and if
+   will be surrounded by "[" and "]" appropriately if the argument is
+   optional.  The documentation string is word-wrapped appropriately, and if
merged set of getopt options, with keys appropiately prefixed. */ \n static void
merged set of getopt options, with keys appropriately prefixed. */ \n static voi
                                              ^                                
 header line, with the margin lines set appropiately, and \n notes the fact that
 header line, with the margin lines set appropriately, and \n notes the fact tha
                                              ^                                
om the environment, and fill in UPARAMS appropiately.  */ \n static void        
om the environment, and fill in UPARAMS appropriately.  */ \n static void       
                                              ^                                
right root on [-3, -2] \n-// Lgammal is aproximated by polynomial within [-.0562
right root on [-3, -2] \n+// Lgammal is approximated by polynomial within [-.056
                                         ^^                                    
right root on [-7, -6] \n-// Lgammal is aproximated by polynomial within [-.1545
right root on [-7, -6] \n+// Lgammal is approximated by polynomial within [-.154
                                         ^^                                    
right root on [-8, -7] \n-// Lgammal is aproximated by polynomial within [-.1542
right root on [-8, -7] \n+// Lgammal is approximated by polynomial within [-.154
                                         ^^                                    
right root on [-9, -8] \n-// Lgammal is aproximated by polynomial within [-.1541
right root on [-9, -8] \n+// Lgammal is approximated by polynomial within [-.154
                                         ^^                                    
ight root on [-10, -9] \n-// Lgammal is aproximated by polynomial within [-.1541
ight root on [-10, -9] \n+// Lgammal is approximated by polynomial within [-.154
                                         ^^                                    
ght root on [-11, -10] \n-// Lgammal is aproximated by polynomial within [-.1541
ght root on [-11, -10] \n+// Lgammal is approximated by polynomial within [-.154
                                         ^^                                    
ght root on [-12, -11] \n-// Lgammal is aproximated by polynomial within [-.1541
ght root on [-12, -11] \n+// Lgammal is approximated by polynomial within [-.154
                                         ^^                                    
ght root on [-13, -12] \n-// Lgammal is aproximated by polynomial within [-.1541
ght root on [-13, -12] \n+// Lgammal is approximated by polynomial within [-.154
                                         ^^                                    
ght root on [-14, -13] \n-// Lgammal is aproximated by polynomial within [-.1541
ght root on [-14, -13] \n+// Lgammal is approximated by polynomial within [-.154
                                         ^^                                    
ght root on [-15, -14] \n-// Lgammal is aproximated by polynomial within [-.1541
ght root on [-15, -14] \n+// Lgammal is approximated by polynomial within [-.154
                                         ^^                                    
ght root on [-16, -15] \n-// Lgammal is aproximated by polynomial within [-.1541
ght root on [-16, -15] \n+// Lgammal is approximated by polynomial within [-.154
                                         ^^                                    
ght root on [-17, -16] \n-// Lgammal is aproximated by polynomial within [-.1541
ght root on [-17, -16] \n+// Lgammal is approximated by polynomial within [-.154
                                         ^^                                    
ght root on [-18, -17] \n-// Lgammal is aproximated by polynomial within [-.1541
ght root on [-18, -17] \n+// Lgammal is approximated by polynomial within [-.154
                                         ^^                                    
ght root on [-19, -18] \n-// Lgammal is aproximated by polynomial within [-.1541
ght root on [-19, -18] \n+// Lgammal is approximated by polynomial within [-.154
                                         ^^                                    
ght root on [-20, -19] \n-// Lgammal is aproximated by polynomial within [-.1541
ght root on [-20, -19] \n+// Lgammal is approximated by polynomial within [-.154
                                         ^^                                    
right root on [-6, -5] \n-// Lgammal is aproximated by polynomial within [-.1564
right root on [-6, -5] \n+// Lgammal is approximated by polynomial within [-.156
                                         ^^                                    
right root on [-5, -4] \n-// Lgammal is aproximated by polynomial within [-.1631
right root on [-5, -4] \n+// Lgammal is approximated by polynomial within [-.163
                                         ^^                                    
right root on [-4, -3] \n-// Lgammal is aproximated by polynomial within [-.1727
right root on [-4, -3] \n+// Lgammal is approximated by polynomial within [-.172
                                         ^^                                    
 left root on [-3, -2] \n-// Lgammal is aproximated by polynomial within [.08464
 left root on [-3, -2] \n+// Lgammal is approximated by polynomial within [.0846
                                         ^^                                    
 left root on [-4, -3] \n-// Lgammal is aproximated by polynomial within [.14714
 left root on [-4, -3] \n+// Lgammal is approximated by polynomial within [.1471
                                         ^^                                    
 left root on [-5, -4] \n-// Lgammal is aproximated by polynomial within [.15567
 left root on [-5, -4] \n+// Lgammal is approximated by polynomial within [.1556
                                         ^^                                    
 left root on [-6, -5] \n-// Lgammal is aproximated by polynomial within [.15742
 left root on [-6, -5] \n+// Lgammal is approximated by polynomial within [.1574
                                         ^^                                    
 left root on [-7, -6] \n-// Lgammal is aproximated by polynomial within [.15774
 left root on [-7, -6] \n+// Lgammal is approximated by polynomial within [.1577
                                         ^^                                    
 left root on [-8, -7] \n-// Lgammal is aproximated by polynomial within [.15779
 left root on [-8, -7] \n+// Lgammal is approximated by polynomial within [.1577
                                         ^^                                    
 left root on [-9, -8] \n-// Lgammal is aproximated by polynomial within [.15780
 left root on [-9, -8] \n+// Lgammal is approximated by polynomial within [.1578
                                         ^^                                    
left root on [-10, -9] \n-// Lgammal is aproximated by polynomial within [.15780
left root on [-10, -9] \n+// Lgammal is approximated by polynomial within [.1578
                                         ^^                                    
eft root on [-11, -10] \n-// Lgammal is aproximated by polynomial within [.15780
eft root on [-11, -10] \n+// Lgammal is approximated by polynomial within [.1578
                                         ^^                                    
eft root on [-12, -11] \n-// Lgammal is aproximated by polynomial within [.15780
eft root on [-12, -11] \n+// Lgammal is approximated by polynomial within [.1578
                                         ^^                                    
eft root on [-13, -12] \n-// Lgammal is aproximated by polynomial within [.15780
eft root on [-13, -12] \n+// Lgammal is approximated by polynomial within [.1578
                                         ^^                                    
eft root on [-14, -13] \n-// Lgammal is aproximated by polynomial within [.15780
eft root on [-14, -13] \n+// Lgammal is approximated by polynomial within [.1578
                                         ^^                                    
eft root on [-15, -14] \n-// Lgammal is aproximated by polynomial within [.15780
eft root on [-15, -14] \n+// Lgammal is approximated by polynomial within [.1578
                                         ^^                                    
eft root on [-16, -15] \n-// Lgammal is aproximated by polynomial within [.15780
eft root on [-16, -15] \n+// Lgammal is approximated by polynomial within [.1578
                                         ^^                                    
eft root on [-17, -16] \n-// Lgammal is aproximated by polynomial within [.15780
eft root on [-17, -16] \n+// Lgammal is approximated by polynomial within [.1578
                                         ^^                                    
eft root on [-18, -17] \n-// Lgammal is aproximated by polynomial within [.15780
eft root on [-18, -17] \n+// Lgammal is approximated by polynomial within [.1578
                                         ^^                                    
eft root on [-19, -18] \n-// Lgammal is aproximated by polynomial within [.15780
eft root on [-19, -18] \n+// Lgammal is approximated by polynomial within [.1578
                                         ^^                                    
             \n-// Near 1 path rational aproximation coefficients \n LOCAL_OBJEC
             \n+// Near 1 path rational approximation coefficients \n LOCAL_OBJE
                                         ^^                                    
            __CONTEXT_ENABLE_VRS \n-Any archecture that implements the Vector un
            __CONTEXT_ENABLE_VRS \n+Any architecture that implements the Vector 
                                            ^^                                 
            __CONTEXT_ENABLE_VRS \n-Any archecture that implements the Vector un
            __CONTEXT_ENABLE_VRS \n+Any architecture that implements the Vector 
                                            ^^                                 
            __CONTEXT_ENABLE_VRS \n-Any archecture that implements the Vector un
            __CONTEXT_ENABLE_VRS \n+Any architecture that implements the Vector 
                                            ^^                                 
                         \n-/* The MIPS archtectures do not have a uniform memor
                         \n+/* The MIPS architectures do not have a uniform memo
                                            ^                                  
    GR_Arg       = FR_Arg        // get arument as double (int64) \n fma.s0     
    GR_Arg       = FR_Arg        // get argument as double (int64) \n fma.s0    
                                          ^                                    
iased exponent and significand of input argment. \n //                          
iased exponent and significand of input argument. \n //                         
                                           ^                                   
     FR_R3,FR_R2 = [GR_ad_RootCo] \n-// argumenth for logarithm \n (p10) fma.s1 
     FR_R3,FR_R2 = [GR_ad_RootCo] \n+// arguments for logarithm \n (p10) fma.s1 
                                                ^                              
e pathname of the pseudo terminal slave assoicated with \n the master FD is open
e pathname of the pseudo terminal slave associated with \n the master FD is open
                                            ^^                                 
e pathname of the pseudo terminal slave assoicated with \n the master FD is open
e pathname of the pseudo terminal slave associated with \n the master FD is open
                                            ^^                                 
e pathname of the pseudo terminal slave assoicated with \n the master FD is open
e pathname of the pseudo terminal slave associated with \n the master FD is open
                                            ^^                                 
                          else \n-/* We assyme 64bits.  */ \n # define WORD_WIDT
                          else \n+/* We assume 64bits.  */ \n # define WORD_WIDT
                                           ^                                   
n"), obj->li_name); \n-/* XXX Print the attributs here, if they exists */ \n }  
n"), obj->li_name); \n+/* XXX Print the attributes here, if they exists */ \n } 
                                                ^                              
ne DN_ATTRIB 0x00000020 /* File changed attibutes.  */ \n # define DN_MULTISHOT 
ne DN_ATTRIB 0x00000020 /* File changed attributes.  */ \n # define DN_MULTISHOT
                                           ^                                   
ine DF_1_GLOBAUDIT 0x01000000 /* Global auditin required.  */ \n #define DF_1_SI
ine DF_1_GLOBAUDIT 0x01000000 /* Global auditing required.  */ \n #define DF_1_S
                                               ^                               
erminated), envp (likewise), \n-and the auxilary vector.  */ \n /* 32/64-bit agn
erminated), envp (likewise), \n+and the auxiliary vector.  */ \n /* 32/64-bit ag
                                             ^                                 
in name. \n-* 'msg' is a pointer to the begining of the message, \n * 'eomorig' 
in name. \n+* 'msg' is a pointer to the beginning of the message, \n * 'eomorig'
                                            ^^                                 
 field is the fifth field from the \n-* begining of the RPC header. MUST be chan
 field is the fifth field from the \n+* beginning of the RPC header. MUST be cha
                                            ^^                                 
umber field is the  field from the \n-* begining of the RPC header. MUST be chan
umber field is the  field from the \n+* beginning of the RPC header. MUST be cha
                                            ^^                                 
 field is the fifth field from the \n-* begining of the RPC header. MUST be chan
 field is the fifth field from the \n+* beginning of the RPC header. MUST be cha
                                            ^^                                 
umber field is the  field from the \n-* begining of the RPC header. MUST be chan
umber field is the  field from the \n+* beginning of the RPC header. MUST be cha
                                            ^^                                 
 field is the fifth field from the \n-* begining of the RPC header. MUST be chan
 field is the fifth field from the \n+* beginning of the RPC header. MUST be cha
                                            ^^                                 
umber field is the  field from the \n-* begining of the RPC header. MUST be chan
umber field is the  field from the \n+* beginning of the RPC header. MUST be cha
                                            ^^                                 
4       = FR_l_B16, FR_l_Z2, FR_l_B14// bernulli tail \n nop.i         0        
4       = FR_l_B16, FR_l_Z2, FR_l_B14// Bernoulli tail \n nop.i         0       
                                        ^   ^                                  
2        = FR_l_B4, FR_l_Z2, FR_l_B2 // bernulli tail \n nop.i         0        
2        = FR_l_B4, FR_l_Z2, FR_l_B2 // Bernoulli tail \n nop.i         0       
                                        ^   ^                                  
6        = FR_l_B8, FR_l_Z2, FR_l_B6 // bernulli tail \n nop.i         0        
6        = FR_l_B8, FR_l_Z2, FR_l_B6 // Bernoulli tail \n nop.i         0       
                                        ^   ^                                  
0       = FR_l_B12, FR_l_Z2, FR_l_B10// bernulli tail \n nop.i         0        
0       = FR_l_B12, FR_l_Z2, FR_l_B10// Bernoulli tail \n nop.i         0       
                                        ^   ^                                  
        = FR_l_B10, FR_l_Z8, FR_l_B2 // bernulli tail \n nop.i         0        
        = FR_l_B10, FR_l_Z8, FR_l_B2 // Bernoulli tail \n nop.i         0       
                                        ^   ^                                  
    \n-/* This means interfaces changed inbetween the reading of the \n RTM_GETL
    \n+/* This means interfaces changed between the reading of the \n RTM_GETLIN
                                       ^^                                      
ain code points with \n-*   conflicting bidirection category. \n * @STRINGPREP_B
ain code points with \n+*   conflicting bidirectional category. \n * @STRINGPREP
                                                   ^^                          
    \n-Chunks always begin on even word boundries, so the mem portion \n (which 
    \n+Chunks always begin on even word boundaries, so the mem portion \n (which
                                             ^                                 
 + r*A7)), \n-//   all coefficients are calcutated in quad and rounded to double
 + r*A7)), \n+//   all coefficients are calculated in quad and rounded to double
                                             ^                                 
 + r*A7)), \n-//   all coefficients are calcutated in quad and rounded to double
 + r*A7)), \n+//   all coefficients are calculated in quad and rounded to double
                                             ^                                 
= FR_P3,FR_r,FR_P2 \n-// input argument cann't be equal to 1.0 \n cmp.eq        
= FR_P3,FR_r,FR_P2 \n+// input argument can't be equal to 1.0 \n cmp.eq        p
                                         ^ ^                                   
n, the first long option is \n-indented slighly in a way that's supposed to make
n, the first long option is \n+indented slightly in a way that's supposed to mak
                                             ^                                 
diff --git a/argp/argp-help.c b/argp/argp-help.c
index 53702e3..ace71b4 100644
--- a/argp/argp-help.c
+++ b/argp/argp-help.c
@@ -275,11 +275,11 @@ fill_in_uparams (const struct argp_state *state)
      -xARG, -yARG, --long1=ARG, --long2=ARG        Documentation...
 
    Where ARG will be omitted if there's no argument, for this option, or
-   will be surrounded by "[" and "]" appropiately if the argument is
-   optional.  The documentation string is word-wrapped appropiately, and if
+   will be surrounded by "[" and "]" appropriately if the argument is
+   optional.  The documentation string is word-wrapped appropriately, and if
    the list of options is long enough, it will be started on a separate line.
    If there are no short options for a given option, the first long option is
-   indented slighly in a way that's supposed to make most long options appear
+   indented slightly in a way that's supposed to make most long options appear
    to be in a separate column.
 
    For example, the following output (from ps):
diff --git a/argp/argp-parse.c b/argp/argp-parse.c
index f68ebab..3051be1 100644
--- a/argp/argp-parse.c
+++ b/argp/argp-parse.c
@@ -410,7 +410,7 @@ convert_options (const struct argp *argp,
   return group;
 }
 
-/* Find the merged set of getopt options, with keys appropiately prefixed. */
+/* Find the merged set of getopt options, with keys appropriately prefixed. */
 static void
 parser_convert (struct parser *parser, const struct argp *argp, int flags)
 {
diff --git a/argp/argp-help.c b/argp/argp-help.c
index 53702e3..ace71b4 100644
--- a/argp/argp-help.c
+++ b/argp/argp-help.c
@@ -998,7 +998,7 @@ filter_doc (const char *doc, int key, const struct argp *argp,
     return doc;
 }
 
-/* Prints STR as a header line, with the margin lines set appropiately, and
+/* Prints STR as a header line, with the margin lines set appropriately, and
    notes the fact that groups should be separated with a blank line.  ARGP is
    the argp that should dictate any user doc filtering to take place.  Note
    that the previous wrap margin isn't restored, but the left margin is reset
diff --git a/argp/argp-help.c b/argp/argp-help.c
index 53702e3..ace71b4 100644
--- a/argp/argp-help.c
+++ b/argp/argp-help.c
@@ -160,7 +160,7 @@ static const struct uparam_name uparam_names[] =
 };
 #define nuparam_names (sizeof (uparam_names) / sizeof (uparam_names[0]))
 
-/* Read user options from the environment, and fill in UPARAMS appropiately.  */
+/* Read user options from the environment, and fill in UPARAMS appropriately.  */
 static void
 fill_in_uparams (const struct argp_state *state)
 {
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 95c87a4..185433a 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1334,7 +1334,7 @@ LOCAL_OBJECT_END(lgammal_near_neg_half_data)
 //!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 LOCAL_OBJECT_START(lgammal_right_roots_polynomial_data)
 // Polynomial coefficients for right root on [-3, -2]
-// Lgammal is aproximated by polynomial within [-.056244 ; .158208 ] range
+// Lgammal is approximated by polynomial within [-.056244 ; .158208 ] range
 data8 0xBBBD5E9DCD11030B, 0xB867411D9FF87DD4 //A0
 data8 0x3FF83FE966AF535E, 0x3CAA21235B8A769A //A1
 data8 0x40136EEBB002F55C, 0x3CC3959A6029838E //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 95c87a4..185433a 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1510,7 +1510,7 @@ data8 0x534E00B6B0C8B809 //A17
 data8 0x5475022FE21215B2 //A18
 data8 0x5596B02BF6C5E19B //A19
 // Polynomial coefficients for right root on [-11, -10]
-// Lgammal is aproximated by polynomial within [-.154151 ; .154151 ] range
+// Lgammal is approximated by polynomial within [-.154151 ; .154151 ] range
 data8 0x3D7AA9C2E2B1029C, 0x3A15FB37578544DB //A0
 data8 0x414BAF825A0C91D4, 0x3DFB9DA2CE398747 //A1
 data8 0x4297F3EC8AE0AF03, 0x3F34208B55FB8781 //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 95c87a4..185433a 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1532,7 +1532,7 @@ data8 0x56D4D10FEEDB030C //A17
 data8 0x5832385DF86AD28A //A18
 data8 0x598898914B4D6523 //A19
 // Polynomial coefficients for right root on [-12, -11]
-// Lgammal is aproximated by polynomial within [-.154151 ; .154151 ] range
+// Lgammal is approximated by polynomial within [-.154151 ; .154151 ] range
 data8 0xBD96F61647C58B03, 0xBA3ABB0C2A6C755B //A0
 data8 0x418308A82714B70D, 0x3E1088FC6A104C39 //A1
 data8 0x4306A493DD613C39, 0x3FB2341ECBF85741 //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 95c87a4..185433a 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1554,7 +1554,7 @@ data8 0x5A824088688B008D //A17
 data8 0x5C15F75EF7E08EBD //A18
 data8 0x5DA462EA902F0C90 //A19
 // Polynomial coefficients for right root on [-13, -12]
-// Lgammal is aproximated by polynomial within [-.154151 ; .154151 ] range
+// Lgammal is approximated by polynomial within [-.154151 ; .154151 ] range
 data8 0x3DC3191752ACFC9D, 0x3A26CB6629532DBF //A0
 data8 0x41BC8CFC051191BD, 0x3E68A84DA4E62AF2 //A1
 data8 0x43797926294A0148, 0x400F345FF3723CFF //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 95c87a4..185433a 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1576,7 +1576,7 @@ data8 0x5E518FC34C6F54EF //A17
 data8 0x601FB3F17BCCD9A0 //A18
 data8 0x61E61128D512FE97 //A1
 // Polynomial coefficients for right root on [-14, -13]
-// Lgammal is aproximated by polynomial within [-.154151 ; .154151 ] range
+// Lgammal is approximated by polynomial within [-.154151 ; .154151 ] range
 data8 0xBE170D646421B3F5, 0xBAAD95F79FCB5097 //A0
 data8 0x41F7328CBFCD9AC7, 0x3E743B8B1E8AEDB1 //A1
 data8 0x43F0D0FA2DBDA237, 0x40A0422D6A227B55 //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 95c87a4..185433a 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1598,7 +1598,7 @@ data8 0x6240787C4B1C9D6C //A17
 data8 0x6448289235E80977 //A18
 data8 0x664B5352C6C3449E //A19
 // Polynomial coefficients for right root on [-15, -14]
-// Lgammal is aproximated by polynomial within [-.154151 ; .154151 ] range
+// Lgammal is approximated by polynomial within [-.154151 ; .154151 ] range
 data8 0x3E562C2E34A9207D, 0x3ADC00DA3DFF7A83 //A0
 data8 0x42344C3B2F0D90AB, 0x3EB8A2E979F24536 //A1
 data8 0x4469BFFF28B50D07, 0x41181E3D05C1C294 //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 95c87a4..185433a 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1620,7 +1620,7 @@ data8 0x664B3998D60D0F9B //A17
 data8 0x689178710782FA8B //A18
 data8 0x6AD14A66C1C7BEC3 //A19
 // Polynomial coefficients for right root on [-16, -15]
-// Lgammal is aproximated by polynomial within [-.154151 ; .154151 ] range
+// Lgammal is approximated by polynomial within [-.154151 ; .154151 ] range
 data8 0xBE6D7E7192615BAE, 0xBB0137677D7CC719 //A0
 data8 0x4273077763F6628C, 0x3F09250FB8FC8EC9 //A1
 data8 0x44E6A1BF095B1AB3, 0x4178D5A74F6CB3B3 //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 95c87a4..185433a 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1642,7 +1642,7 @@ data8 0x6A722D2B19B7E2F9 //A17
 data8 0x6CF5DEB3073B0743 //A18
 data8 0x6F744AC11550B93A //A19
 // Polynomial coefficients for right root on [-17, -16]
-// Lgammal is aproximated by polynomial within [-.154151 ; .154151 ] range
+// Lgammal is approximated by polynomial within [-.154151 ; .154151 ] range
 data8 0xBEDCC6291188207E, 0xBB872E3FDD48F5B7 //A0
 data8 0x42B3076EE7525EF9, 0x3F6687A5038CA81C //A1
 data8 0x4566A1AAD96EBCB5, 0x421F0FEDFBF548D2 //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 95c87a4..185433a 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1664,7 +1664,7 @@ data8 0x6EB22C9807C21819 //A17
 data8 0x7175DE20D04617C4 //A18
 data8 0x74344AB87C6D655F //A19
 // Polynomial coefficients for right root on [-18, -17]
-// Lgammal is aproximated by polynomial within [-.154151 ; .154151 ] range
+// Lgammal is approximated by polynomial within [-.154151 ; .154151 ] range
 data8 0xBF28AEEE7B61D77C, 0xBBDBBB5FC57ABF79 //A0
 data8 0x42F436F56B3B8A0C, 0x3FA43EE3C5C576E9 //A1
 data8 0x45E98A22535D115D, 0x42984678BE78CC48 //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 95c87a4..185433a 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1686,7 +1686,7 @@ data8 0x730962B4500F4A61 //A17
 data8 0x76103C6ED099192A //A18
 data8 0x79100C7132CFD6E3 //A19
 // Polynomial coefficients for right root on [-19, -18]
-// Lgammal is aproximated by polynomial within [-.154151 ; .154151 ] range
+// Lgammal is approximated by polynomial within [-.154151 ; .154151 ] range
 data8 0x3F3C19A53328A0C3, 0x3BE04ADC3FBE1458 //A0
 data8 0x4336C16C16C16C19, 0x3FE58CE3AC4A7C28 //A1
 data8 0x46702E85C0898B70, 0x432C922E412CEC6E //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 95c87a4..185433a 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1708,7 +1708,7 @@ data8 0x7777C401A8715CF9 //A17
 data8 0x7AC1110C6D350440 //A18
 data8 0x7E02D0971CF84865 //A19
 // Polynomial coefficients for right root on [-20, -19]
-// Lgammal is aproximated by polynomial within [-.154151 ; .154151 ] range
+// Lgammal is approximated by polynomial within [-.154151 ; .154151 ] range
 data8 0xBFAB767F9BE21803, 0xBC5ACEF5BB1BD8B5 //A0
 data8 0x4379999999999999, 0x4029241C7F5914C8 //A1
 data8 0x46F47AE147AE147A, 0x43AC2979B64B9D7E //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 95c87a4..185433a 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1488,7 +1488,7 @@ data8 0x4FF03797EACD0F23 //A17
 data8 0x50E4304A8E68A730 //A18
 data8 0x51D3618FB2EC9F93 //A19
 // Polynomial coefficients for right root on [-10, -9]
-// Lgammal is aproximated by polynomial within [-.154152 ; .154152 ] range
+// Lgammal is approximated by polynomial within [-.154152 ; .154152 ] range
 data8 0x3D42F34DA97ECF0C, 0x39FD1256F345B0D0 //A0
 data8 0x4116261203919787, 0x3DC12D44055588EB //A1
 data8 0x422EA8F32FB7FE99, 0x3ED849CE4E7B2D77 //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 95c87a4..185433a 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1466,7 +1466,7 @@ data8 0x4CC05021086F637B //A17
 data8 0x4D8450A345B0FB49 //A18
 data8 0x4E43825848865DB2 //A19
 // Polynomial coefficients for right root on [-9, -8]
-// Lgammal is aproximated by polynomial within [-.154160 ; .154158 ] range
+// Lgammal is approximated by polynomial within [-.154160 ; .154158 ] range
 data8 0x3CDF4358564F2B46, 0x397969BEE6042F81 //A0
 data8 0x40E3B088FED67721, 0x3D82787BA937EE85 //A1
 data8 0x41C83A3893550EF4, 0x3E542ED57E244DA8 //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 95c87a4..185433a 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1444,7 +1444,7 @@ data8 0x49C47CC9AE3F1073 //A17
 data8 0x4A5D38E8C35EFF45 //A18
 data8 0x4AF0123E89694CD8 //A19
 // Polynomial coefficients for right root on [-8, -7]
-// Lgammal is aproximated by polynomial within [-.154217 ; .154208 ] range
+// Lgammal is approximated by polynomial within [-.154217 ; .154208 ] range
 data8 0xBCD2507D818DDD68, 0xB97F6940EA2871A0 //A0
 data8 0x40B3B407AA387BCB, 0x3D6320238F2C43D1 //A1
 data8 0x41683E85DAAFBAC7, 0x3E148D085958EA3A //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 95c87a4..185433a 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1422,7 +1422,7 @@ data8 0x4709D045390A3810 //A17
 data8 0x4778D360873C9F64 //A18
 data8 0x47E26965BE9A682A //A19
 // Polynomial coefficients for right root on [-7, -6]
-// Lgammal is aproximated by polynomial within [-.154582 ; .154521 ] range
+// Lgammal is approximated by polynomial within [-.154582 ; .154521 ] range
 data8 0x3C75F103A1B00A48, 0x391C041C190C726D //A0
 data8 0x40869DE49E3AF2AA, 0x3D1C17E1F813063B //A1
 data8 0x410FCE23484CFD10, 0x3DB6F38C2F11DAB9 //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 95c87a4..185433a 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1400,7 +1400,7 @@ data8 0x44A3507DA81D5C01 //A17
 data8 0x44EF06A31E39EEDF //A18
 data8 0x45333774C99F523F //A19
 // Polynomial coefficients for right root on [-6, -5]
-// Lgammal is aproximated by polynomial within [-.156450 ; .156126 ] range
+// Lgammal is approximated by polynomial within [-.156450 ; .156126 ] range
 data8 0x3C71B82D6B2B3304, 0x3917186E3C0DC231 //A0
 data8 0x405ED72E0829AE02, 0x3C960C25157980EB //A1
 data8 0x40BCECC32EC22F9B, 0x3D5D8335A32F019C //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 95c87a4..185433a 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1378,7 +1378,7 @@ data8 0x42A7256F59B286F7 //A17
 data8 0x42D462D1586DE61F //A18
 data8 0x42FBB1228D6C5118 //A19
 // Polynomial coefficients for right root on [-5, -4]
-// Lgammal is aproximated by polynomial within [-.163171 ; .161988 ] range
+// Lgammal is approximated by polynomial within [-.163171 ; .161988 ] range
 data8 0x3C5840FBAFDEE5BB, 0x38CAC0336E8C490A //A0
 data8 0x403ACA5CF4921642, 0x3CCEDCDDA5491E56 //A1
 data8 0x40744415CD813F8E, 0x3CFBFEBC17E39146 //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 95c87a4..185433a 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1356,7 +1356,7 @@ data8 0x40E0FB2C989CE4A3 //A17
 data8 0x40E52739AB005641 //A18
 data8 0x41161E3E6DDF503A //A19
 // Polynomial coefficients for right root on [-4, -3]
-// Lgammal is aproximated by polynomial within [-.172797 ; .171573 ] range
+// Lgammal is approximated by polynomial within [-.172797 ; .171573 ] range
 data8 0x3C172712B248E42E, 0x38CB8D17801A5D67 //A0
 data8 0x401F20A65F2FAC54, 0x3CCB9EA1817A824E //A1
 data8 0x4039D4D2977150EF, 0x3CDA42E149B6276A //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 95c87a4..185433a 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1733,7 +1733,7 @@ LOCAL_OBJECT_END(lgammal_right_roots_polynomial_data)
 
 LOCAL_OBJECT_START(lgammal_left_roots_polynomial_data)
 // Polynomial coefficients for left root on [-3, -2]
-// Lgammal is aproximated by polynomial within [.084641 ; -.059553 ] range
+// Lgammal is approximated by polynomial within [.084641 ; -.059553 ] range
 data8 0xBC0844590979B82E, 0xB8BC7CE8CE2ECC3B //A0
 data8 0xBFFEA12DA904B18C, 0xBC91A6B2BAD5EF6E //A1
 data8 0x4023267F3C265A51, 0x3CD7055481D03AED //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 95c87a4..185433a 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1756,7 +1756,7 @@ data8 0x41EA727E3033E2D9 //A18
 data8 0xC20812C297729142 //A19
 //
 // Polynomial coefficients for left root on [-4, -3]
-// Lgammal is aproximated by polynomial within [.147147 ; -.145158 ] range
+// Lgammal is approximated by polynomial within [.147147 ; -.145158 ] range
 data8 0xBC3130AE5C4F54DB, 0xB8ED23294C13398A //A0
 data8 0xC034B99D966C5646, 0xBCE2E5FE3BC3DBB9 //A1
 data8 0x406F76DEAE0436BD, 0x3D14974DDEC057BD //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 95c87a4..185433a 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1778,7 +1778,7 @@ data8 0xC471C4421E908C3A //A17
 data8 0x44B92CD4D59D6D17 //A18
 data8 0xC4FB3A078B5247FA //A19
 // Polynomial coefficients for left root on [-5, -4]
-// Lgammal is aproximated by polynomial within [.155671 ; -.155300 ] range
+// Lgammal is approximated by polynomial within [.155671 ; -.155300 ] range
 data8 0xBC57BF3C6E8A94C1, 0xB902FB666934AC9E //A0
 data8 0xC05D224A3EF9E41F, 0xBCF6F5713913E440 //A1
 data8 0x40BB533C678A3955, 0x3D688E53E3C72538 //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 95c87a4..185433a 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1800,7 +1800,7 @@ data8 0xC6FFDDC6DD938E2E //A17
 data8 0x476DD7C07184B9F9 //A18
 data8 0xC7D554A30085C052 //A19
 // Polynomial coefficients for left root on [-6, -5]
-// Lgammal is aproximated by polynomial within [.157425 ; -.157360 ] range
+// Lgammal is approximated by polynomial within [.157425 ; -.157360 ] range
 data8 0x3C9E20A87C8B79F1, 0x39488BE34B2427DB //A0
 data8 0xC08661F6A43A5E12, 0xBD3D912526D759CC //A1
 data8 0x410F79DCB794F270, 0x3DB9BEE7CD3C1BF5 //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 95c87a4..185433a 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1822,7 +1822,7 @@ data8 0xC9C2C6A864521F3A //A17
 data8 0x4A5AB127C62E8DA1 //A18
 data8 0xCAECF60EF3183C57 //A19
 // Polynomial coefficients for left root on [-7, -6]
-// Lgammal is aproximated by polynomial within [.157749 ; -.157739 ] range
+// Lgammal is approximated by polynomial within [.157749 ; -.157739 ] range
 data8 0x3CC9B9E8B8D551D6, 0x3961813C8E1E10DB //A0
 data8 0xC0B3ABF7A5CEA91F, 0xBD55638D4BCB4CC4 //A1
 data8 0x4168349A25504236, 0x3E0287ECE50CCF76 //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 95c87a4..185433a 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1844,7 +1844,7 @@ data8 0xCCC01CB3021212FF //A17
 data8 0x4D841613AC3431D1 //A18
 data8 0xCE431C9E9EE43AD9 //A19
 // Polynomial coefficients for left root on [-8, -7]
-// Lgammal is aproximated by polynomial within [.157799 ; -.157798 ] range
+// Lgammal is approximated by polynomial within [.157799 ; -.157798 ] range
 data8 0xBCF9C7A33AD9478C, 0xB995B0470F11E5ED //A0
 data8 0xC0E3AF76FE4C2F8B, 0xBD8DBCD503250511 //A1
 data8 0x41C838E76CAAF0D5, 0x3E5D79F5E2E069C3 //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 95c87a4..185433a 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1866,7 +1866,7 @@ data8 0xCFF0351B51508523 //A17
 data8 0x50E4364CCBF53100 //A18
 data8 0xD1D33CFD0BF96FA6 //A19
 // Polynomial coefficients for left root on [-9, -8]
-// Lgammal is aproximated by polynomial within [.157806 ; -.157806 ] range
+// Lgammal is approximated by polynomial within [.157806 ; -.157806 ] range
 data8 0x3D333E4438B1B9D4, 0x39E7B956B83964C1 //A0
 data8 0xC11625EDFC63DCD8, 0xBDCF39625709EFAC //A1
 data8 0x422EA8C150480F16, 0x3EC16ED908AB7EDD //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 95c87a4..185433a 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1888,7 +1888,7 @@ data8 0xD34E085C088404A5 //A17
 data8 0x547511892FF8960E //A18
 data8 0xD5968FA3B1ED67A9 //A19
 // Polynomial coefficients for left root on [-10, -9]
-// Lgammal is aproximated by polynomial within [.157807 ; -.157807 ] range
+// Lgammal is approximated by polynomial within [.157807 ; -.157807 ] range
 data8 0xBD355818A2B42BA2, 0xB9B7320B6A0D61EA //A0
 data8 0xC14BAF7DA5F3770E, 0xBDE64AF9A868F719 //A1
 data8 0x4297F3E8791F9CD3, 0x3F2A553E59B4835E //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 95c87a4..185433a 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1910,7 +1910,7 @@ data8 0xD6D4D760074F6E6B //A17
 data8 0x5832469D58ED3FA9 //A18
 data8 0xD988769F3DC76642 //A19
 // Polynomial coefficients for left root on [-11, -10]
-// Lgammal is aproximated by polynomial within [.157807 ; -.157807 ] range
+// Lgammal is approximated by polynomial within [.157807 ; -.157807 ] range
 data8 0xBDA050601F39778A, 0xBA0D4D1CE53E8241 //A0
 data8 0xC18308A7D8EA4039, 0xBE370C379D3EAD41 //A1
 data8 0x4306A49380644E6C, 0x3FBBB143C0E7B5C8 //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 95c87a4..185433a 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1932,7 +1932,7 @@ data8 0xDA8246294D210BEC //A17
 data8 0x5C1608AAC32C3A8E //A18
 data8 0xDDA446E570A397D5 //A19
 // Polynomial coefficients for left root on [-12, -11]
-// Lgammal is aproximated by polynomial within [.157807 ; -.157807 ] range
+// Lgammal is approximated by polynomial within [.157807 ; -.157807 ] range
 data8 0x3DEACBB3081C502E, 0x3A8AA6F01DEDF745 //A0
 data8 0xC1BC8CFBFB0A9912, 0xBE6556B6504A2AE6 //A1
 data8 0x43797926206941D7, 0x40289A9644C2A216 //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 95c87a4..185433a 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1954,7 +1954,7 @@ data8 0xDE51952FDFD1EC49 //A17
 data8 0x601FCCEC1BBD25F1 //A18
 data8 0xE1E5F2D76B610920 //A19
 // Polynomial coefficients for left root on [-13, -12]
-// Lgammal is aproximated by polynomial within [.157807 ; -.157807 ] range
+// Lgammal is approximated by polynomial within [.157807 ; -.157807 ] range
 data8 0xBE01612F373268ED, 0xBA97B7A18CDF103B //A0
 data8 0xC1F7328CBF7A4FAC, 0xBE89A25A6952F481 //A1
 data8 0x43F0D0FA2DBDA237, 0x40A0422EC1CE6084 //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 95c87a4..185433a 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1976,7 +1976,7 @@ data8 0xE2407D92CD613E82 //A17
 data8 0x64483B9B62367EB7 //A18
 data8 0xE64B2DC830E8A799 //A1
 // Polynomial coefficients for left root on [-14, -13]
-// Lgammal is aproximated by polynomial within [.157807 ; -.157807 ] range
+// Lgammal is approximated by polynomial within [.157807 ; -.157807 ] range
 data8 0x3E563D0B930B371F, 0x3AE779957E14F012 //A0
 data8 0xC2344C3B2F083767, 0xBEC0B7769AA3DD66 //A1
 data8 0x4469BFFF28B50D07, 0x41181E3F13ED2401 //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 95c87a4..185433a 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -1998,7 +1998,7 @@ data8 0xE64B4201CDF9F138 //A17
 data8 0x689186351E58AA88 //A18
 data8 0xEAD132A585DFC60A //A19
 // Polynomial coefficients for left root on [-15, -14]
-// Lgammal is aproximated by polynomial within [.157807 ; -.157807 ] range
+// Lgammal is approximated by polynomial within [.157807 ; -.157807 ] range
 data8 0xBE6D7DDE12700AC1, 0xBB1E025BF1667FB5 //A0
 data8 0xC273077763F60AD5, 0xBF2A1698184C7A9A //A1
 data8 0x44E6A1BF095B1AB3, 0x4178D5AE8A4A2874 //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 95c87a4..185433a 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -2020,7 +2020,7 @@ data8 0xEA7232C8804F32C3 //A17
 data8 0x6CF5EFEE929A0928 //A18
 data8 0xEF742EE03EC3E8FF //A19
 // Polynomial coefficients for left root on [-16, -15]
-// Lgammal is aproximated by polynomial within [.157807 ; -.157807 ] range
+// Lgammal is approximated by polynomial within [.157807 ; -.157807 ] range
 data8 0xBEDCC628FEAC7A1B, 0xBB80582C8BEBB198 //A0
 data8 0xC2B3076EE752595E, 0xBF5388F55AFAE53E //A1
 data8 0x4566A1AAD96EBCB5, 0x421F0FEFE2444293 //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 95c87a4..185433a 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -2042,7 +2042,7 @@ data8 0xEEB23234FE191D55 //A17
 data8 0x7175EF5D1080B105 //A18
 data8 0xF4342ED7B1B7BE31 //A19
 // Polynomial coefficients for left root on [-17, -16]
-// Lgammal is aproximated by polynomial within [.157807 ; -.157807 ] range
+// Lgammal is approximated by polynomial within [.157807 ; -.157807 ] range
 data8 0xBF28AEEE7B58C790, 0xBBC4448DE371FA0A //A0
 data8 0xC2F436F56B3B89B1, 0xBF636755245AC63A //A1
 data8 0x45E98A22535D115D, 0x4298467DA93DB784 //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 95c87a4..185433a 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -2064,7 +2064,7 @@ data8 0xF3096A81A69BD8AE //A17
 data8 0x76104951BAD67D5C //A18
 data8 0xF90FECC99786FD5B //A19
 // Polynomial coefficients for left root on [-18, -17]
-// Lgammal is aproximated by polynomial within [.157807 ; -.157807 ] range
+// Lgammal is approximated by polynomial within [.157807 ; -.157807 ] range
 data8 0x3F3C19A53328E26A, 0x3BE238D7BA036B3B //A0
 data8 0xC336C16C16C16C13, 0xBFEACE245DEC56F3 //A1
 data8 0x46702E85C0898B70, 0x432C922B64FD1DA4 //A2
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammal.S b/ports/sysdeps/ia64/fpu/libm_lgammal.S
index 95c87a4..185433a 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammal.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammal.S
@@ -2086,7 +2086,7 @@ data8 0xF777CB6E2B550D73 //A17
 data8 0x7AC11E468A134A51 //A18
 data8 0xFE02B6BDD0FC40AA //A19
 // Polynomial coefficients for left root on [-19, -18]
-// Lgammal is aproximated by polynomial within [.157807 ; -.157807 ] range
+// Lgammal is approximated by polynomial within [.157807 ; -.157807 ] range
 data8 0xBFAB767F9BE217FC, 0xBC4A5541CE0D8D0D //A0
 data8 0xC379999999999999, 0xC01A84981B490BE8 //A1
 data8 0x46F47AE147AE147A, 0x43AC2987BBC466EB //A2
diff --git a/ports/sysdeps/ia64/fpu/e_acoshl.S b/ports/sysdeps/ia64/fpu/e_acoshl.S
index 1ce292c..71f899e 100644
--- a/ports/sysdeps/ia64/fpu/e_acoshl.S
+++ b/ports/sysdeps/ia64/fpu/e_acoshl.S
@@ -249,7 +249,7 @@
 RODATA
 .align 64
 
-// Near 1 path rational aproximation coefficients
+// Near 1 path rational approximation coefficients
 LOCAL_OBJECT_START(Poly_P)
 data8 0xB0978143F695D40F, 0x3FF1  // .84205539791447100108478906277453574946e-4
 data8 0xB9800D841A8CAD29, 0x3FF6  // .28305085180397409672905983082168721069e-2
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S b/sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
index 989899e..6330780 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
@@ -23,7 +23,7 @@
    and if appropriate:
      __CONTEXT_ENABLE_FPRS
      __CONTEXT_ENABLE_VRS
-   Any archecture that implements the Vector unit is assumed to also
+   Any architecture that implements the Vector unit is assumed to also
    implement the floating unit.  */
 
 /* Stack frame offsets.  */
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S b/sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
index 900ce04..bedebf0 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
@@ -23,7 +23,7 @@
    and if appropriate:
      __CONTEXT_ENABLE_FPRS
      __CONTEXT_ENABLE_VRS
-   Any archecture that implements the Vector unit is assumed to also
+   Any architecture that implements the Vector unit is assumed to also
    implement the floating unit.  */
 
 /* Stack frame offsets.  */
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S b/sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
index 77e47a7..21c2e1f 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
@@ -23,7 +23,7 @@
    and if appropriate:
      __CONTEXT_ENABLE_FPRS
      __CONTEXT_ENABLE_VRS
-   Any archecture that implements the Vector unit is assumed to also
+   Any architecture that implements the Vector unit is assumed to also
    implement the floating unit.  */
 
 /* Stack frame offsets.  */
diff --git a/ports/sysdeps/mips/sys/asm.h b/ports/sysdeps/mips/sys/asm.h
index 293cf36..c0ff80a 100644
--- a/ports/sysdeps/mips/sys/asm.h
+++ b/ports/sysdeps/mips/sys/asm.h
@@ -472,7 +472,7 @@ symbol		=	value
 # define MTC0	dmtc0
 #endif
 
-/* The MIPS archtectures do not have a uniform memory model.  Particular
+/* The MIPS architectures do not have a uniform memory model.  Particular
    platforms may provide additional guarantees - for instance, the R4000
    LL and SC instructions implicitly perform a SYNC, and the 4K promises
    strong ordering.
diff --git a/ports/sysdeps/ia64/fpu/e_acoshl.S b/ports/sysdeps/ia64/fpu/e_acoshl.S
index 1ce292c..71f899e 100644
--- a/ports/sysdeps/ia64/fpu/e_acoshl.S
+++ b/ports/sysdeps/ia64/fpu/e_acoshl.S
@@ -655,7 +655,7 @@ GLOBAL_LIBM_ENTRY(acoshl)
 };;
 
 { .mfi
-      getf.d     GR_Arg       = FR_Arg        // get arument as double (int64)
+      getf.d     GR_Arg       = FR_Arg        // get argument as double (int64)
       fma.s0        FR_Two       = f1, f1, f1    // construct 2.0
       addl       GR_ad_z_1    = @ltoff(Constants_Z_1#),gp // logl tables
 }
diff --git a/ports/sysdeps/ia64/fpu/e_logf.S b/ports/sysdeps/ia64/fpu/e_logf.S
index 3d11a29..885082f 100644
--- a/ports/sysdeps/ia64/fpu/e_logf.S
+++ b/ports/sysdeps/ia64/fpu/e_logf.S
@@ -159,7 +159,7 @@
 //
 // 3. How we define is input argument such that |x-1| < 1/256 or not.
 //
-//    To do it we analyze biased exponent and significand of input argment.
+//    To do it we analyze biased exponent and significand of input argument.
 //
 //      a) First we test is biased exponent equal to 0xFFFE or 0xFFFF (i.e.
 //         we test is 0.5 <= x < 2). This comparison can be performed using
diff --git a/ports/sysdeps/ia64/fpu/libm_lgammaf.S b/ports/sysdeps/ia64/fpu/libm_lgammaf.S
index 4bd92c3..7218911 100644
--- a/ports/sysdeps/ia64/fpu/libm_lgammaf.S
+++ b/ports/sysdeps/ia64/fpu/libm_lgammaf.S
@@ -1456,7 +1456,7 @@ lgammaf_negrecursion:
       // load coefficients of polynomial approximation
       // of ln(GAMMA(x)), x is close to one of negative roots
 (p13) ldfpd         FR_R3,FR_R2 = [GR_ad_RootCo]
-      // argumenth for logarithm
+      // arguments for logarithm
 (p10) fma.s1        FR_Req = FR_Req,FR_Xp2,f0
       mov           GR_ExpMask = 0x1ffff
 }
diff --git a/stdlib/stdlib.h b/stdlib/stdlib.h
index 99a830d..813da19 100644
--- a/stdlib/stdlib.h
+++ b/stdlib/stdlib.h
@@ -927,7 +927,7 @@ extern int grantpt (int __fd) __THROW;
    Call after grantpt().  */
 extern int unlockpt (int __fd) __THROW;
 
-/* Return the pathname of the pseudo terminal slave assoicated with
+/* Return the pathname of the pseudo terminal slave associated with
    the master FD is open on, or NULL on errors.
    The returned storage is good until the next call to this function.  */
 extern char *ptsname (int __fd) __THROW __wur;
diff --git a/sysdeps/unix/bsd/ptsname.c b/sysdeps/unix/bsd/ptsname.c
index 3b22a8c..60e38d7 100644
--- a/sysdeps/unix/bsd/ptsname.c
+++ b/sysdeps/unix/bsd/ptsname.c
@@ -26,7 +26,7 @@
 static char buffer[sizeof (_PATH_TTY) + 2];
 
 
-/* Return the pathname of the pseudo terminal slave assoicated with
+/* Return the pathname of the pseudo terminal slave associated with
    the master FD is open on, or NULL on errors.
    The returned storage is good until the next call to this function.  */
 char *
diff --git a/debug/backtracesyms.c b/debug/backtracesyms.c
index 3be3dcb..7a45ea7 100644
--- a/debug/backtracesyms.c
+++ b/debug/backtracesyms.c
@@ -28,7 +28,7 @@
 #if __ELF_NATIVE_CLASS == 32
 # define WORD_WIDTH 8
 #else
-/* We assyme 64bits.  */
+/* We assume 64bits.  */
 # define WORD_WIDTH 16
 #endif
 
diff --git a/nis/nis_print.c b/nis/nis_print.c
index d24dcde..e872b20 100644
--- a/nis/nis_print.c
+++ b/nis/nis_print.c
@@ -290,7 +290,7 @@ nis_print_link (const link_obj *obj)
   fputs (_("Linked Object Type : "), stdout);
   nis_print_objtype (obj->li_rtype);
   printf (_("Linked to : %s\n"), obj->li_name);
-  /* XXX Print the attributs here, if they exists */
+  /* XXX Print the attributes here, if they exists */
 }
 libnsl_hidden_def (nis_print_link)
 
diff --git a/ports/sysdeps/unix/sysv/linux/am33/bits/fcntl.h b/ports/sysdeps/unix/sysv/linux/am33/bits/fcntl.h
index e5af260..4474838 100644
--- a/ports/sysdeps/unix/sysv/linux/am33/bits/fcntl.h
+++ b/ports/sysdeps/unix/sysv/linux/am33/bits/fcntl.h
@@ -130,7 +130,7 @@
 # define DN_CREATE	0x00000004	/* File created.  */
 # define DN_DELETE	0x00000008	/* File removed.  */
 # define DN_RENAME	0x00000010	/* File renamed.  */
-# define DN_ATTRIB	0x00000020	/* File changed attibutes.  */
+# define DN_ATTRIB	0x00000020	/* File changed attributes.  */
 # define DN_MULTISHOT	0x80000000	/* Don't remove notifier.  */
 #endif
 
diff --git a/elf/elf.h b/elf/elf.h
index f372271..fe55c92 100644
--- a/elf/elf.h
+++ b/elf/elf.h
@@ -811,7 +811,7 @@ typedef struct
 #define	DF_1_EDITED	0x00200000	/* Object is modified after built.  */
 #define	DF_1_NORELOC	0x00400000
 #define	DF_1_SYMINTPOSE	0x00800000	/* Object has individual interposers.  */
-#define	DF_1_GLOBAUDIT	0x01000000	/* Global auditin required.  */
+#define	DF_1_GLOBAUDIT	0x01000000	/* Global auditing required.  */
 #define	DF_1_SINGLETON	0x02000000	/* Singleton symbols are used.  */
 
 /* Flags for the feature selection in DT_FEATURE_1.  */
diff --git a/sysdeps/unix/sysv/linux/powerpc/libc-start.c b/sysdeps/unix/sysv/linux/powerpc/libc-start.c
index 4e6e9e9..c079901 100644
--- a/sysdeps/unix/sysv/linux/powerpc/libc-start.c
+++ b/sysdeps/unix/sysv/linux/powerpc/libc-start.c
@@ -54,7 +54,7 @@ __libc_start_main (int argc, char **argv,
       char **temp;
       /* ...in which case, we have argc as the top thing on the
          stack, followed by argv (NULL-terminated), envp (likewise),
-         and the auxilary vector.  */
+         and the auxiliary vector.  */
       /* 32/64-bit agnostic load from stack */
       argc = *(long int *) stack_on_entry;
       argv = stack_on_entry + 1;
diff --git a/resolv/res_comp.c b/resolv/res_comp.c
index c7212fa..2ff7ddb 100644
--- a/resolv/res_comp.c
+++ b/resolv/res_comp.c
@@ -81,7 +81,7 @@ static const char rcsid[] = "$BINDId: res_comp.c,v 8.15 1999/10/13 16:39:39 vixi
 
 /*
  * Expand compressed domain name 'comp_dn' to full domain name.
- * 'msg' is a pointer to the begining of the message,
+ * 'msg' is a pointer to the beginning of the message,
  * 'eomorig' points to the first location after the message,
  * 'exp_dn' is a pointer to a buffer of size 'length' for the result.
  * Return size of compressed name or -1 if there was an error.
diff --git a/sunrpc/clnt_tcp.c b/sunrpc/clnt_tcp.c
index b46905f..f4ba0ef 100644
--- a/sunrpc/clnt_tcp.c
+++ b/sunrpc/clnt_tcp.c
@@ -410,7 +410,7 @@ clnttcp_control (CLIENT *cl, int request, char *info)
       /*
        * This RELIES on the information that, in the call body,
        * the version number field is the fifth field from the
-       * begining of the RPC header. MUST be changed if the
+       * beginning of the RPC header. MUST be changed if the
        * call_struct is changed
        */
       memcpy (&ui32, ct->ct_mcall + 4 * BYTES_PER_XDR_UNIT, sizeof (ui32));
diff --git a/sunrpc/clnt_tcp.c b/sunrpc/clnt_tcp.c
index b46905f..f4ba0ef 100644
--- a/sunrpc/clnt_tcp.c
+++ b/sunrpc/clnt_tcp.c
@@ -426,7 +426,7 @@ clnttcp_control (CLIENT *cl, int request, char *info)
       /*
        * This RELIES on the information that, in the call body,
        * the program number field is the  field from the
-       * begining of the RPC header. MUST be changed if the
+       * beginning of the RPC header. MUST be changed if the
        * call_struct is changed
        */
       memcpy (&ui32, ct->ct_mcall + 3 * BYTES_PER_XDR_UNIT, sizeof (ui32));
diff --git a/sunrpc/clnt_udp.c b/sunrpc/clnt_udp.c
index 7fc0777..1b6a20b 100644
--- a/sunrpc/clnt_udp.c
+++ b/sunrpc/clnt_udp.c
@@ -598,7 +598,7 @@ clntudp_control (CLIENT *cl, int request, char *info)
       /*
        * This RELIES on the information that, in the call body,
        * the version number field is the fifth field from the
-       * begining of the RPC header. MUST be changed if the
+       * beginning of the RPC header. MUST be changed if the
        * call_struct is changed
        */
       memcpy (&ui32, cu->cu_outbuf + 4 * BYTES_PER_XDR_UNIT, sizeof (ui32));
diff --git a/sunrpc/clnt_udp.c b/sunrpc/clnt_udp.c
index 7fc0777..1b6a20b 100644
--- a/sunrpc/clnt_udp.c
+++ b/sunrpc/clnt_udp.c
@@ -614,7 +614,7 @@ clntudp_control (CLIENT *cl, int request, char *info)
       /*
        * This RELIES on the information that, in the call body,
        * the program number field is the  field from the
-       * begining of the RPC header. MUST be changed if the
+       * beginning of the RPC header. MUST be changed if the
        * call_struct is changed
        */
       memcpy (&ui32, cu->cu_outbuf + 3 * BYTES_PER_XDR_UNIT, sizeof (ui32));
diff --git a/sunrpc/clnt_unix.c b/sunrpc/clnt_unix.c
index 2ad8197..32d88b9 100644
--- a/sunrpc/clnt_unix.c
+++ b/sunrpc/clnt_unix.c
@@ -382,7 +382,7 @@ clntunix_control (CLIENT *cl, int request, char *info)
       /*
        * This RELIES on the information that, in the call body,
        * the version number field is the fifth field from the
-       * begining of the RPC header. MUST be changed if the
+       * beginning of the RPC header. MUST be changed if the
        * call_struct is changed
        */
       memcpy (&ui32, ct->ct_mcall + 4 * BYTES_PER_XDR_UNIT, sizeof (ui32));
diff --git a/sunrpc/clnt_unix.c b/sunrpc/clnt_unix.c
index 2ad8197..32d88b9 100644
--- a/sunrpc/clnt_unix.c
+++ b/sunrpc/clnt_unix.c
@@ -398,7 +398,7 @@ clntunix_control (CLIENT *cl, int request, char *info)
       /*
        * This RELIES on the information that, in the call body,
        * the program number field is the  field from the
-       * begining of the RPC header. MUST be changed if the
+       * beginning of the RPC header. MUST be changed if the
        * call_struct is changed
        */
       memcpy (&ui32, ct->ct_mcall + 3 * BYTES_PER_XDR_UNIT, sizeof (ui32));
diff --git a/ports/sysdeps/ia64/fpu/w_tgammal.S b/ports/sysdeps/ia64/fpu/w_tgammal.S
index ca60eed..b10c5dc 100644
--- a/ports/sysdeps/ia64/fpu/w_tgammal.S
+++ b/ports/sysdeps/ia64/fpu/w_tgammal.S
@@ -1629,7 +1629,7 @@ GLOBAL_LIBM_ENTRY(tgammal)
 
 { .mfi
       nop.m         0
-      fma.s1        FR_l_B14       = FR_l_B16, FR_l_Z2, FR_l_B14// bernulli tail
+      fma.s1        FR_l_B14       = FR_l_B16, FR_l_Z2, FR_l_B14// Bernoulli tail
       nop.i         0
 }
 { .mfi
diff --git a/ports/sysdeps/ia64/fpu/w_tgammal.S b/ports/sysdeps/ia64/fpu/w_tgammal.S
index ca60eed..b10c5dc 100644
--- a/ports/sysdeps/ia64/fpu/w_tgammal.S
+++ b/ports/sysdeps/ia64/fpu/w_tgammal.S
@@ -1640,18 +1640,18 @@ GLOBAL_LIBM_ENTRY(tgammal)
 
 { .mfi
       nop.m         0
-      fma.s1        FR_l_B2        = FR_l_B4, FR_l_Z2, FR_l_B2 // bernulli tail
+      fma.s1        FR_l_B2        = FR_l_B4, FR_l_Z2, FR_l_B2 // Bernoulli tail
       nop.i         0
 }
 { .mfi
       nop.m         0
-      fma.s1        FR_l_B6        = FR_l_B8, FR_l_Z2, FR_l_B6 // bernulli tail
+      fma.s1        FR_l_B6        = FR_l_B8, FR_l_Z2, FR_l_B6 // Bernoulli tail
       nop.i         0
 };;
 
 { .mfi
       nop.m         0
-      fma.s1        FR_l_B10       = FR_l_B12, FR_l_Z2, FR_l_B10// bernulli tail
+      fma.s1        FR_l_B10       = FR_l_B12, FR_l_Z2, FR_l_B10// Bernoulli tail
       nop.i         0
 }
 { .mfi
diff --git a/ports/sysdeps/ia64/fpu/w_tgammal.S b/ports/sysdeps/ia64/fpu/w_tgammal.S
index ca60eed..b10c5dc 100644
--- a/ports/sysdeps/ia64/fpu/w_tgammal.S
+++ b/ports/sysdeps/ia64/fpu/w_tgammal.S
@@ -1795,7 +1795,7 @@ GLOBAL_LIBM_ENTRY(tgammal)
 
 { .mfi
       nop.m         0
-      fma.s1        FR_l_SS        = FR_l_B10, FR_l_Z8, FR_l_B2 // bernulli tail
+      fma.s1        FR_l_SS        = FR_l_B10, FR_l_Z8, FR_l_B2 // Bernoulli tail
       nop.i         0
 };;
 
diff --git a/sysdeps/unix/sysv/linux/ifaddrs.c b/sysdeps/unix/sysv/linux/ifaddrs.c
index 5c1e380..89fda15 100644
--- a/sysdeps/unix/sysv/linux/ifaddrs.c
+++ b/sysdeps/unix/sysv/linux/ifaddrs.c
@@ -301,7 +301,7 @@ map_newlink (int index, struct ifaddrs_storage *ifas, int *map, int max)
 	return i;
     }
 
-  /* This means interfaces changed inbetween the reading of the
+  /* This means interfaces changed between the reading of the
      RTM_GETLINK and RTM_GETADDR information.  We have to repeat
      everything.  */
   return -1;
diff --git a/libidn/stringprep.c b/libidn/stringprep.c
index d109a71..72a502e 100644
--- a/libidn/stringprep.c
+++ b/libidn/stringprep.c
@@ -563,7 +563,7 @@ stringprep_profile (const char *in,
  * @STRINGPREP_CONTAINS_PROHIBITED: String contain code points
  *   prohibited by the profile.
  * @STRINGPREP_BIDI_BOTH_L_AND_RAL: String contain code points with
- *   conflicting bidirection category.
+ *   conflicting bidirectional category.
  * @STRINGPREP_BIDI_LEADTRAIL_NOT_RAL: Leading and trailing character
  *   in string not of proper bidirectional category.
  * @STRINGPREP_BIDI_CONTAINS_PROHIBITED: Contains prohibited code
diff --git a/malloc/malloc.c b/malloc/malloc.c
index be472b2..dd295f5 100644
--- a/malloc/malloc.c
+++ b/malloc/malloc.c
@@ -1167,7 +1167,7 @@ nextchunk-> +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     the malloc code, but "mem" is the pointer that is returned to the
     user.  "Nextchunk" is the beginning of the next contiguous chunk.
 
-    Chunks always begin on even word boundries, so the mem portion
+    Chunks always begin on even word boundaries, so the mem portion
     (which is returned to the user) is also on an even word boundary, and
     thus at least double-word aligned.
 
diff --git a/ports/sysdeps/ia64/fpu/e_log.S b/ports/sysdeps/ia64/fpu/e_log.S
index 3c5ebc2..d755fa5 100644
--- a/ports/sysdeps/ia64/fpu/e_log.S
+++ b/ports/sysdeps/ia64/fpu/e_log.S
@@ -134,7 +134,7 @@
 //   InvX = frcpa(x)
 //   r = InvX*x - 1
 //   P(r) = r*((r*A3 - A2) + r^4*((A4 + r*A5) + r^2*(A6 + r*A7)),
-//   all coefficients are calcutated in quad and rounded to double
+//   all coefficients are calculated in quad and rounded to double
 //   precision. A7,A6,A5,A4 are stored in memory whereas A3 and A2
 //   created with setf.
 //
diff --git a/ports/sysdeps/ia64/fpu/s_log1p.S b/ports/sysdeps/ia64/fpu/s_log1p.S
index e1e6dcc..2097328 100644
--- a/ports/sysdeps/ia64/fpu/s_log1p.S
+++ b/ports/sysdeps/ia64/fpu/s_log1p.S
@@ -103,7 +103,7 @@
 //   InvX = frcpa(x+1)
 //   r = InvX*(x+1) - 1
 //   P(r) = r*((r*A3 - A2) + r^4*((A4 + r*A5) + r^2*(A6 + r*A7)),
-//   all coefficients are calcutated in quad and rounded to double
+//   all coefficients are calculated in quad and rounded to double
 //   precision. A7,A6,A5,A4 are stored in memory whereas A3 and A2
 //   created with setf.
 //

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [PATCH 2/9] Fix typos.
  2013-08-24  7:43           ` Ondřej Bílka
@ 2013-08-28 16:07             ` Joseph S. Myers
  0 siblings, 0 replies; 24+ messages in thread
From: Joseph S. Myers @ 2013-08-28 16:07 UTC (permalink / raw)
  To: Ondřej Bílka; +Cc: libc-alpha, libc-ports

On Sat, 24 Aug 2013, Ondrej Bilka wrote:

> > This is an English variant issue and should not be included in a typo fix 
> > patch.
> > 
> Ok, v2 here

This version is OK.

-- 
Joseph S. Myers
joseph@codesourcery.com

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [PATCH 3/9] Fix typos.
  2013-08-18 22:10     ` [PATCH 1/9] " Ondřej Bílka
                         ` (2 preceding siblings ...)
  2013-08-22 13:56       ` [PATCH 2/9] " Ondřej Bílka
@ 2013-08-30 10:48       ` Ondřej Bílka
  2013-08-30 11:01         ` Will Newton
  2013-08-30 12:58       ` [PATCH 3.5/9] Fix then/than typo Ondřej Bílka
  2013-09-02  9:37       ` [PATCH 4/9] Fix typos Ondřej Bílka
  5 siblings, 1 reply; 24+ messages in thread
From: Ondřej Bílka @ 2013-08-30 10:48 UTC (permalink / raw)
  To: Joseph S. Myers; +Cc: libc-alpha, libc-ports

Third patch in series.


./nptl/ChangeLog:


	* sysdeps/pthread/pthread.h: Fix typos.
	* sysdeps/unix/sysv/linux/internaltypes.h: Likewise.
	* tst-cancel4.c: Likewise.

./ChangeLog:


	* elf/dl-open.c: Fix typos.
	* iconvdata/gbbig5.c: Likewise.
	* iconvdata/iso-2022-jp.c: Likewise.
	* iconv/gconv_int.h: Likewise.
	* iconv/loop.c: Likewise.
	* nis/rpcsvc/nis.h: Likewise.
	* resolv/ns_name.c: Likewise.
	* stdio-common/vfscanf.c: Likewise.
	* streams/stropts.h: Likewise.
	* sunrpc/rpc_thread.c: Likewise.
	* sysdeps/i386/strpbrk.S: Likewise.
	* sysdeps/ieee754/k_standard.c: Likewise.
	* sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
	* sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
	* sysdeps/mach/hurd/dl-sysdep.c: Likewise.
	* sysdeps/mach/hurd/profil.c: Likewise.
	* sysdeps/s390/dl-procinfo.h: Likewise.
	* sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
	* sysdeps/x86_64/dl-trampoline.S: Likewise.
	* sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.

./localedata/ChangeLog:


	* tests-mbwc/dat_wcsncat.c: Fix typos.
	* tests/test6.c: Likewise.
	* tst-digits.c: Likewise.

./ports/ChangeLog.ia64:


	* sysdeps/ia64/fpu/libm_reduce.S: Fix typos.
	* sysdeps/ia64/fpu/s_erfcf.S: Likewise.
	* sysdeps/ia64/fpu/s_erfcl.S: Likewise.
	* sysdeps/ia64/fpu/s_erfc.S: Likewise.
	* sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Likewise.

./ports/ChangeLog.alpha:


	* sysdeps/unix/sysv/linux/alpha/bits/netdb.h: Fix typos.

./ports/ChangeLog.unix:


	* sysdeps/ia64/fpu/e_logf.S: Fix typos.

./ports/ChangeLog.mips:


	* sysdeps/mips/memcpy.S: Fix typos.

./ports/ChangeLog.hppa:


	* sysdeps/unix/sysv/linux/hppa/clone.S: Fix typos.
	* sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Likewise.

./ports/ChangeLog.powerpc:


	* sysdeps/powerpc/powerpc32/405/memcpy.S: Fix typos.

---

                         \n-/* Hardware capablity bit numbers are derived direct
                         \n+/* Hardware capability bit numbers are derived direc
                                             ^                                 
ts.  This makes sure that the multibyte chracter digit \n representations are no
ts.  This makes sure that the multibyte character digit \n representations are n
                                          ^                                    
*  Note: \n-*   A terminating null wide chararacter is always appended to \n *  
*  Note: \n+*   A terminating null wide character is always appended to \n *   t
                                         ^   ^                                 
ing was found \n-But as a sign that the chracter is in the stopset we store its 
ing was found \n+But as a sign that the character is in the stopset we store its
                                          ^                                    
SASCII (per the DNS spec), \n-* is this characted special ("in need of quoting")
SASCII (per the DNS spec), \n+* is this character special ("in need of quoting")
                                                ^                              
                  \n-/* $$dyncall fixes childs PIC register */ \n               
                  \n+/* $$dyncall fixes children PIC register */ \n             
                                             ^ ^                               
                           \n-/* In the childs, unlock the interlock, and start 
                           \n+/* In the children, unlock the interlock, and star
                                             ^ ^                               
The WRITE_BUFFER_SIZE value needs to be choosen such that if we set \n the socke
The WRITE_BUFFER_SIZE value needs to be chosen such that if we set \n the socket
                                         ^ ^                                   
string_copy): /* Check how many 32 byte chunck to copy */ \n srwi.   r7,r5,4    
string_copy): /* Check how many 32 byte chunk to copy */ \n srwi.   r7,r5,4     
                                           ^^                                  
                \n-/* Chebyshev polynom coeficients for (exp(x)-1)/x */ \n #defi
                \n+/* Chebyshev polynom coefficients for (exp(x)-1)/x */ \n #def
                                           ^^                                  
                \n-/* Chebyshev polynom coeficients for (exp(x)-1)/x */ \n #defi
                \n+/* Chebyshev polynom coefficients for (exp(x)-1)/x */ \n #def
                                           ^^                                  
rounded to 16 bits. \n-//    Polynomial coeffitients for Q(z) we have in the tab
rounded to 16 bits. \n+//    Polynomial coefficients for Q(z) we have in the tab
                                              ^                                
= z <= x(i+1)-x(i). \n-//    Polynomial coeffitients we have in the table erfc_p
= z <= x(i+1)-x(i). \n+//    Polynomial coefficients we have in the table erfc_p
                                              ^                                
x(i+1), i = 0,1,2,3 \n-//    Polynomial coeffitients we have in the table erfc_p
x(i+1), i = 0,1,2,3 \n+//    Polynomial coefficients we have in the table erfc_p
                                              ^                                
r11 \n-jbe LABEL(strcmp_exitz)/* finish comparision */ \n #endif                
r11 \n+jbe LABEL(strcmp_exitz)/* finish comparison */ \n #endif                 
                                               ^^                              
pcmpistri to do the scanning and string comparsion requirements of \n sub-string
pcmpistri to do the scanning and string comparison requirements of \n sub-string
                                              ^^                               
_exponent_of_x - 0xFFFE \n-// needed to comparion with 0.5 and 2.0 \n br.cond.sp
_exponent_of_x - 0xFFFE \n+// needed to comparison with 0.5 and 2.0 \n br.cond.s
                                               ^                               
_exponent_of_x - 0xFFFE \n-// needed to comparion with 0.5 and 2.0 \n }         
_exponent_of_x - 0xFFFE \n+// needed to comparison with 0.5 and 2.0 \n }        
                                               ^                               
. \n-This is to provide backward binary compatility for existing \n audit module
. \n+This is to provide backward binary compatibility for existing \n audit modu
                                               ^                               
l variable.  This \n-provides backwards compatability for existing applications 
l variable.  This \n+provides backwards compatibility for existing applications 
                                              ^                                
 test macros are \n-* here for backward compatability, and will be not be presen
 test macros are \n+* here for backward compatibility, and will be not be presen
                                              ^                                
IBC_2_0, GLIBC_2_1) \n-/* Compiling for compatibiity.  */ \n int                
IBC_2_0, GLIBC_2_1) \n+/* Compiling for compatibility.  */ \n int               
                                                 ^                             
IBC_2_0, GLIBC_2_1) \n-/* Compiling for compatibiity.  */ \n int                
IBC_2_0, GLIBC_2_1) \n+/* Compiling for compatibility.  */ \n int               
                                                 ^                             
ion until \n-runtime but produce NaN at copile time.  This is wrong since the \n
ion until \n+runtime but produce NaN at compile time.  This is wrong since the \
                                          ^                                    
2K \n-/* Get the clock selected for the conditon variable attribute ATTR.  */ \n
2K \n+/* Get the clock selected for the condition variable attribute ATTR.  */ \
                                              ^                                
   \n-/* Set the clock selected for the conditon variable attribute ATTR.  */ \n
   \n+/* Set the clock selected for the condition variable attribute ATTR.  */ \
                                              ^                                
2K \n-/* Get the clock selected for the conditon variable attribute ATTR.  */ \n
2K \n+/* Get the clock selected for the condition variable attribute ATTR.  */ \
                                              ^                                
   \n-/* Set the clock selected for the conditon variable attribute ATTR.  */ \n
   \n+/* Set the clock selected for the condition variable attribute ATTR.  */ \
                                              ^                                
               \n-Bit 0  : flag whether coditional variable will be shareable be
               \n+Bit 0  : flag whether conditional variable will be sharable be
                                          ^                             ^      
                          / \n-//    No condions should be raised. \n //        
                          / \n+//    No conditions should be raised. \n //      
                                             ^                                 
              \n-/* Get system specific contants.  */ \n #include <bits/stropts.
              \n+/* Get system specific constants.  */ \n #include <bits/stropts
                                           ^                                   
 of init-first.  */ \n-/* This variable containts the lowest stack address ever 
 of init-first.  */ \n+/* This variable contains the lowest stack address ever u
                                              ^^                               
maps in all namespaces for the DSO that containes the object at \n address ADDR.
maps in all namespaces for the DSO that contains the object at \n address ADDR. 
                                              ^^                               
      / \n-// In memory, 2/pi is stored contigously as \n //                    
      / \n+// In memory, 2/pi is stored contiguously as \n //                   
                                              ^                                
 := 2 lsb of x. \n-//    2/pi is stored contigously as \n //    0x00000000 0x000
 := 2 lsb of x. \n+//    2/pi is stored contiguously as \n //    0x00000000 0x00
                                              ^                                
 cross from one stack to another. \n-In constrast, the __sigstack_longjmp() impl
 cross from one stack to another. \n+In contrast, the __sigstack_longjmp() imple
                                          ^^                                   
_LOOP_DECLS extra arguments passed from converion loop call. \n                 
_LOOP_DECLS extra arguments passed from conversion loop call. \n                
                                              ^                                
                * \n-* This module does convertions between gb2312 and big5 enco
                * \n+* This module does conversions between gb2312 and big5 enco
                                              ^                                
     \n-/* How many character should be conveted in one call?  */ \n #define GCO
     \n+/* How many character should be converted in one call?  */ \n #define GC
                                             ^                                 
-* hint is used, the code will not work corrrectly.  If PREPAREFORSTORE is not \
+* hint is used, the code will not work correctly.  If PREPAREFORSTORE is not \n
                                         ^  ^                                  
\n-in the repertoire map has the normal correspondants.  This test \n shows the 
\n+in the repertoire map has the normal correspondents.  This test \n shows the 
                                                  ^                            
 to read two to three more        \ \n-chracters.  If we have a match in the fir
 to read two to three more        \ \n+characters.  If we have a match in the fi
                                         ^                                     
_LIMIT is set based on the fact that we neve use an offset greater \n * then 5 o
_LIMIT is set based on the fact that we never use an offset greater \n * then 5 
                                            ^                                  
e uint32_t for the field and ensure \n-compatiblity by adding appropriate paddin
e uint32_t for the field and ensure \n+compatibility by adding appropriate paddi
                                               ^                               
 clobbered by calls, we need not be \n-concernred about those, and thus is all c
 clobbered by calls, we need not be \n+concerned about those, and thus is all co
                                             ^^                                
ecking against localized digits, if \n-convertion is done correctly. */ \n while
ecking against localized digits, if \n+conversion is done correctly. */ \n while
                                             ^                                 
o use them later for evaluating the \n-correspoding back references.  */ \n     
o use them later for evaluating the \n+corresponding back references.  */ \n    
                                               ^                               
diff --git a/sysdeps/s390/dl-procinfo.h b/sysdeps/s390/dl-procinfo.h
index 45e27f1..65f037b 100644
--- a/sysdeps/s390/dl-procinfo.h
+++ b/sysdeps/s390/dl-procinfo.h
@@ -31,7 +31,7 @@
 #define _DL_HWCAP_PLATFORM	(((1ULL << _DL_PLATFORMS_COUNT) - 1) \
 				 << _DL_FIRST_PLATFORM)
 
-/* Hardware capablity bit numbers are derived directly from the
+/* Hardware capability bit numbers are derived directly from the
    facility indications as stored by the "store facility list" (STFL)
    instruction.
    highgprs is an alien in that list.  It describes a *kernel*
diff --git a/localedata/tst-digits.c b/localedata/tst-digits.c
index a0cb473..c5b594e 100644
--- a/localedata/tst-digits.c
+++ b/localedata/tst-digits.c
@@ -178,7 +178,7 @@ main (void)
   printf ("%d failures in wprintf tests\n", failures);
   status = failures != 0;
 
-  /* ctype tests.  This makes sure that the multibyte chracter digit
+  /* ctype tests.  This makes sure that the multibyte character digit
      representations are not handle in this table.  */
   failures = 0;
   for (cnt = 0; cnt < 256; ++cnt)
diff --git a/localedata/tests-mbwc/dat_wcsncat.c b/localedata/tests-mbwc/dat_wcsncat.c
index 948d80c..8487033 100644
--- a/localedata/tests-mbwc/dat_wcsncat.c
+++ b/localedata/tests-mbwc/dat_wcsncat.c
@@ -9,7 +9,7 @@
 
 /*
  *  Note:
- *	  A terminating null wide chararacter is always appended to
+ *	  A terminating null wide character is always appended to
  *	  the result: ws1.
  *
  */
diff --git a/sysdeps/i386/strpbrk.S b/sysdeps/i386/strpbrk.S
index bbc0cbe..246ae27 100644
--- a/sysdeps/i386/strpbrk.S
+++ b/sysdeps/i386/strpbrk.S
@@ -205,7 +205,7 @@ L(1):	leal -4(%edx), %eax	/* prepare loop */
 	   1. a character in the stopset was found
 	   and
 	   2. the end of the string was found
-	   But as a sign that the chracter is in the stopset we store its
+	   But as a sign that the character is in the stopset we store its
 	   value in the table.  But the value of NUL is NUL so the loop
 	   terminates for NUL in every case.  */
 
diff --git a/resolv/ns_name.c b/resolv/ns_name.c
index 246307a..f355cf3 100644
--- a/resolv/ns_name.c
+++ b/resolv/ns_name.c
@@ -681,7 +681,7 @@ libresolv_hidden_def (ns_name_skip)
 
 /*%
  *	Thinking in noninternationalized USASCII (per the DNS spec),
- *	is this characted special ("in need of quoting") ?
+ *	is this character special ("in need of quoting") ?
  *
  * return:
  *\li	boolean.
diff --git a/iconvdata/iso-2022-jp.c b/iconvdata/iso-2022-jp.c
index ce66121..7fb513f 100644
--- a/iconvdata/iso-2022-jp.c
+++ b/iconvdata/iso-2022-jp.c
@@ -271,7 +271,7 @@ gconv_end (struct __gconv_step *data)
     if (__builtin_expect (ch, 0) == ESC)				      \
       {									      \
 	/* We now must be prepared to read two to three more		      \
-	   chracters.  If we have a match in the first character but	      \
+	   characters.  If we have a match in the first character but	      \
 	   then the input buffer ends we terminate with an error since	      \
 	   we must not risk missing an escape sequence just because it	      \
 	   is not entirely in the current input buffer.  */		      \
diff --git a/ports/sysdeps/unix/sysv/linux/hppa/clone.S b/ports/sysdeps/unix/sysv/linux/hppa/clone.S
index 0d7a7eb..1b39bb2 100644
--- a/ports/sysdeps/unix/sysv/linux/hppa/clone.S
+++ b/ports/sysdeps/unix/sysv/linux/hppa/clone.S
@@ -155,7 +155,7 @@ ENTRY(__clone)
 	ldw	-60(%sp), %arg0
 	ldw     -64(%sp), %r22
 
-	/* $$dyncall fixes childs PIC register */
+	/* $$dyncall fixes children PIC register */
 
 	/* Call the user's function */
 #ifdef PIC
diff --git a/sysdeps/mach/hurd/profil.c b/sysdeps/mach/hurd/profil.c
index fee244a..4161b9d 100644
--- a/sysdeps/mach/hurd/profil.c
+++ b/sysdeps/mach/hurd/profil.c
@@ -216,7 +216,7 @@ fork_profil_parent (void)
 }
 text_set_element (_hurd_fork_parent_hook, fork_profil_parent);
 
-/* In the childs, unlock the interlock, and start a profiling thread up
+/* In the children, unlock the interlock, and start a profiling thread up
    if necessary. */
 static void
 fork_profil_child (void)
diff --git a/nptl/tst-cancel4.c b/nptl/tst-cancel4.c
index 6d25e48..6ef654a 100644
--- a/nptl/tst-cancel4.c
+++ b/nptl/tst-cancel4.c
@@ -83,7 +83,7 @@ static pthread_barrier_t b2;
 # define IPC_ADDVAL 0
 #endif
 
-/* The WRITE_BUFFER_SIZE value needs to be choosen such that if we set
+/* The WRITE_BUFFER_SIZE value needs to be chosen such that if we set
    the socket send buffer size to '1', a write of this size on that
    socket will block.
 
diff --git a/ports/sysdeps/powerpc/powerpc32/405/memcpy.S b/ports/sysdeps/powerpc/powerpc32/405/memcpy.S
index 761e967..9cdaa85 100644
--- a/ports/sysdeps/powerpc/powerpc32/405/memcpy.S
+++ b/ports/sysdeps/powerpc/powerpc32/405/memcpy.S
@@ -98,7 +98,7 @@ L(string_count_loop): /* Copy odd 0-31 bytes */
        lswx    r6,0,r4
        stswx   r6,0,r3
 
-L(pre_string_copy): /* Check how many 32 byte chunck to copy */
+L(pre_string_copy): /* Check how many 32 byte chunk to copy */
        srwi.   r7,r5,4
        beq     L(end_memcpy)
        mtctr   r7
diff --git a/sysdeps/ieee754/ldbl-128/e_expl.c b/sysdeps/ieee754/ldbl-128/e_expl.c
index 589f957..23c204c 100644
--- a/sysdeps/ieee754/ldbl-128/e_expl.c
+++ b/sysdeps/ieee754/ldbl-128/e_expl.c
@@ -117,7 +117,7 @@ static const long double C[] = {
 #define TWO15 C[11]
  32768.0L,
 
-/* Chebyshev polynom coeficients for (exp(x)-1)/x */
+/* Chebyshev polynom coefficients for (exp(x)-1)/x */
 #define P1 C[12]
 #define P2 C[13]
 #define P3 C[14]
diff --git a/sysdeps/ieee754/ldbl-128ibm/e_expl.c b/sysdeps/ieee754/ldbl-128ibm/e_expl.c
index b599f36..1b994cd 100644
--- a/sysdeps/ieee754/ldbl-128ibm/e_expl.c
+++ b/sysdeps/ieee754/ldbl-128ibm/e_expl.c
@@ -116,7 +116,7 @@ static const long double C[] = {
 #define TWO15 C[11]
  32768.0L,
 
-/* Chebyshev polynom coeficients for (exp(x)-1)/x */
+/* Chebyshev polynom coefficients for (exp(x)-1)/x */
 #define P1 C[12]
 #define P2 C[13]
 #define P3 C[14]
diff --git a/ports/sysdeps/ia64/fpu/s_erfcl.S b/ports/sysdeps/ia64/fpu/s_erfcl.S
index b9f7004..79b94a8 100644
--- a/ports/sysdeps/ia64/fpu/s_erfcl.S
+++ b/ports/sysdeps/ia64/fpu/s_erfcl.S
@@ -71,7 +71,7 @@
 //    -0.5*[x(i+1)-x(i)] <= z <= 0.5*[x(i+1)-x(i)].
 //
 //    Let  Q(z)= (P(z)- S)/S, S = a0, rounded to 16 bits.
-//    Polynomial coeffitients for Q(z) we have in the table erfc_Q_table as
+//    Polynomial coefficients for Q(z) we have in the table erfc_Q_table as
 //    long double values
 //
 //    We use multi precision to calculate input argument -x^2 for expl and
diff --git a/ports/sysdeps/ia64/fpu/s_erfc.S b/ports/sysdeps/ia64/fpu/s_erfc.S
index c67c61a..6729cda 100644
--- a/ports/sysdeps/ia64/fpu/s_erfc.S
+++ b/ports/sysdeps/ia64/fpu/s_erfc.S
@@ -65,7 +65,7 @@
 //
 //    Let P14(z) - polynomial approximation of degree 14 for function
 //    erfc(z+x(i)) * exp( (z+x(i))^2) and 0 <= z <= x(i+1)-x(i).
-//    Polynomial coeffitients we have in the table erfc_p_table.
+//    Polynomial coefficients we have in the table erfc_p_table.
 //
 //    So we can find result for erfc(x) as above.
 //    Algorithm description for exp function see below.
diff --git a/ports/sysdeps/ia64/fpu/s_erfcf.S b/ports/sysdeps/ia64/fpu/s_erfcf.S
index ce6be8d..97c9037 100644
--- a/ports/sysdeps/ia64/fpu/s_erfcf.S
+++ b/ports/sysdeps/ia64/fpu/s_erfcf.S
@@ -63,7 +63,7 @@
 //
 //    Let P15(x) - polynomial approximation of degree 15 for function
 //    erfcf(x) * exp( x^2) and x(i) <= x <= x(i+1), i = 0,1,2,3
-//    Polynomial coeffitients we have in the table erfc_p_table.
+//    Polynomial coefficients we have in the table erfc_p_table.
 //
 //    So we can find result for erfcf(x) as above.
 //    Algorithm description for exp function see below.
diff --git a/sysdeps/x86_64/multiarch/strcmp-sse42.S b/sysdeps/x86_64/multiarch/strcmp-sse42.S
index a503e92..c84f1c2 100644
--- a/sysdeps/x86_64/multiarch/strcmp-sse42.S
+++ b/sysdeps/x86_64/multiarch/strcmp-sse42.S
@@ -206,7 +206,7 @@ LABEL(touppermask):
 	jnz	LABEL(less16bytes)/* If not, find different value or null char */
 #if defined USE_AS_STRNCMP || defined USE_AS_STRNCASECMP_L
 	sub	$16, %r11
-	jbe	LABEL(strcmp_exitz)/* finish comparision */
+	jbe	LABEL(strcmp_exitz)/* finish comparison */
 #endif
 	add	$16, %rsi		/* prepare to search next 16 bytes */
 	add	$16, %rdi		/* prepare to search next 16 bytes */
diff --git a/ports/sysdeps/ia64/fpu/e_logf.S b/ports/sysdeps/ia64/fpu/e_logf.S
index 3d11a29..522e7b2 100644
--- a/ports/sysdeps/ia64/fpu/e_logf.S
+++ b/ports/sysdeps/ia64/fpu/e_logf.S
@@ -838,7 +838,7 @@ GLOBAL_IEEE754_ENTRY(log10f)
 { .mib
       setf.exp      FR_A2 = GR_05 // create A2
       sub           GR_de = GR_Exp,GR_05 // biased_exponent_of_x - 0xFFFE
-                                         // needed to comparion with 0.5 and 2.0
+                                         // needed to comparison with 0.5 and 2.0
       br.cond.sptk  logf_log10f_common
 };;
 GLOBAL_IEEE754_END(log10f)
diff --git a/ports/sysdeps/ia64/fpu/e_logf.S b/ports/sysdeps/ia64/fpu/e_logf.S
index 3d11a29..522e7b2 100644
--- a/ports/sysdeps/ia64/fpu/e_logf.S
+++ b/ports/sysdeps/ia64/fpu/e_logf.S
@@ -873,7 +873,7 @@ GLOBAL_IEEE754_ENTRY(logf)
       setf.d        FR_A3 = GR_A3 // create A3
       fcmp.eq.s1    p13,p14 = f0,f0 // p13 - true for logf
       sub           GR_de = GR_Exp,GR_05 // biased_exponent_of_x - 0xFFFE
-                                         // needed to comparion with 0.5 and 2.0
+                                         // needed to comparison with 0.5 and 2.0
 }
 { .mlx
       setf.exp      FR_A2 = GR_05 // create A2
diff --git a/ports/sysdeps/unix/sysv/linux/alpha/bits/netdb.h b/ports/sysdeps/unix/sysv/linux/alpha/bits/netdb.h
index b9437ff..65f76fd 100644
--- a/ports/sysdeps/unix/sysv/linux/alpha/bits/netdb.h
+++ b/ports/sysdeps/unix/sysv/linux/alpha/bits/netdb.h
@@ -29,6 +29,6 @@ struct netent
   char **n_aliases;		/* Alias list.  */
   int n_addrtype;		/* Net address type.  */
   /* XXX We should probably use uint32_t for the field and ensure
-     compatiblity by adding appropriate padding.  */
+     compatibility by adding appropriate padding.  */
   unsigned long	int n_net;	/* Network number.  */
 };
diff --git a/sysdeps/x86_64/dl-trampoline.S b/sysdeps/x86_64/dl-trampoline.S
index 5770c64..a25e390 100644
--- a/sysdeps/x86_64/dl-trampoline.S
+++ b/sysdeps/x86_64/dl-trampoline.S
@@ -119,7 +119,7 @@ _dl_runtime_profile:
 	movq %rax, LR_RSP_OFFSET(%rsp)
 
 	/* We always store the XMM registers even if AVX is available.
-	   This is to provide backward binary compatility for existing
+	   This is to provide backward binary compatibility for existing
 	   audit modules.  */
 	movaps %xmm0,		   (LR_XMM_OFFSET)(%rsp)
 	movaps %xmm1, (LR_XMM_OFFSET +   XMM_SIZE)(%rsp)
diff --git a/sunrpc/rpc_thread.c b/sunrpc/rpc_thread.c
index 94d9f1f..fee47f7 100644
--- a/sunrpc/rpc_thread.c
+++ b/sunrpc/rpc_thread.c
@@ -80,7 +80,7 @@ __rpc_thread_variables (void)
 
 /* Global variables If we're single-threaded, or if this is the first
    thread using the variable, use the existing global variable.  This
-   provides backwards compatability for existing applications which
+   provides backwards compatibility for existing applications which
    dynamically link against this code.  */
 #undef svc_fdset
 #undef rpc_createerr
diff --git a/nis/rpcsvc/nis.h b/nis/rpcsvc/nis.h
index 5c5c7bb..933c4d9 100644
--- a/nis/rpcsvc/nis.h
+++ b/nis/rpcsvc/nis.h
@@ -470,7 +470,7 @@ typedef struct fd_result fd_result;
 #define NIS_NOBODY(a, m)       (((a) & ((m) << 24)) != 0)
 /*
  * EOL Alert - The following non-prefixed test macros are
- * here for backward compatability, and will be not be present
+ * here for backward compatibility, and will be not be present
  * in future releases - use the NIS_*() macros above.
  */
 #define WORLD(a, m)	(((a) & (m)) != 0)
diff --git a/sysdeps/unix/sysv/linux/i386/chown.c b/sysdeps/unix/sysv/linux/i386/chown.c
index 94f2940..5fa6402 100644
--- a/sysdeps/unix/sysv/linux/i386/chown.c
+++ b/sysdeps/unix/sysv/linux/i386/chown.c
@@ -49,7 +49,7 @@ __real_chown (const char *file, uid_t owner, gid_t group)
 
 
 #if SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)
-/* Compiling for compatibiity.  */
+/* Compiling for compatibility.  */
 int
 attribute_compat_text_section
 __chown_is_lchown (const char *file, uid_t owner, gid_t group)
diff --git a/sysdeps/unix/sysv/linux/s390/s390-32/chown.c b/sysdeps/unix/sysv/linux/s390/s390-32/chown.c
index cd0cb74..7fbd28a 100644
--- a/sysdeps/unix/sysv/linux/s390/s390-32/chown.c
+++ b/sysdeps/unix/sysv/linux/s390/s390-32/chown.c
@@ -46,7 +46,7 @@ __real_chown (const char *file, uid_t owner, gid_t group)
 
 
 #if SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)
-/* Compiling for compatibiity.  */
+/* Compiling for compatibility.  */
 int
 attribute_compat_text_section
 __chown_is_lchown (const char *file, uid_t owner, gid_t group)
diff --git a/sysdeps/ieee754/k_standard.c b/sysdeps/ieee754/k_standard.c
index 150921f..4a0d82d 100644
--- a/sysdeps/ieee754/k_standard.c
+++ b/sysdeps/ieee754/k_standard.c
@@ -31,7 +31,7 @@ static char rcsid[] = "$NetBSD: k_standard.c,v 1.6 1995/05/10 20:46:35 jtc Exp $
 #endif	/* !defined(_USE_WRITE) */
 
 /* XXX gcc versions until now don't delay the 0.0/0.0 division until
-   runtime but produce NaN at copile time.  This is wrong since the
+   runtime but produce NaN at compile time.  This is wrong since the
    exceptions are not set correctly.  */
 #if 0
 static const double zero = 0.0;	/* used as const */
diff --git a/sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c b/sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c
index bd3d4f9..5e64efa 100644
--- a/sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c
+++ b/sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c
@@ -28,7 +28,7 @@
    Returning to the correct parent context is pretty simple on
    Sparc.  We only need to link up the register windows correctly.
    Since global registers are clobbered by calls, we need not be
-   concernred about those, and thus is all could be worked out without
+   concerned about those, and thus is all could be worked out without
    using a trampoline.
 
    Except that we must deal with the signal mask, thus a trampoline
diff --git a/nptl/sysdeps/pthread/pthread.h b/nptl/sysdeps/pthread/pthread.h
index 61d5346..b58f60e 100644
--- a/nptl/sysdeps/pthread/pthread.h
+++ b/nptl/sysdeps/pthread/pthread.h
@@ -1034,13 +1034,13 @@ extern int pthread_condattr_setpshared (pthread_condattr_t *__attr,
 					int __pshared) __THROW __nonnull ((1));
 
 #ifdef __USE_XOPEN2K
-/* Get the clock selected for the conditon variable attribute ATTR.  */
+/* Get the clock selected for the condition variable attribute ATTR.  */
 extern int pthread_condattr_getclock (const pthread_condattr_t *
 				      __restrict __attr,
 				      __clockid_t *__restrict __clock_id)
      __THROW __nonnull ((1, 2));
 
-/* Set the clock selected for the conditon variable attribute ATTR.  */
+/* Set the clock selected for the condition variable attribute ATTR.  */
 extern int pthread_condattr_setclock (pthread_condattr_t *__attr,
 				      __clockid_t __clock_id)
      __THROW __nonnull ((1));
diff --git a/ports/sysdeps/unix/sysv/linux/hppa/nptl/pthread.h b/ports/sysdeps/unix/sysv/linux/hppa/nptl/pthread.h
index 70e0604..39e1ab9 100644
--- a/ports/sysdeps/unix/sysv/linux/hppa/nptl/pthread.h
+++ b/ports/sysdeps/unix/sysv/linux/hppa/nptl/pthread.h
@@ -1014,13 +1014,13 @@ extern int pthread_condattr_setpshared (pthread_condattr_t *__attr,
 					int __pshared) __THROW __nonnull ((1));
 
 #ifdef __USE_XOPEN2K
-/* Get the clock selected for the conditon variable attribute ATTR.  */
+/* Get the clock selected for the condition variable attribute ATTR.  */
 extern int pthread_condattr_getclock (const pthread_condattr_t *
 				      __restrict __attr,
 				      __clockid_t *__restrict __clock_id)
      __THROW __nonnull ((1, 2));
 
-/* Set the clock selected for the conditon variable attribute ATTR.  */
+/* Set the clock selected for the condition variable attribute ATTR.  */
 extern int pthread_condattr_setclock (pthread_condattr_t *__attr,
 				      __clockid_t __clock_id)
      __THROW __nonnull ((1));
diff --git a/nptl/sysdeps/unix/sysv/linux/internaltypes.h b/nptl/sysdeps/unix/sysv/linux/internaltypes.h
index 699a618..a7ee3fe 100644
--- a/nptl/sysdeps/unix/sysv/linux/internaltypes.h
+++ b/nptl/sysdeps/unix/sysv/linux/internaltypes.h
@@ -66,7 +66,7 @@ struct pthread_condattr
 {
   /* Combination of values:
 
-     Bit 0  : flag whether coditional variable will be shareable between
+     Bit 0  : flag whether conditional variable will be sharable between
 	      processes.
 
      Bit 1-7: clock ID.  */
diff --git a/ports/sysdeps/ia64/fpu/libm_reduce.S b/ports/sysdeps/ia64/fpu/libm_reduce.S
index 8bdf91d..8b13249 100644
--- a/ports/sysdeps/ia64/fpu/libm_reduce.S
+++ b/ports/sysdeps/ia64/fpu/libm_reduce.S
@@ -75,7 +75,7 @@
 //
 // IEEE Special Conditions:
 //
-//    No condions should be raised.
+//    No conditions should be raised.
 //
 //*********************************************************************
 //
diff --git a/streams/stropts.h b/streams/stropts.h
index 7988602..5af61dc 100644
--- a/streams/stropts.h
+++ b/streams/stropts.h
@@ -35,7 +35,7 @@ typedef __uid_t uid_t;
 typedef __t_scalar_t t_scalar_t;
 typedef __t_uscalar_t t_uscalar_t;
 
-/* Get system specific contants.  */
+/* Get system specific constants.  */
 #include <bits/stropts.h>
 
 
diff --git a/sysdeps/mach/hurd/dl-sysdep.c b/sysdeps/mach/hurd/dl-sysdep.c
index d85c22a..1788ede 100644
--- a/sysdeps/mach/hurd/dl-sysdep.c
+++ b/sysdeps/mach/hurd/dl-sysdep.c
@@ -54,7 +54,7 @@ int __libc_enable_secure = 0;
 INTVARDEF(__libc_enable_secure)
 int __libc_multiple_libcs = 0;	/* Defining this here avoids the inclusion
 				   of init-first.  */
-/* This variable containts the lowest stack address ever used.  */
+/* This variable contains the lowest stack address ever used.  */
 void *__libc_stack_end;
 
 #if HP_TIMING_AVAIL
diff --git a/elf/dl-open.c b/elf/dl-open.c
index 24d6a70..1403c8c 100644
--- a/elf/dl-open.c
+++ b/elf/dl-open.c
@@ -158,7 +158,7 @@ add_to_global (struct link_map *new)
   return 0;
 }
 
-/* Search link maps in all namespaces for the DSO that containes the object at
+/* Search link maps in all namespaces for the DSO that contains the object at
    address ADDR.  Returns the pointer to the link map of the matching DSO, or
    NULL if a match is not found.  */
 struct link_map *
diff --git a/ports/sysdeps/ia64/fpu/libm_reduce.S b/ports/sysdeps/ia64/fpu/libm_reduce.S
index 8bdf91d..8b13249 100644
--- a/ports/sysdeps/ia64/fpu/libm_reduce.S
+++ b/ports/sysdeps/ia64/fpu/libm_reduce.S
@@ -288,7 +288,7 @@
 //
 // Set sgn_x := sign(x); x := |x|; x_lo := 2 lsb of x.
 //
-// In memory, 2/pi is stored contigously as
+// In memory, 2/pi is stored contiguously as
 //
 //  0x00000000 0x00000000 0xA2F....
 //                       ^
diff --git a/ports/sysdeps/ia64/fpu/libm_reduce.S b/ports/sysdeps/ia64/fpu/libm_reduce.S
index 8bdf91d..8b13249 100644
--- a/ports/sysdeps/ia64/fpu/libm_reduce.S
+++ b/ports/sysdeps/ia64/fpu/libm_reduce.S
@@ -786,7 +786,7 @@ __libm_pi_by_2_reduce:
 //          setf.sig FR_ScaleP3 = GR_x_lo
 //          fmerge.se FR_X = FR_X,FR_ScaleP3
 //    Set sgn_x := sign(x); x := |x|; x_lo := 2 lsb of x.
-//    2/pi is stored contigously as
+//    2/pi is stored contiguously as
 //    0x00000000 0x00000000.0xA2F....
 //    M = EXP - BIAS  ( M >= 63)
 //    Given x = 2^m * 1.xxxx...xxx; we calculate L := 62 - m.
diff --git a/ports/sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c b/ports/sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c
index efe95b1..9d263f2 100644
--- a/ports/sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c
+++ b/ports/sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c
@@ -19,7 +19,7 @@
 /* The public __longjmp() implementation is limited to jumping within
    the same stack.  That is, in general it is not possible to use this
    __longjmp() implementation to cross from one stack to another.
-   In constrast, the __sigstack_longjmp() implemented here allows
+   In contrast, the __sigstack_longjmp() implemented here allows
    crossing from the alternate signal stack to the normal stack
    as a special case.  */
 
diff --git a/stdio-common/vfscanf.c b/stdio-common/vfscanf.c
index 3430567..78dc2fc 100644
--- a/stdio-common/vfscanf.c
+++ b/stdio-common/vfscanf.c
@@ -2185,7 +2185,7 @@ _IO_vfscanf_internal (_IO_FILE *s, const char *format, _IO_va_list argptr,
 		    }
 
 		  /* Start checking against localized digits, if
-		     convertion is done correctly. */
+		     conversion is done correctly. */
 		  while (1)
 		    {
 		      if (got_e && wp[wpsize - 1] == exp_char
diff --git a/iconv/loop.c b/iconv/loop.c
index 46bfdbb..ad0181f 100644
--- a/iconv/loop.c
+++ b/iconv/loop.c
@@ -38,7 +38,7 @@
      BODY		this is supposed to expand to the body of the loop.
 			The user must provide this.
 
-     EXTRA_LOOP_DECLS	extra arguments passed from converion loop call.
+     EXTRA_LOOP_DECLS	extra arguments passed from conversion loop call.
 
      INIT_PARAMS	code to define and initialize variables from params.
      UPDATE_PARAMS	code to store result in params.
diff --git a/iconvdata/gbbig5.c b/iconvdata/gbbig5.c
index c08a2c1..bb75fa7 100644
--- a/iconvdata/gbbig5.c
+++ b/iconvdata/gbbig5.c
@@ -22,7 +22,7 @@
 #include <stdint.h>
 
 /*
- * This module does convertions between gb2312 and big5 encodings.
+ * This module does conversions between gb2312 and big5 encodings.
  * It is necessary because gb2312 encoding use simplified chinese,
  * while big5 use traditional one. Often times both the simplified
  * version of a chinese character and its traditional counterpart
diff --git a/iconv/gconv_int.h b/iconv/gconv_int.h
index 80c1533..06faeaa 100644
--- a/iconv/gconv_int.h
+++ b/iconv/gconv_int.h
@@ -49,7 +49,7 @@ struct gconv_alias
 };
 
 
-/* How many character should be conveted in one call?  */
+/* How many character should be converted in one call?  */
 #define GCONV_NCHAR_GOAL	8160
 
 
diff --git a/ports/sysdeps/mips/memcpy.S b/ports/sysdeps/mips/memcpy.S
index aeea491..8065da3 100644
--- a/ports/sysdeps/mips/memcpy.S
+++ b/ports/sysdeps/mips/memcpy.S
@@ -157,10 +157,10 @@
 /* MAX_PREFETCH_SIZE is the maximum size of a prefetch, it must not be less
  * then PREFETCH_CHUNK, the assumed size of each prefetch.  If the real size
  * of a prefetch is greater then MAX_PREFETCH_SIZE and the PREPAREFORSTORE
- * hint is used, the code will not work corrrectly.  If PREPAREFORSTORE is not
+ * hint is used, the code will not work correctly.  If PREPAREFORSTORE is not
  * used then MAX_PREFETCH_SIZE does not matter.  */
 #define MAX_PREFETCH_SIZE 128
-/* PREFETCH_LIMIT is set based on the fact that we neve use an offset greater
+/* PREFETCH_LIMIT is set based on the fact that we never use an offset greater
  * then 5 on a STORE prefetch and that a single prefetch can never be larger
  * then MAX_PREFETCH_SIZE.  We add the extra 32 when USE_DOUBLE is set because
  * we actually do two prefetches in that case, one 32 bytes after the other.  */
diff --git a/localedata/tests/test6.c b/localedata/tests/test6.c
index 30d4a11..6548601 100644
--- a/localedata/tests/test6.c
+++ b/localedata/tests/test6.c
@@ -40,7 +40,7 @@ main (void)
       /* Test basic table handling (basic == not more than 256 characters).
 	 The charmaps swaps the normal lower-upper case meaning of the
 	 ASCII characters used in the source code while the Unicode mapping
-	 in the repertoire map has the normal correspondants.  This test
+	 in the repertoire map has the normal correspondents.  This test
 	 shows the independence of the tables for `char' and `wchar_t'
 	 characters.  */
 

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [PATCH 3/9] Fix typos.
  2013-08-30 10:48       ` [PATCH 3/9] " Ondřej Bílka
@ 2013-08-30 11:01         ` Will Newton
  2013-08-30 15:47           ` [PATCH 3/9 v2] " Ondřej Bílka
  0 siblings, 1 reply; 24+ messages in thread
From: Will Newton @ 2013-08-30 11:01 UTC (permalink / raw)
  To: Ondřej Bílka; +Cc: Joseph S. Myers, libc-alpha, libc-ports

On 30 August 2013 11:48, Ondřej Bílka <neleai@seznam.cz> wrote:

>                          \n-/* Hardware capablity bit numbers are derived direct
>                          \n+/* Hardware capability bit numbers are derived direc
>                                              ^
> ts.  This makes sure that the multibyte chracter digit \n representations are no
> ts.  This makes sure that the multibyte character digit \n representations are n
>                                           ^
> *  Note: \n-*   A terminating null wide chararacter is always appended to \n *
> *  Note: \n+*   A terminating null wide character is always appended to \n *   t
>                                          ^   ^
> ing was found \n-But as a sign that the chracter is in the stopset we store its
> ing was found \n+But as a sign that the character is in the stopset we store its
>                                           ^
> SASCII (per the DNS spec), \n-* is this characted special ("in need of quoting")
> SASCII (per the DNS spec), \n+* is this character special ("in need of quoting")
>                                                 ^
>                   \n-/* $$dyncall fixes childs PIC register */ \n
>                   \n+/* $$dyncall fixes children PIC register */ \n
>                                              ^ ^

This should probably be "the child's".

>                            \n-/* In the childs, unlock the interlock, and start
>                            \n+/* In the children, unlock the interlock, and star
>                                              ^ ^

This should probably be "child".

> The WRITE_BUFFER_SIZE value needs to be choosen such that if we set \n the socke
> The WRITE_BUFFER_SIZE value needs to be chosen such that if we set \n the socket
>                                          ^ ^
> string_copy): /* Check how many 32 byte chunck to copy */ \n srwi.   r7,r5,4
> string_copy): /* Check how many 32 byte chunk to copy */ \n srwi.   r7,r5,4
>                                            ^^

Should be "chunks".

>                 \n-/* Chebyshev polynom coeficients for (exp(x)-1)/x */ \n #defi
>                 \n+/* Chebyshev polynom coefficients for (exp(x)-1)/x */ \n #def
>                                            ^^
>                 \n-/* Chebyshev polynom coeficients for (exp(x)-1)/x */ \n #defi
>                 \n+/* Chebyshev polynom coefficients for (exp(x)-1)/x */ \n #def
>                                            ^^
> rounded to 16 bits. \n-//    Polynomial coeffitients for Q(z) we have in the tab
> rounded to 16 bits. \n+//    Polynomial coefficients for Q(z) we have in the tab
>                                               ^
> = z <= x(i+1)-x(i). \n-//    Polynomial coeffitients we have in the table erfc_p
> = z <= x(i+1)-x(i). \n+//    Polynomial coefficients we have in the table erfc_p
>                                               ^
> x(i+1), i = 0,1,2,3 \n-//    Polynomial coeffitients we have in the table erfc_p
> x(i+1), i = 0,1,2,3 \n+//    Polynomial coefficients we have in the table erfc_p
>                                               ^
> r11 \n-jbe LABEL(strcmp_exitz)/* finish comparision */ \n #endif
> r11 \n+jbe LABEL(strcmp_exitz)/* finish comparison */ \n #endif
>                                                ^^
> pcmpistri to do the scanning and string comparsion requirements of \n sub-string
> pcmpistri to do the scanning and string comparison requirements of \n sub-string
>                                               ^^
> _exponent_of_x - 0xFFFE \n-// needed to comparion with 0.5 and 2.0 \n br.cond.sp
> _exponent_of_x - 0xFFFE \n+// needed to comparison with 0.5 and 2.0 \n br.cond.s
>                                                ^

This should be "for comparison".

> _exponent_of_x - 0xFFFE \n-// needed to comparion with 0.5 and 2.0 \n }
> _exponent_of_x - 0xFFFE \n+// needed to comparison with 0.5 and 2.0 \n }
>                                                ^

Likewise.


-- 
Will Newton
Toolchain Working Group, Linaro

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [PATCH 3.5/9] Fix then/than typo.
  2013-08-18 22:10     ` [PATCH 1/9] " Ondřej Bílka
                         ` (3 preceding siblings ...)
  2013-08-30 10:48       ` [PATCH 3/9] " Ondřej Bílka
@ 2013-08-30 12:58       ` Ondřej Bílka
  2013-08-30 13:34         ` Allan McRae
  2013-08-30 16:22         ` Brooks Moses
  2013-09-02  9:37       ` [PATCH 4/9] Fix typos Ondřej Bílka
  5 siblings, 2 replies; 24+ messages in thread
From: Ondřej Bílka @ 2013-08-30 12:58 UTC (permalink / raw)
  To: Joseph S. Myers; +Cc: libc-alpha, libc-ports

As in previos patch was also a 'less then' typo. To check all occurences 
I replaced all 'less then', 'greater then', 'more then', 'larger then'
by than variant.

There was one translated string 
"%s: more then one 'else'"
do we need to do something to regenerate localisation?

Rest should be obvious.

./ChangeLog:


	* csu/init-first.c: Fix then/than typos.
	* locale/programs/ld-collate.c: Likewise.
	* locale/programs/linereader.h: Likewise.
	* manual/arith.texi: Likewise.
	* manual/charset.texi: Likewise.
	* manual/filesys.texi: Likewise.
	* manual/stdio.texi: Likewise.
	* manual/string.texi: Likewise.
	* stdlib/fmtmsg.c: Likewise.
	* sysdeps/i386/stpncpy.S: Likewise.
	* sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
	* sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
	* sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
	* sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
	* sysdeps/unix/sysv/linux/getdents.c: Likewise.

./ports/ChangeLog.alpha:


	* sysdeps/alpha/alphaev67/stpncpy.S: Fix then/than typos.

./ports/ChangeLog.mips:


	* sysdeps/mips/memcpy.S: Fix then/than typos.


---

- * then PREFETCH_CHUNK, the assumed size of each prefetch.  If the real size
- * of a prefetch is greater then MAX_PREFETCH_SIZE and the PREPAREFORSTORE
+ * than PREFETCH_CHUNK, the assumed size of each prefetch.  If the real size
+ * of a prefetch is greater than MAX_PREFETCH_SIZE and the PREPAREFORSTORE
- * then 5 on a STORE prefetch and that a single prefetch can never be larger
- * then MAX_PREFETCH_SIZE.  We add the extra 32 when USE_DOUBLE is set because
+ * than 5 on a STORE prefetch and that a single prefetch can never be larger
+ * than MAX_PREFETCH_SIZE.  We add the extra 32 when USE_DOUBLE is set because
-     word for dst. If more then 32 bytes remain we copy (unaligned src)
-     the next 7 words and repeat the loop until less then 32-bytes
+     word for dst. If more than 32 bytes remain we copy (unaligned src)
+     the next 7 words and repeat the loop until less than 32-bytes
eded. Finally we check \n-if there more then 0 bytes (1-3) bytes remaining and u
eded. Finally we check \n+if there more than 0 bytes (1-3) bytes remaining and u
                                          ^                                    
* The first field must not contain more then 10 bytes.  */ \n if (cp - label > 1
* The first field must not contain more than 10 bytes.  */ \n if (cp - label > 1
                                          ^                                    
-/* The second field must not have more then 14 bytes.  */ \n || strlen (cp + 1)
+/* The second field must not have more than 14 bytes.  */ \n || strlen (cp + 1)
                                          ^                                    
haracter in any character set uses more then 16 bytes.  */ \n unsigned char byte
haracter in any character set uses more than 16 bytes.  */ \n unsigned char byte
                                          ^                                    
             * \n-* If the size is less then 2*NSIZE (8 or 16), go to L(lastb). 
             * \n+* If the size is less than 2*NSIZE (8 or 16), go to L(lastb). 
                                          ^                                    
               * \n-* Here we have less then 32(64) bytes to copy.  Set up for a
               * \n+* Here we have less than 32(64) bytes to copy.  Set up for a
                                          ^                                    
               * \n-* Here we have less then 32(64) bytes to copy.  Set up for a
               * \n+* Here we have less than 32(64) bytes to copy.  Set up for a
                                          ^                                    
wus_tail16p2):  /* 16 bytes moved, less then 4 bytes left.  */ \n addi  12,12,16
wus_tail16p2):  /* 16 bytes moved, less than 4 bytes left.  */ \n addi  12,12,16
                                          ^                                    
dus_tail16p2):  /* 16 bytes moved, less then 4 bytes left.  */ \n addi  12,12,16
dus_tail16p2):  /* 16 bytes moved, less than 4 bytes left.  */ \n addi  12,12,16
                                          ^                                    
 .align  4 \n-L(wus_tail16p4):  /* less then 4 bytes left.  */ \n addi  12,12,24
 .align  4 \n+L(wus_tail16p4):  /* less than 4 bytes left.  */ \n addi  12,12,24
                                          ^                                    
 .align  4 \n-L(dus_tail16p4):  /* less then 4 bytes left.  */ \n addi  12,12,24
 .align  4 \n+L(dus_tail16p4):  /* less than 4 bytes left.  */ \n addi  12,12,24
                                          ^                                    
  .align  4 \n-L(wus_tail8p4):  /* less then 4 bytes left.  */ \n addi  12,12,8 
  .align  4 \n+L(wus_tail8p4):  /* less than 4 bytes left.  */ \n addi  12,12,8 
                                          ^                                    
  .align  4 \n-L(dus_tail8p4):  /* less then 4 bytes left.  */ \n addi  12,12,8 
  .align  4 \n+L(dus_tail8p4):  /* less than 4 bytes left.  */ \n addi  12,12,8 
                                          ^                                    
If we are here we know there is \n-more then 4 bytes left.  So there is no need 
If we are here we know there is \n+more than 4 bytes left.  So there is no need 
                                          ^                                    
If we are here we know there is \n-more then 4 bytes left.  So there is no need 
If we are here we know there is \n+more than 4 bytes left.  So there is no need 
                                          ^                                    
                        \n-Then if more then 4 bytes remain we again use aligned
                        \n+Then if more than 4 bytes remain we again use aligned
                                          ^                                    
 .align  4 \n-L(dus_tail16p8):  /* less then 8 bytes left.  */ \n beq   cr1,L(du
 .align  4 \n+L(dus_tail16p8):  /* less than 8 bytes left.  */ \n beq   cr1,L(du
                                          ^                                    
 .align  4 \n-L(wus_tail16p8):  /* less then 8 bytes left.  */ \n beq   cr1,L(wu
 .align  4 \n+L(wus_tail16p8):  /* less than 8 bytes left.  */ \n beq   cr1,L(wu
                                          ^                                    
eam can be \n-used even on files larger then @math{2^31} bytes on 32 bit machine
eam can be \n+used even on files larger than @math{2^31} bytes on 32 bit machine
                                          ^                                    
 stream can \n-be used for files larger then @math{2^31} bytes on 32-bit machine
 stream can \n+be used for files larger than @math{2^31} bytes on 32-bit machine
                                          ^                                    
is also able to work on \n-files larger then @math{2^31} bytes on 32-bit systems
is also able to work on \n+files larger than @math{2^31} bytes on 32-bit systems
                                          ^                                    
is also able to work on \n-files larger then @math{2^31} bytes on 32-bit systems
is also able to work on \n+files larger than @math{2^31} bytes on 32-bit systems
                                          ^                                    
 \n-If the length of @var{from} is more then @var{size}, then @code{stpncpy} \n 
 \n+If the length of @var{from} is more than @var{size}, then @code{stpncpy} \n 
                                          ^                                    
\n-If the length of @var{wfrom} is more then @var{size}, then \n @code{wcpncpy} 
\n+If the length of @var{wfrom} is more than @var{size}, then \n @code{wcpncpy} 
                                          ^                                    
                     \n-/* Copy no more then N bytes from SRC to DEST, returning
                     \n+/* Copy no more than N bytes from SRC to DEST, returning
                                          ^                                    
        -1,4 +1,4 @@ \n-/* copy no more then N bytes from SRC to DEST, returning
        -1,4 +1,4 @@ \n+/* copy no more than N bytes from SRC to DEST, returning
                                          ^                                    
     { \n-lr_error (ldfile, _("%s: more then one 'else'"), "LC_COLLATE"); \n }  
     { \n+lr_error (ldfile, _("%s: more than one 'else'"), "LC_COLLATE"); \n }  
                                          ^                                    
zero if we have to be prepared for more then one libc being \n used in the proce
zero if we have to be prepared for more than one libc being \n used in the proce
                                          ^                                    
cache line boundary. \n-If rLEN is less then the distance to the next cache-line
cache line boundary. \n+If rLEN is less than the distance to the next cache-line
                                          ^                                    
cache line boundary. \n-If rLEN is less then the distance to the next cache-line
cache line boundary. \n+If rLEN is less than the distance to the next cache-line
                                          ^                                    
cache line boundary. \n-If rLEN is less then the distance to the next cache-line
cache line boundary. \n+If rLEN is less than the distance to the next cache-line
                                          ^                                    
cache line boundary. \n-If rLEN is less then the distance to the next cache-line
cache line boundary. \n+If rLEN is less than the distance to the next cache-line
                                          ^                                    
cceptable since a) this value is larger then the length of \n the longest multib
cceptable since a) this value is larger than the length of \n the longest multib
                                          ^                                    
he \n-amount of data returned much more then the reduced buffer size.  */ \n ssi
he \n+amount of data returned much more than the reduced buffer size.  */ \n ssi
                                          ^                                    
m \n-Square root if the operand is less then zero.  More generally, any \n mathe
m \n+Square root if the operand is less than zero.  More generally, any \n mathe
                                          ^                                    
diff --git a/stdlib/fmtmsg.c b/stdlib/fmtmsg.c
index 05344f0..5185de4 100644
--- a/stdlib/fmtmsg.c
+++ b/stdlib/fmtmsg.c
@@ -116,9 +116,9 @@ fmtmsg (long int classification, const char *label, int severity,
       if (cp == NULL)
 	return MM_NOTOK;
 
-      /* The first field must not contain more then 10 bytes.  */
+      /* The first field must not contain more than 10 bytes.  */
       if (cp - label > 10
-	  /* The second field must not have more then 14 bytes.  */
+	  /* The second field must not have more than 14 bytes.  */
 	  || strlen (cp + 1) > 14)
 	return MM_NOTOK;
     }
diff --git a/locale/programs/linereader.h b/locale/programs/linereader.h
index e0475a2..4e4fe9d 100644
--- a/locale/programs/linereader.h
+++ b/locale/programs/linereader.h
@@ -49,7 +49,7 @@ struct token
     struct
     {
       /* This element is sized on the safe expectation that no single
-	 character in any character set uses more then 16 bytes.  */
+	 character in any character set uses more than 16 bytes.  */
       unsigned char bytes[16];
       int nbytes;
     } charcode;
diff --git a/ports/sysdeps/mips/memcpy.S b/ports/sysdeps/mips/memcpy.S
index 8065da3..c716847 100644
--- a/ports/sysdeps/mips/memcpy.S
+++ b/ports/sysdeps/mips/memcpy.S
@@ -275,7 +275,7 @@ LEAF(MEMCPY_NAME)
 L(memcpy):
 #endif
 /*
- * If the size is less then 2*NSIZE (8 or 16), go to L(lastb).  Regardless of
+ * If the size is less than 2*NSIZE (8 or 16), go to L(lastb).  Regardless of
  * size, copy dst pointer to v0 for the return value.
  */
 	slti	t2,a2,(2 * NSIZE)
diff --git a/sysdeps/powerpc/powerpc32/power6/memcpy.S b/sysdeps/powerpc/powerpc32/power6/memcpy.S
index c3d55b7..c786806 100644
--- a/sysdeps/powerpc/powerpc32/power6/memcpy.S
+++ b/sysdeps/powerpc/powerpc32/power6/memcpy.S
@@ -426,14 +426,14 @@ L(wdu):
      First we need to copy word up to but not crossing the next 32-byte
      boundary. Then perform aligned loads just before and just after
      the boundary and use shifts and or to generate the next aligned
-     word for dst. If more then 32 bytes remain we copy (unaligned src)
-     the next 7 words and repeat the loop until less then 32-bytes
+     word for dst. If more than 32 bytes remain we copy (unaligned src)
+     the next 7 words and repeat the loop until less than 32-bytes
      remain.
 
-     Then if more then 4 bytes remain we again use aligned loads,
+     Then if more than 4 bytes remain we again use aligned loads,
      shifts and or to generate the next dst word. We then process the
      remaining words using unaligned loads as needed. Finally we check
-     if there more then 0 bytes (1-3) bytes remaining and use
+     if there more than 0 bytes (1-3) bytes remaining and use
      halfword and or byte load/stores to complete the copy.
 */
     mr      4,12      /* restore unaligned adjusted src ptr */
diff --git a/ports/sysdeps/mips/memcpy.S b/ports/sysdeps/mips/memcpy.S
index 8065da3..c716847 100644
--- a/ports/sysdeps/mips/memcpy.S
+++ b/ports/sysdeps/mips/memcpy.S
@@ -443,7 +443,7 @@ L(chkw):
 	PTR_ADDIU a0,a0,UNIT(8)
 
 /*
- * Here we have less then 32(64) bytes to copy.  Set up for a loop to
+ * Here we have less than 32(64) bytes to copy.  Set up for a loop to
  * copy one word (or double word) at a time.  Set a2 to count how many
  * bytes we have to copy after all the word (or double word) chunks are
  * copied and a3 to the dst pointer after all the (d)word chunks have
diff --git a/ports/sysdeps/mips/memcpy.S b/ports/sysdeps/mips/memcpy.S
index 8065da3..c716847 100644
--- a/ports/sysdeps/mips/memcpy.S
+++ b/ports/sysdeps/mips/memcpy.S
@@ -635,7 +635,7 @@ L(ua_chkw):
 	C_ST	REG7,UNIT(7)(a0)
 	PTR_ADDIU a0,a0,UNIT(8)
 /*
- * Here we have less then 32(64) bytes to copy.  Set up for a loop to
+ * Here we have less than 32(64) bytes to copy.  Set up for a loop to
  * copy one word (or double word) at a time.
  */
 L(ua_chk1w):
diff --git a/sysdeps/powerpc/powerpc32/power6/memcpy.S b/sysdeps/powerpc/powerpc32/power6/memcpy.S
index c3d55b7..c786806 100644
--- a/sysdeps/powerpc/powerpc32/power6/memcpy.S
+++ b/sysdeps/powerpc/powerpc32/power6/memcpy.S
@@ -283,7 +283,7 @@ L(wus_tail16p8):  /* less then 8 bytes left.  */
     addi  1,1,32
     blr
     .align  4
-L(wus_tail16p4):  /* less then 4 bytes left.  */
+L(wus_tail16p4):  /* less than 4 bytes left.  */
     addi  12,12,24
     addi  11,11,24
     bgt   cr0,L(wus_tail2)
diff --git a/sysdeps/powerpc/powerpc32/power6/memcpy.S b/sysdeps/powerpc/powerpc32/power6/memcpy.S
index c3d55b7..c786806 100644
--- a/sysdeps/powerpc/powerpc32/power6/memcpy.S
+++ b/sysdeps/powerpc/powerpc32/power6/memcpy.S
@@ -291,7 +291,7 @@ L(wus_tail16p4):  /* less then 4 bytes left.  */
     addi  1,1,32
     blr
     .align  4
-L(wus_tail16p2):  /* 16 bytes moved, less then 4 bytes left.  */
+L(wus_tail16p2):  /* 16 bytes moved, less than 4 bytes left.  */
     addi  12,12,16
     addi  11,11,16
     b     L(wus_tail2)
diff --git a/sysdeps/powerpc/powerpc32/power6/memcpy.S b/sysdeps/powerpc/powerpc32/power6/memcpy.S
index c3d55b7..c786806 100644
--- a/sysdeps/powerpc/powerpc32/power6/memcpy.S
+++ b/sysdeps/powerpc/powerpc32/power6/memcpy.S
@@ -315,7 +315,7 @@ L(wus_tail8):  /* Move 8 bytes.  */
     addi  1,1,32
     blr
     .align  4
-L(wus_tail8p4):  /* less then 4 bytes left.  */
+L(wus_tail8p4):  /* less than 4 bytes left.  */
     addi  12,12,8
     addi  11,11,8
     bgt   cr1,L(wus_tail2)
diff --git a/sysdeps/powerpc/powerpc64/power6/memcpy.S b/sysdeps/powerpc/powerpc64/power6/memcpy.S
index db29e2b..d6d242d 100644
--- a/sysdeps/powerpc/powerpc64/power6/memcpy.S
+++ b/sysdeps/powerpc/powerpc64/power6/memcpy.S
@@ -464,7 +464,7 @@ L(dus_tail16p8):  /* less then 8 bytes left.  */
     ld    3,-16(1)
     blr
     .align  4
-L(dus_tail16p4):  /* less then 4 bytes left.  */
+L(dus_tail16p4):  /* less than 4 bytes left.  */
     addi  12,12,24
     addi  3,3,24
     bgt   cr0,L(dus_tail2)
diff --git a/sysdeps/powerpc/powerpc64/power6/memcpy.S b/sysdeps/powerpc/powerpc64/power6/memcpy.S
index db29e2b..d6d242d 100644
--- a/sysdeps/powerpc/powerpc64/power6/memcpy.S
+++ b/sysdeps/powerpc/powerpc64/power6/memcpy.S
@@ -472,7 +472,7 @@ L(dus_tail16p4):  /* less then 4 bytes left.  */
     ld    3,-16(1)
     blr
     .align  4
-L(dus_tail16p2):  /* 16 bytes moved, less then 4 bytes left.  */
+L(dus_tail16p2):  /* 16 bytes moved, less than 4 bytes left.  */
     addi  12,12,16
     addi  3,3,16
     b     L(dus_tail2)
diff --git a/sysdeps/powerpc/powerpc64/power6/memcpy.S b/sysdeps/powerpc/powerpc64/power6/memcpy.S
index db29e2b..d6d242d 100644
--- a/sysdeps/powerpc/powerpc64/power6/memcpy.S
+++ b/sysdeps/powerpc/powerpc64/power6/memcpy.S
@@ -497,7 +497,7 @@ L(dus_tail8):  /* Move 8 bytes.  */
     ld    3,-16(1)
     blr
     .align  4
-L(dus_tail8p4):  /* less then 4 bytes left.  */
+L(dus_tail8p4):  /* less than 4 bytes left.  */
     addi  12,12,8
     addi  3,3,8
     bgt   cr1,L(dus_tail2)
diff --git a/sysdeps/powerpc/powerpc32/power6/memcpy.S b/sysdeps/powerpc/powerpc32/power6/memcpy.S
index c3d55b7..c786806 100644
--- a/sysdeps/powerpc/powerpc32/power6/memcpy.S
+++ b/sysdeps/powerpc/powerpc32/power6/memcpy.S
@@ -326,7 +326,7 @@ L(wus_tail8p4):  /* less then 4 bytes left.  */
     .align  4
 L(wus_tail4):  /* Move 4 bytes.  */
 /*  r6 already loaded speculatively.  If we are here we know there is
-    more then 4 bytes left.  So there is no need to test.  */
+    more than 4 bytes left.  So there is no need to test.  */
     addi  12,12,4
     stw   6,0(11)
     addi  11,11,4
diff --git a/sysdeps/powerpc/powerpc64/power6/memcpy.S b/sysdeps/powerpc/powerpc64/power6/memcpy.S
index db29e2b..d6d242d 100644
--- a/sysdeps/powerpc/powerpc64/power6/memcpy.S
+++ b/sysdeps/powerpc/powerpc64/power6/memcpy.S
@@ -508,7 +508,7 @@ L(dus_tail8p4):  /* less then 4 bytes left.  */
     .align  4
 L(dus_tail4):  /* Move 4 bytes.  */
 /*  r6 already loaded speculatively.  If we are here we know there is
-    more then 4 bytes left.  So there is no need to test.  */
+    more than 4 bytes left.  So there is no need to test.  */
     addi  12,12,4
     stw   6,0(3)
     addi  3,3,4
diff --git a/sysdeps/powerpc/powerpc32/power6/memcpy.S b/sysdeps/powerpc/powerpc32/power6/memcpy.S
index c3d55b7..c786806 100644
--- a/sysdeps/powerpc/powerpc32/power6/memcpy.S
+++ b/sysdeps/powerpc/powerpc32/power6/memcpy.S
@@ -269,7 +269,7 @@ L(wus_tail16): /* Move 16 bytes.  */
     addi  1,1,32
     blr
     .align  4
-L(wus_tail16p8):  /* less then 8 bytes left.  */
+L(wus_tail16p8):  /* less than 8 bytes left.  */
     beq   cr1,L(wus_tailX) /* exactly 16 bytes, early exit.  */
     cmplwi	cr1,10,20
     bf    29,L(wus_tail16p2)
diff --git a/sysdeps/powerpc/powerpc64/power6/memcpy.S b/sysdeps/powerpc/powerpc64/power6/memcpy.S
index db29e2b..d6d242d 100644
--- a/sysdeps/powerpc/powerpc64/power6/memcpy.S
+++ b/sysdeps/powerpc/powerpc64/power6/memcpy.S
@@ -450,7 +450,7 @@ L(dus_tail16): /* Move 16 bytes.  */
     ld    3,-16(1)
     blr
     .align  4
-L(dus_tail16p8):  /* less then 8 bytes left.  */
+L(dus_tail16p8):  /* less than 8 bytes left.  */
     beq   cr1,L(dus_tailX) /* exactly 16 bytes, early exit.  */
     cmpldi	cr1,10,20
     bf    29,L(dus_tail16p2)
diff --git a/manual/stdio.texi b/manual/stdio.texi
index 3f9be9b..30630ca 100644
--- a/manual/stdio.texi
+++ b/manual/stdio.texi
@@ -267,7 +267,7 @@ Locks}.
 @deftypefun {FILE *} fopen64 (const char *@var{filename}, const char *@var{opentype})
 This function is similar to @code{fopen} but the stream it returns a
 pointer for is opened using @code{open64}.  Therefore this stream can be
-used even on files larger then @math{2^31} bytes on 32 bit machines.
+used even on files larger than @math{2^31} bytes on 32 bit machines.
 
 Please note that the return type is still @code{FILE *}.  There is no
 special @code{FILE} type for the LFS interface.
diff --git a/manual/filesys.texi b/manual/filesys.texi
index 814c210..1cac453 100644
--- a/manual/filesys.texi
+++ b/manual/filesys.texi
@@ -3152,7 +3152,7 @@ interface transparently replaces the old interface.
 @deftypefun {FILE *} tmpfile64 (void)
 This function is similar to @code{tmpfile}, but the stream it returns a
 pointer to was opened using @code{tmpfile64}.  Therefore this stream can
-be used for files larger then @math{2^31} bytes on 32-bit machines.
+be used for files larger than @math{2^31} bytes on 32-bit machines.
 
 Please note that the return type is still @code{FILE *}.  There is no
 special @code{FILE} type for the LFS interface.
diff --git a/manual/filesys.texi b/manual/filesys.texi
index 814c210..1cac453 100644
--- a/manual/filesys.texi
+++ b/manual/filesys.texi
@@ -1909,7 +1909,7 @@ replaces the normal implementation.
 @comment Unix98
 @deftypefun int stat64 (const char *@var{filename}, struct stat64 *@var{buf})
 This function is similar to @code{stat} but it is also able to work on
-files larger then @math{2^31} bytes on 32-bit systems.  To be able to do
+files larger than @math{2^31} bytes on 32-bit systems.  To be able to do
 this the result is stored in a variable of type @code{struct stat64} to
 which @var{buf} must point.
 
diff --git a/manual/filesys.texi b/manual/filesys.texi
index 814c210..1cac453 100644
--- a/manual/filesys.texi
+++ b/manual/filesys.texi
@@ -1970,7 +1970,7 @@ replaces the normal implementation.
 @comment Unix98
 @deftypefun int lstat64 (const char *@var{filename}, struct stat64 *@var{buf})
 This function is similar to @code{lstat} but it is also able to work on
-files larger then @math{2^31} bytes on 32-bit systems.  To be able to do
+files larger than @math{2^31} bytes on 32-bit systems.  To be able to do
 this the result is stored in a variable of type @code{struct stat64} to
 which @var{buf} must point.
 
diff --git a/manual/string.texi b/manual/string.texi
index 246be84..2a164a9 100644
--- a/manual/string.texi
+++ b/manual/string.texi
@@ -707,7 +707,7 @@ declared in @file{string.h}.
 This function is similar to @code{wcpcpy} but copies always exactly
 @var{wsize} characters into @var{wto}.
 
-If the length of @var{wfrom} is more then @var{size}, then
+If the length of @var{wfrom} is more than @var{size}, then
 @code{wcpncpy} copies just the first @var{size} wide characters and
 returns a pointer to the wide character directly following the last
 non-null wide character which was copied last.  Note that in this case
diff --git a/manual/string.texi b/manual/string.texi
index 246be84..2a164a9 100644
--- a/manual/string.texi
+++ b/manual/string.texi
@@ -682,7 +682,7 @@ The behavior of @code{wcpcpy} is undefined if the strings overlap.
 This function is similar to @code{stpcpy} but copies always exactly
 @var{size} characters into @var{to}.
 
-If the length of @var{from} is more then @var{size}, then @code{stpncpy}
+If the length of @var{from} is more than @var{size}, then @code{stpncpy}
 copies just the first @var{size} characters and returns a pointer to the
 character directly following the one which was copied last.  Note that in
 this case there is no null terminator written into @var{to}.
diff --git a/ports/sysdeps/alpha/alphaev67/stpncpy.S b/ports/sysdeps/alpha/alphaev67/stpncpy.S
index 47841bb..336db7d 100644
--- a/ports/sysdeps/alpha/alphaev67/stpncpy.S
+++ b/ports/sysdeps/alpha/alphaev67/stpncpy.S
@@ -16,7 +16,7 @@
    License along with the GNU C Library.  If not, see
    <http://www.gnu.org/licenses/>.  */
 
-/* Copy no more then N bytes from SRC to DEST, returning the address of
+/* Copy no more than N bytes from SRC to DEST, returning the address of
    the terminating '\0' in DEST.  */
 
 #include <sysdep.h>
diff --git a/sysdeps/i386/stpncpy.S b/sysdeps/i386/stpncpy.S
index 1188273..b23e820 100644
--- a/sysdeps/i386/stpncpy.S
+++ b/sysdeps/i386/stpncpy.S
@@ -1,4 +1,4 @@
-/* copy no more then N bytes from SRC to DEST, returning the address of
+/* copy no more than N bytes from SRC to DEST, returning the address of
    the terminating '\0' in DEST.
    For Intel 80x86, x>=3.
    Copyright (C) 1994-2013 Free Software Foundation, Inc.
diff --git a/locale/programs/ld-collate.c b/locale/programs/ld-collate.c
index 6894a7c..e58c8f7 100644
--- a/locale/programs/ld-collate.c
+++ b/locale/programs/ld-collate.c
@@ -2674,7 +2674,7 @@ skip_to (struct linereader *ldfile, struct locale_collate_t *collate,
 	}
       else if (nowtok == tok_else)
 	{
-	  lr_error (ldfile, _("%s: more then one 'else'"), "LC_COLLATE");
+	  lr_error (ldfile, _("%s: more than one 'else'"), "LC_COLLATE");
 	}
 
       lr_ignore_rest (ldfile, 0);
diff --git a/csu/init-first.c b/csu/init-first.c
index 89d8d96..f0ebc94 100644
--- a/csu/init-first.c
+++ b/csu/init-first.c
@@ -29,7 +29,7 @@
 
 #include <ldsodefs.h>
 
-/* Set nonzero if we have to be prepared for more then one libc being
+/* Set nonzero if we have to be prepared for more than one libc being
    used in the process.  Safe assumption if initializer never runs.  */
 int __libc_multiple_libcs attribute_hidden = 1;
 
diff --git a/ports/sysdeps/mips/memcpy.S b/ports/sysdeps/mips/memcpy.S
index 8065da3..c716847 100644
--- a/ports/sysdeps/mips/memcpy.S
+++ b/ports/sysdeps/mips/memcpy.S
@@ -155,14 +155,14 @@
  pref PREFETCH_STORE_HINT, (chunk)*32(reg)
 #endif
 /* MAX_PREFETCH_SIZE is the maximum size of a prefetch, it must not be less
- * then PREFETCH_CHUNK, the assumed size of each prefetch.  If the real size
- * of a prefetch is greater then MAX_PREFETCH_SIZE and the PREPAREFORSTORE
+ * than PREFETCH_CHUNK, the assumed size of each prefetch.  If the real size
+ * of a prefetch is greater than MAX_PREFETCH_SIZE and the PREPAREFORSTORE
  * hint is used, the code will not work correctly.  If PREPAREFORSTORE is not
  * used then MAX_PREFETCH_SIZE does not matter.  */
 #define MAX_PREFETCH_SIZE 128
 /* PREFETCH_LIMIT is set based on the fact that we never use an offset greater
- * then 5 on a STORE prefetch and that a single prefetch can never be larger
- * then MAX_PREFETCH_SIZE.  We add the extra 32 when USE_DOUBLE is set because
+ * than 5 on a STORE prefetch and that a single prefetch can never be larger
+ * than MAX_PREFETCH_SIZE.  We add the extra 32 when USE_DOUBLE is set because
  * we actually do two prefetches in that case, one 32 bytes after the other.  */
 #ifdef USE_DOUBLE
 # define PREFETCH_LIMIT (5 * PREFETCH_CHUNK) + 32 + MAX_PREFETCH_SIZE
diff --git a/sysdeps/powerpc/powerpc32/power6/memset.S b/sysdeps/powerpc/powerpc32/power6/memset.S
index ce06630..8c23c8d 100644
--- a/sysdeps/powerpc/powerpc32/power6/memset.S
+++ b/sysdeps/powerpc/powerpc32/power6/memset.S
@@ -101,7 +101,7 @@ L(nondcbz):
    boundary may not be at cache line (128-byte) boundary.  */
 L(nzloopstart):
 /* memset in 32-byte chunks until we get to a cache line boundary.
-   If rLEN is less then the distance to the next cache-line boundary use
+   If rLEN is less than the distance to the next cache-line boundary use
    cacheAligned1 code to finish the tail.  */
 	cmplwi	cr1,rLEN,128
 
diff --git a/sysdeps/powerpc/powerpc32/power6/memset.S b/sysdeps/powerpc/powerpc32/power6/memset.S
index ce06630..8c23c8d 100644
--- a/sysdeps/powerpc/powerpc32/power6/memset.S
+++ b/sysdeps/powerpc/powerpc32/power6/memset.S
@@ -306,7 +306,7 @@ L(nzCacheAligned256):
    block zero instruction. */
 L(zloopstart):
 /* memset in 32-byte chunks until we get to a cache line boundary.
-   If rLEN is less then the distance to the next cache-line boundary use
+   If rLEN is less than the distance to the next cache-line boundary use
    cacheAligned1 code to finish the tail.  */
 	cmplwi	cr1,rLEN,128
 	beq	L(medium)
diff --git a/sysdeps/powerpc/powerpc64/power6/memset.S b/sysdeps/powerpc/powerpc64/power6/memset.S
index 541a45f..3e8ae2d 100644
--- a/sysdeps/powerpc/powerpc64/power6/memset.S
+++ b/sysdeps/powerpc/powerpc64/power6/memset.S
@@ -110,7 +110,7 @@ L(caligned):
    boundary may not be at cache line (128-byte) boundary.  */
 L(nzloopstart):
 /* memset in 32-byte chunks until we get to a cache line boundary.
-   If rLEN is less then the distance to the next cache-line boundary use
+   If rLEN is less than the distance to the next cache-line boundary use
    cacheAligned1 code to finish the tail.  */
 	cmpldi	cr1,rLEN,128
 
diff --git a/sysdeps/powerpc/powerpc64/power6/memset.S b/sysdeps/powerpc/powerpc64/power6/memset.S
index 541a45f..3e8ae2d 100644
--- a/sysdeps/powerpc/powerpc64/power6/memset.S
+++ b/sysdeps/powerpc/powerpc64/power6/memset.S
@@ -186,7 +186,7 @@ L(nzCacheAligned128):
    block zero instruction. */
 L(zloopstart):
 /* memset in 32-byte chunks until we get to a cache line boundary.
-   If rLEN is less then the distance to the next cache-line boundary use
+   If rLEN is less than the distance to the next cache-line boundary use
    cacheAligned1 code to finish the tail.  */
 	cmpldi	cr1,rLEN,128
 	beq	L(medium)
diff --git a/manual/charset.texi b/manual/charset.texi
index e21502e..4042639 100644
--- a/manual/charset.texi
+++ b/manual/charset.texi
@@ -786,7 +786,7 @@ mbslen (const char *s)
 This function simply calls @code{mbrlen} for each multibyte character
 in the string and counts the number of function calls.  Please note that
 we here use @code{MB_LEN_MAX} as the size argument in the @code{mbrlen}
-call.  This is acceptable since a) this value is larger then the length of
+call.  This is acceptable since a) this value is larger than the length of
 the longest multibyte character sequence and b) we know that the string
 @var{s} ends with a NUL byte, which cannot be part of any other multibyte
 character sequence but the one representing the NUL wide character.

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [PATCH 3.5/9] Fix then/than typo.
  2013-08-30 12:58       ` [PATCH 3.5/9] Fix then/than typo Ondřej Bílka
@ 2013-08-30 13:34         ` Allan McRae
  2013-08-30 16:22         ` Brooks Moses
  1 sibling, 0 replies; 24+ messages in thread
From: Allan McRae @ 2013-08-30 13:34 UTC (permalink / raw)
  To: Ondřej Bílka; +Cc: Joseph S. Myers, libc-alpha, libc-ports

On 30/08/13 22:58, Ondřej Bílka wrote:
> As in previos patch was also a 'less then' typo. To check all occurences 
> I replaced all 'less then', 'greater then', 'more then', 'larger then'
> by than variant.
> 
> There was one translated string 
> "%s: more then one 'else'"
> do we need to do something to regenerate localisation?

I believe there is nothing that needs done.  The pot file is regenerated
before each release.

Patch looks fine to me.

Allan

^ permalink raw reply	[flat|nested] 24+ messages in thread

* [PATCH 3/9 v2] Fix typos.
  2013-08-30 11:01         ` Will Newton
@ 2013-08-30 15:47           ` Ondřej Bílka
  2013-08-30 16:01             ` Joseph S. Myers
  0 siblings, 1 reply; 24+ messages in thread
From: Ondřej Bílka @ 2013-08-30 15:47 UTC (permalink / raw)
  To: Will Newton; +Cc: Joseph S. Myers, libc-alpha, libc-ports

Thanks, v2 with thees fixed is below.

On Fri, Aug 30, 2013 at 12:01:56PM +0100, Will Newton wrote:
> On 30 August 2013 11:48, Ondřej Bílka <neleai@seznam.cz> wrote:
> >                   \n-/* $$dyncall fixes childs PIC register */ \n
> >                   \n+/* $$dyncall fixes children PIC register */ \n
> >                                              ^ ^
> 
> This should probably be "the child's".
> 
> >                            \n-/* In the childs, unlock the interlock, and start
> >                            \n+/* In the children, unlock the interlock, and star
> >                                              ^ ^
> 
> This should probably be "child".

> > string_copy): /* Check how many 32 byte chunck to copy */ \n srwi.   r7,r5,4
> > string_copy): /* Check how many 32 byte chunk to copy */ \n srwi.   r7,r5,4
> >                                            ^^
> 
> Should be "chunks".
> 
> > _exponent_of_x - 0xFFFE \n-// needed to comparion with 0.5 and 2.0 \n br.cond.sp
> > _exponent_of_x - 0xFFFE \n+// needed to comparison with 0.5 and 2.0 \n br.cond.s
> >                                                ^
> 
> This should be "for comparison".
> 
> > _exponent_of_x - 0xFFFE \n-// needed to comparion with 0.5 and 2.0 \n }
> > _exponent_of_x - 0xFFFE \n+// needed to comparison with 0.5 and 2.0 \n }
> >                                                ^
> 
> Likewise.
> 
> 
> -- 
> Will Newton
> Toolchain Working Group, Linaro


./nptl/ChangeLog:


	* sysdeps/pthread/pthread.h: Fix typos.
	* sysdeps/unix/sysv/linux/internaltypes.h: Likewise.
	* tst-cancel4.c: Likewise.

./ChangeLog:


	* elf/dl-open.c: Fix typos.
	* iconvdata/gbbig5.c: Likewise.
	* iconvdata/iso-2022-jp.c: Likewise.
	* iconv/gconv_int.h: Likewise.
	* iconv/loop.c: Likewise.
	* nis/rpcsvc/nis.h: Likewise.
	* resolv/ns_name.c: Likewise.
	* stdio-common/vfscanf.c: Likewise.
	* streams/stropts.h: Likewise.
	* sunrpc/rpc_thread.c: Likewise.
	* sysdeps/i386/strpbrk.S: Likewise.
	* sysdeps/ieee754/k_standard.c: Likewise.
	* sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
	* sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
	* sysdeps/mach/hurd/dl-sysdep.c: Likewise.
	* sysdeps/mach/hurd/profil.c: Likewise.
	* sysdeps/s390/dl-procinfo.h: Likewise.
	* sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
	* sysdeps/x86_64/dl-trampoline.S: Likewise.
	* sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.

./localedata/ChangeLog:


	* tests-mbwc/dat_wcsncat.c: Fix typos.
	* tests/test6.c: Likewise.
	* tst-digits.c: Likewise.

./ports/ChangeLog.ia64:


	* sysdeps/ia64/fpu/libm_reduce.S: Fix typos.
	* sysdeps/ia64/fpu/s_erfcf.S: Likewise.
	* sysdeps/ia64/fpu/s_erfcl.S: Likewise.
	* sysdeps/ia64/fpu/s_erfc.S: Likewise.
	* sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Likewise.

./ports/ChangeLog.alpha:


	* sysdeps/unix/sysv/linux/alpha/bits/netdb.h: Fix typos.

./ports/ChangeLog.unix:


	* sysdeps/ia64/fpu/e_logf.S: Fix typos.

./ports/ChangeLog.mips:


	* sysdeps/mips/memcpy.S: Fix typos.

./ports/ChangeLog.hppa:


	* sysdeps/unix/sysv/linux/hppa/clone.S: Fix typos.
	* sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Likewise.

./ports/ChangeLog.powerpc:


	* sysdeps/powerpc/powerpc32/405/memcpy.S: Fix typos.

---

                         \n-/* Hardware capablity bit numbers are derived direct
                         \n+/* Hardware capability bit numbers are derived direc
                                             ^                                 
ts.  This makes sure that the multibyte chracter digit \n representations are no
ts.  This makes sure that the multibyte character digit \n representations are n
                                          ^                                    
*  Note: \n-*   A terminating null wide chararacter is always appended to \n *  
*  Note: \n+*   A terminating null wide character is always appended to \n *   t
                                         ^   ^                                 
ing was found \n-But as a sign that the chracter is in the stopset we store its 
ing was found \n+But as a sign that the character is in the stopset we store its
                                          ^                                    
SASCII (per the DNS spec), \n-* is this characted special ("in need of quoting")
SASCII (per the DNS spec), \n+* is this character special ("in need of quoting")
                                                ^                              
                  \n-/* $$dyncall fixes childs PIC register */ \n               
                  \n+/* $$dyncall fixes child's PIC register */ \n              
                                             ^                                 
                           \n-/* In the childs, unlock the interlock, and start 
                           \n+/* In the child, unlock the interlock, and start a
                                            ^^                                 
The WRITE_BUFFER_SIZE value needs to be choosen such that if we set \n the socke
The WRITE_BUFFER_SIZE value needs to be chosen such that if we set \n the socket
                                         ^ ^                                   
string_copy): /* Check how many 32 byte chunck to copy */ \n srwi.   r7,r5,4    
string_copy): /* Check how many 32 byte chunks to copy */ \n srwi.   r7,r5,4    
                                            ^^                                 
                \n-/* Chebyshev polynom coeficients for (exp(x)-1)/x */ \n #defi
                \n+/* Chebyshev polynom coefficients for (exp(x)-1)/x */ \n #def
                                           ^^                                  
                \n-/* Chebyshev polynom coeficients for (exp(x)-1)/x */ \n #defi
                \n+/* Chebyshev polynom coefficients for (exp(x)-1)/x */ \n #def
                                           ^^                                  
rounded to 16 bits. \n-//    Polynomial coeffitients for Q(z) we have in the tab
rounded to 16 bits. \n+//    Polynomial coefficients for Q(z) we have in the tab
                                              ^                                
= z <= x(i+1)-x(i). \n-//    Polynomial coeffitients we have in the table erfc_p
= z <= x(i+1)-x(i). \n+//    Polynomial coefficients we have in the table erfc_p
                                              ^                                
x(i+1), i = 0,1,2,3 \n-//    Polynomial coeffitients we have in the table erfc_p
x(i+1), i = 0,1,2,3 \n+//    Polynomial coefficients we have in the table erfc_p
                                              ^                                
r11 \n-jbe LABEL(strcmp_exitz)/* finish comparision */ \n #endif                
r11 \n+jbe LABEL(strcmp_exitz)/* finish comparison */ \n #endif                 
                                               ^^                              
. \n-This is to provide backward binary compatility for existing \n audit module
. \n+This is to provide backward binary compatibility for existing \n audit modu
                                               ^                               
l variable.  This \n-provides backwards compatability for existing applications 
l variable.  This \n+provides backwards compatibility for existing applications 
                                              ^                                
 test macros are \n-* here for backward compatability, and will be not be presen
 test macros are \n+* here for backward compatibility, and will be not be presen
                                              ^                                
IBC_2_0, GLIBC_2_1) \n-/* Compiling for compatibiity.  */ \n int                
IBC_2_0, GLIBC_2_1) \n+/* Compiling for compatibility.  */ \n int               
                                                 ^                             
IBC_2_0, GLIBC_2_1) \n-/* Compiling for compatibiity.  */ \n int                
IBC_2_0, GLIBC_2_1) \n+/* Compiling for compatibility.  */ \n int               
                                                 ^                             
ion until \n-runtime but produce NaN at copile time.  This is wrong since the \n
ion until \n+runtime but produce NaN at compile time.  This is wrong since the \
                                          ^                                    
2K \n-/* Get the clock selected for the conditon variable attribute ATTR.  */ \n
2K \n+/* Get the clock selected for the condition variable attribute ATTR.  */ \
                                              ^                                
   \n-/* Set the clock selected for the conditon variable attribute ATTR.  */ \n
   \n+/* Set the clock selected for the condition variable attribute ATTR.  */ \
                                              ^                                
2K \n-/* Get the clock selected for the conditon variable attribute ATTR.  */ \n
2K \n+/* Get the clock selected for the condition variable attribute ATTR.  */ \
                                              ^                                
   \n-/* Set the clock selected for the conditon variable attribute ATTR.  */ \n
   \n+/* Set the clock selected for the condition variable attribute ATTR.  */ \
                                              ^                                
               \n-Bit 0  : flag whether coditional variable will be shareable be
               \n+Bit 0  : flag whether conditional variable will be sharable be
                                          ^                             ^      
                          / \n-//    No condions should be raised. \n //        
                          / \n+//    No conditions should be raised. \n //      
                                             ^                                 
              \n-/* Get system specific contants.  */ \n #include <bits/stropts.
              \n+/* Get system specific constants.  */ \n #include <bits/stropts
                                           ^                                   
 of init-first.  */ \n-/* This variable containts the lowest stack address ever 
 of init-first.  */ \n+/* This variable contains the lowest stack address ever u
                                              ^^                               
maps in all namespaces for the DSO that containes the object at \n address ADDR.
maps in all namespaces for the DSO that contains the object at \n address ADDR. 
                                              ^^                               
      / \n-// In memory, 2/pi is stored contigously as \n //                    
      / \n+// In memory, 2/pi is stored contiguously as \n //                   
                                              ^                                
 := 2 lsb of x. \n-//    2/pi is stored contigously as \n //    0x00000000 0x000
 := 2 lsb of x. \n+//    2/pi is stored contiguously as \n //    0x00000000 0x00
                                              ^                                
 cross from one stack to another. \n-In constrast, the __sigstack_longjmp() impl
 cross from one stack to another. \n+In contrast, the __sigstack_longjmp() imple
                                          ^^                                   
_LOOP_DECLS extra arguments passed from converion loop call. \n                 
_LOOP_DECLS extra arguments passed from conversion loop call. \n                
                                              ^                                
                * \n-* This module does convertions between gb2312 and big5 enco
                * \n+* This module does conversions between gb2312 and big5 enco
                                              ^                                
     \n-/* How many character should be conveted in one call?  */ \n #define GCO
     \n+/* How many character should be converted in one call?  */ \n #define GC
                                             ^                                 
-* hint is used, the code will not work corrrectly.  If PREPAREFORSTORE is not \
+* hint is used, the code will not work correctly.  If PREPAREFORSTORE is not \n
                                         ^  ^                                  
\n-in the repertoire map has the normal correspondants.  This test \n shows the 
\n+in the repertoire map has the normal correspondents.  This test \n shows the 
                                                  ^                            
sed_exponent_of_x - 0xFFFE \n-// needed to comparion with 0.5 and 2.0 \n br.cond
sed_exponent_of_x - 0xFFFE \n+// needed for comparison with 0.5 and 2.0 \n br.co
                                        ^          ^                           
sed_exponent_of_x - 0xFFFE \n-// needed to comparion with 0.5 and 2.0 \n }      
sed_exponent_of_x - 0xFFFE \n+// needed for comparison with 0.5 and 2.0 \n }    
                                        ^          ^                           
 to read two to three more        \ \n-chracters.  If we have a match in the fir
 to read two to three more        \ \n+characters.  If we have a match in the fi
                                         ^                                     
_LIMIT is set based on the fact that we neve use an offset greater \n * then 5 o
_LIMIT is set based on the fact that we never use an offset greater \n * then 5 
                                            ^                                  
e uint32_t for the field and ensure \n-compatiblity by adding appropriate paddin
e uint32_t for the field and ensure \n+compatibility by adding appropriate paddi
                                               ^                               
 clobbered by calls, we need not be \n-concernred about those, and thus is all c
 clobbered by calls, we need not be \n+concerned about those, and thus is all co
                                             ^^                                
ecking against localized digits, if \n-convertion is done correctly. */ \n while
ecking against localized digits, if \n+conversion is done correctly. */ \n while
                                             ^                                 
diff --git a/sysdeps/s390/dl-procinfo.h b/sysdeps/s390/dl-procinfo.h
index 45e27f1..65f037b 100644
--- a/sysdeps/s390/dl-procinfo.h
+++ b/sysdeps/s390/dl-procinfo.h
@@ -31,7 +31,7 @@
 #define _DL_HWCAP_PLATFORM	(((1ULL << _DL_PLATFORMS_COUNT) - 1) \
 				 << _DL_FIRST_PLATFORM)
 
-/* Hardware capablity bit numbers are derived directly from the
+/* Hardware capability bit numbers are derived directly from the
    facility indications as stored by the "store facility list" (STFL)
    instruction.
    highgprs is an alien in that list.  It describes a *kernel*
diff --git a/localedata/tst-digits.c b/localedata/tst-digits.c
index a0cb473..c5b594e 100644
--- a/localedata/tst-digits.c
+++ b/localedata/tst-digits.c
@@ -178,7 +178,7 @@ main (void)
   printf ("%d failures in wprintf tests\n", failures);
   status = failures != 0;
 
-  /* ctype tests.  This makes sure that the multibyte chracter digit
+  /* ctype tests.  This makes sure that the multibyte character digit
      representations are not handle in this table.  */
   failures = 0;
   for (cnt = 0; cnt < 256; ++cnt)
diff --git a/localedata/tests-mbwc/dat_wcsncat.c b/localedata/tests-mbwc/dat_wcsncat.c
index 948d80c..8487033 100644
--- a/localedata/tests-mbwc/dat_wcsncat.c
+++ b/localedata/tests-mbwc/dat_wcsncat.c
@@ -9,7 +9,7 @@
 
 /*
  *  Note:
- *	  A terminating null wide chararacter is always appended to
+ *	  A terminating null wide character is always appended to
  *	  the result: ws1.
  *
  */
diff --git a/sysdeps/i386/strpbrk.S b/sysdeps/i386/strpbrk.S
index bbc0cbe..246ae27 100644
--- a/sysdeps/i386/strpbrk.S
+++ b/sysdeps/i386/strpbrk.S
@@ -205,7 +205,7 @@ L(1):	leal -4(%edx), %eax	/* prepare loop */
 	   1. a character in the stopset was found
 	   and
 	   2. the end of the string was found
-	   But as a sign that the chracter is in the stopset we store its
+	   But as a sign that the character is in the stopset we store its
 	   value in the table.  But the value of NUL is NUL so the loop
 	   terminates for NUL in every case.  */
 
diff --git a/resolv/ns_name.c b/resolv/ns_name.c
index 246307a..f355cf3 100644
--- a/resolv/ns_name.c
+++ b/resolv/ns_name.c
@@ -681,7 +681,7 @@ libresolv_hidden_def (ns_name_skip)
 
 /*%
  *	Thinking in noninternationalized USASCII (per the DNS spec),
- *	is this characted special ("in need of quoting") ?
+ *	is this character special ("in need of quoting") ?
  *
  * return:
  *\li	boolean.
diff --git a/iconvdata/iso-2022-jp.c b/iconvdata/iso-2022-jp.c
index ce66121..7fb513f 100644
--- a/iconvdata/iso-2022-jp.c
+++ b/iconvdata/iso-2022-jp.c
@@ -271,7 +271,7 @@ gconv_end (struct __gconv_step *data)
     if (__builtin_expect (ch, 0) == ESC)				      \
       {									      \
 	/* We now must be prepared to read two to three more		      \
-	   chracters.  If we have a match in the first character but	      \
+	   characters.  If we have a match in the first character but	      \
 	   then the input buffer ends we terminate with an error since	      \
 	   we must not risk missing an escape sequence just because it	      \
 	   is not entirely in the current input buffer.  */		      \
diff --git a/ports/sysdeps/unix/sysv/linux/hppa/clone.S b/ports/sysdeps/unix/sysv/linux/hppa/clone.S
index 0d7a7eb..fd55961 100644
--- a/ports/sysdeps/unix/sysv/linux/hppa/clone.S
+++ b/ports/sysdeps/unix/sysv/linux/hppa/clone.S
@@ -155,7 +155,7 @@ ENTRY(__clone)
 	ldw	-60(%sp), %arg0
 	ldw     -64(%sp), %r22
 
-	/* $$dyncall fixes childs PIC register */
+	/* $$dyncall fixes child's PIC register */
 
 	/* Call the user's function */
 #ifdef PIC
diff --git a/sysdeps/mach/hurd/profil.c b/sysdeps/mach/hurd/profil.c
index fee244a..2ed2499 100644
--- a/sysdeps/mach/hurd/profil.c
+++ b/sysdeps/mach/hurd/profil.c
@@ -216,7 +216,7 @@ fork_profil_parent (void)
 }
 text_set_element (_hurd_fork_parent_hook, fork_profil_parent);
 
-/* In the childs, unlock the interlock, and start a profiling thread up
+/* In the child, unlock the interlock, and start a profiling thread up
    if necessary. */
 static void
 fork_profil_child (void)
diff --git a/nptl/tst-cancel4.c b/nptl/tst-cancel4.c
index 6d25e48..6ef654a 100644
--- a/nptl/tst-cancel4.c
+++ b/nptl/tst-cancel4.c
@@ -83,7 +83,7 @@ static pthread_barrier_t b2;
 # define IPC_ADDVAL 0
 #endif
 
-/* The WRITE_BUFFER_SIZE value needs to be choosen such that if we set
+/* The WRITE_BUFFER_SIZE value needs to be chosen such that if we set
    the socket send buffer size to '1', a write of this size on that
    socket will block.
 
diff --git a/ports/sysdeps/powerpc/powerpc32/405/memcpy.S b/ports/sysdeps/powerpc/powerpc32/405/memcpy.S
index 761e967..b01d539 100644
--- a/ports/sysdeps/powerpc/powerpc32/405/memcpy.S
+++ b/ports/sysdeps/powerpc/powerpc32/405/memcpy.S
@@ -98,7 +98,7 @@ L(string_count_loop): /* Copy odd 0-31 bytes */
        lswx    r6,0,r4
        stswx   r6,0,r3
 
-L(pre_string_copy): /* Check how many 32 byte chunck to copy */
+L(pre_string_copy): /* Check how many 32 byte chunks to copy */
        srwi.   r7,r5,4
        beq     L(end_memcpy)
        mtctr   r7
diff --git a/sysdeps/ieee754/ldbl-128/e_expl.c b/sysdeps/ieee754/ldbl-128/e_expl.c
index 589f957..23c204c 100644
--- a/sysdeps/ieee754/ldbl-128/e_expl.c
+++ b/sysdeps/ieee754/ldbl-128/e_expl.c
@@ -117,7 +117,7 @@ static const long double C[] = {
 #define TWO15 C[11]
  32768.0L,
 
-/* Chebyshev polynom coeficients for (exp(x)-1)/x */
+/* Chebyshev polynom coefficients for (exp(x)-1)/x */
 #define P1 C[12]
 #define P2 C[13]
 #define P3 C[14]
diff --git a/sysdeps/ieee754/ldbl-128ibm/e_expl.c b/sysdeps/ieee754/ldbl-128ibm/e_expl.c
index b599f36..1b994cd 100644
--- a/sysdeps/ieee754/ldbl-128ibm/e_expl.c
+++ b/sysdeps/ieee754/ldbl-128ibm/e_expl.c
@@ -116,7 +116,7 @@ static const long double C[] = {
 #define TWO15 C[11]
  32768.0L,
 
-/* Chebyshev polynom coeficients for (exp(x)-1)/x */
+/* Chebyshev polynom coefficients for (exp(x)-1)/x */
 #define P1 C[12]
 #define P2 C[13]
 #define P3 C[14]
diff --git a/ports/sysdeps/ia64/fpu/s_erfcl.S b/ports/sysdeps/ia64/fpu/s_erfcl.S
index b9f7004..79b94a8 100644
--- a/ports/sysdeps/ia64/fpu/s_erfcl.S
+++ b/ports/sysdeps/ia64/fpu/s_erfcl.S
@@ -71,7 +71,7 @@
 //    -0.5*[x(i+1)-x(i)] <= z <= 0.5*[x(i+1)-x(i)].
 //
 //    Let  Q(z)= (P(z)- S)/S, S = a0, rounded to 16 bits.
-//    Polynomial coeffitients for Q(z) we have in the table erfc_Q_table as
+//    Polynomial coefficients for Q(z) we have in the table erfc_Q_table as
 //    long double values
 //
 //    We use multi precision to calculate input argument -x^2 for expl and
diff --git a/ports/sysdeps/ia64/fpu/s_erfc.S b/ports/sysdeps/ia64/fpu/s_erfc.S
index c67c61a..6729cda 100644
--- a/ports/sysdeps/ia64/fpu/s_erfc.S
+++ b/ports/sysdeps/ia64/fpu/s_erfc.S
@@ -65,7 +65,7 @@
 //
 //    Let P14(z) - polynomial approximation of degree 14 for function
 //    erfc(z+x(i)) * exp( (z+x(i))^2) and 0 <= z <= x(i+1)-x(i).
-//    Polynomial coeffitients we have in the table erfc_p_table.
+//    Polynomial coefficients we have in the table erfc_p_table.
 //
 //    So we can find result for erfc(x) as above.
 //    Algorithm description for exp function see below.
diff --git a/ports/sysdeps/ia64/fpu/s_erfcf.S b/ports/sysdeps/ia64/fpu/s_erfcf.S
index ce6be8d..97c9037 100644
--- a/ports/sysdeps/ia64/fpu/s_erfcf.S
+++ b/ports/sysdeps/ia64/fpu/s_erfcf.S
@@ -63,7 +63,7 @@
 //
 //    Let P15(x) - polynomial approximation of degree 15 for function
 //    erfcf(x) * exp( x^2) and x(i) <= x <= x(i+1), i = 0,1,2,3
-//    Polynomial coeffitients we have in the table erfc_p_table.
+//    Polynomial coefficients we have in the table erfc_p_table.
 //
 //    So we can find result for erfcf(x) as above.
 //    Algorithm description for exp function see below.
diff --git a/ports/sysdeps/unix/sysv/linux/alpha/bits/netdb.h b/ports/sysdeps/unix/sysv/linux/alpha/bits/netdb.h
index b9437ff..65f76fd 100644
--- a/ports/sysdeps/unix/sysv/linux/alpha/bits/netdb.h
+++ b/ports/sysdeps/unix/sysv/linux/alpha/bits/netdb.h
@@ -29,6 +29,6 @@ struct netent
   char **n_aliases;		/* Alias list.  */
   int n_addrtype;		/* Net address type.  */
   /* XXX We should probably use uint32_t for the field and ensure
-     compatiblity by adding appropriate padding.  */
+     compatibility by adding appropriate padding.  */
   unsigned long	int n_net;	/* Network number.  */
 };
diff --git a/sysdeps/x86_64/dl-trampoline.S b/sysdeps/x86_64/dl-trampoline.S
index 5770c64..a25e390 100644
--- a/sysdeps/x86_64/dl-trampoline.S
+++ b/sysdeps/x86_64/dl-trampoline.S
@@ -119,7 +119,7 @@ _dl_runtime_profile:
 	movq %rax, LR_RSP_OFFSET(%rsp)
 
 	/* We always store the XMM registers even if AVX is available.
-	   This is to provide backward binary compatility for existing
+	   This is to provide backward binary compatibility for existing
 	   audit modules.  */
 	movaps %xmm0,		   (LR_XMM_OFFSET)(%rsp)
 	movaps %xmm1, (LR_XMM_OFFSET +   XMM_SIZE)(%rsp)
diff --git a/sunrpc/rpc_thread.c b/sunrpc/rpc_thread.c
index 94d9f1f..fee47f7 100644
--- a/sunrpc/rpc_thread.c
+++ b/sunrpc/rpc_thread.c
@@ -80,7 +80,7 @@ __rpc_thread_variables (void)
 
 /* Global variables If we're single-threaded, or if this is the first
    thread using the variable, use the existing global variable.  This
-   provides backwards compatability for existing applications which
+   provides backwards compatibility for existing applications which
    dynamically link against this code.  */
 #undef svc_fdset
 #undef rpc_createerr
diff --git a/nis/rpcsvc/nis.h b/nis/rpcsvc/nis.h
index 5c5c7bb..933c4d9 100644
--- a/nis/rpcsvc/nis.h
+++ b/nis/rpcsvc/nis.h
@@ -470,7 +470,7 @@ typedef struct fd_result fd_result;
 #define NIS_NOBODY(a, m)       (((a) & ((m) << 24)) != 0)
 /*
  * EOL Alert - The following non-prefixed test macros are
- * here for backward compatability, and will be not be present
+ * here for backward compatibility, and will be not be present
  * in future releases - use the NIS_*() macros above.
  */
 #define WORLD(a, m)	(((a) & (m)) != 0)
diff --git a/sysdeps/unix/sysv/linux/i386/chown.c b/sysdeps/unix/sysv/linux/i386/chown.c
index 94f2940..5fa6402 100644
--- a/sysdeps/unix/sysv/linux/i386/chown.c
+++ b/sysdeps/unix/sysv/linux/i386/chown.c
@@ -49,7 +49,7 @@ __real_chown (const char *file, uid_t owner, gid_t group)
 
 
 #if SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)
-/* Compiling for compatibiity.  */
+/* Compiling for compatibility.  */
 int
 attribute_compat_text_section
 __chown_is_lchown (const char *file, uid_t owner, gid_t group)
diff --git a/sysdeps/unix/sysv/linux/s390/s390-32/chown.c b/sysdeps/unix/sysv/linux/s390/s390-32/chown.c
index cd0cb74..7fbd28a 100644
--- a/sysdeps/unix/sysv/linux/s390/s390-32/chown.c
+++ b/sysdeps/unix/sysv/linux/s390/s390-32/chown.c
@@ -46,7 +46,7 @@ __real_chown (const char *file, uid_t owner, gid_t group)
 
 
 #if SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)
-/* Compiling for compatibiity.  */
+/* Compiling for compatibility.  */
 int
 attribute_compat_text_section
 __chown_is_lchown (const char *file, uid_t owner, gid_t group)
diff --git a/sysdeps/ieee754/k_standard.c b/sysdeps/ieee754/k_standard.c
index 150921f..4a0d82d 100644
--- a/sysdeps/ieee754/k_standard.c
+++ b/sysdeps/ieee754/k_standard.c
@@ -31,7 +31,7 @@ static char rcsid[] = "$NetBSD: k_standard.c,v 1.6 1995/05/10 20:46:35 jtc Exp $
 #endif	/* !defined(_USE_WRITE) */
 
 /* XXX gcc versions until now don't delay the 0.0/0.0 division until
-   runtime but produce NaN at copile time.  This is wrong since the
+   runtime but produce NaN at compile time.  This is wrong since the
    exceptions are not set correctly.  */
 #if 0
 static const double zero = 0.0;	/* used as const */
diff --git a/sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c b/sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c
index bd3d4f9..5e64efa 100644
--- a/sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c
+++ b/sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c
@@ -28,7 +28,7 @@
    Returning to the correct parent context is pretty simple on
    Sparc.  We only need to link up the register windows correctly.
    Since global registers are clobbered by calls, we need not be
-   concernred about those, and thus is all could be worked out without
+   concerned about those, and thus is all could be worked out without
    using a trampoline.
 
    Except that we must deal with the signal mask, thus a trampoline
diff --git a/nptl/sysdeps/pthread/pthread.h b/nptl/sysdeps/pthread/pthread.h
index 61d5346..b58f60e 100644
--- a/nptl/sysdeps/pthread/pthread.h
+++ b/nptl/sysdeps/pthread/pthread.h
@@ -1034,13 +1034,13 @@ extern int pthread_condattr_setpshared (pthread_condattr_t *__attr,
 					int __pshared) __THROW __nonnull ((1));
 
 #ifdef __USE_XOPEN2K
-/* Get the clock selected for the conditon variable attribute ATTR.  */
+/* Get the clock selected for the condition variable attribute ATTR.  */
 extern int pthread_condattr_getclock (const pthread_condattr_t *
 				      __restrict __attr,
 				      __clockid_t *__restrict __clock_id)
      __THROW __nonnull ((1, 2));
 
-/* Set the clock selected for the conditon variable attribute ATTR.  */
+/* Set the clock selected for the condition variable attribute ATTR.  */
 extern int pthread_condattr_setclock (pthread_condattr_t *__attr,
 				      __clockid_t __clock_id)
      __THROW __nonnull ((1));
diff --git a/ports/sysdeps/unix/sysv/linux/hppa/nptl/pthread.h b/ports/sysdeps/unix/sysv/linux/hppa/nptl/pthread.h
index 70e0604..39e1ab9 100644
--- a/ports/sysdeps/unix/sysv/linux/hppa/nptl/pthread.h
+++ b/ports/sysdeps/unix/sysv/linux/hppa/nptl/pthread.h
@@ -1014,13 +1014,13 @@ extern int pthread_condattr_setpshared (pthread_condattr_t *__attr,
 					int __pshared) __THROW __nonnull ((1));
 
 #ifdef __USE_XOPEN2K
-/* Get the clock selected for the conditon variable attribute ATTR.  */
+/* Get the clock selected for the condition variable attribute ATTR.  */
 extern int pthread_condattr_getclock (const pthread_condattr_t *
 				      __restrict __attr,
 				      __clockid_t *__restrict __clock_id)
      __THROW __nonnull ((1, 2));
 
-/* Set the clock selected for the conditon variable attribute ATTR.  */
+/* Set the clock selected for the condition variable attribute ATTR.  */
 extern int pthread_condattr_setclock (pthread_condattr_t *__attr,
 				      __clockid_t __clock_id)
      __THROW __nonnull ((1));
diff --git a/nptl/sysdeps/unix/sysv/linux/internaltypes.h b/nptl/sysdeps/unix/sysv/linux/internaltypes.h
index 699a618..a7ee3fe 100644
--- a/nptl/sysdeps/unix/sysv/linux/internaltypes.h
+++ b/nptl/sysdeps/unix/sysv/linux/internaltypes.h
@@ -66,7 +66,7 @@ struct pthread_condattr
 {
   /* Combination of values:
 
-     Bit 0  : flag whether coditional variable will be shareable between
+     Bit 0  : flag whether conditional variable will be sharable between
 	      processes.
 
      Bit 1-7: clock ID.  */
diff --git a/ports/sysdeps/ia64/fpu/libm_reduce.S b/ports/sysdeps/ia64/fpu/libm_reduce.S
index 8bdf91d..8b13249 100644
--- a/ports/sysdeps/ia64/fpu/libm_reduce.S
+++ b/ports/sysdeps/ia64/fpu/libm_reduce.S
@@ -75,7 +75,7 @@
 //
 // IEEE Special Conditions:
 //
-//    No condions should be raised.
+//    No conditions should be raised.
 //
 //*********************************************************************
 //
diff --git a/streams/stropts.h b/streams/stropts.h
index 7988602..5af61dc 100644
--- a/streams/stropts.h
+++ b/streams/stropts.h
@@ -35,7 +35,7 @@ typedef __uid_t uid_t;
 typedef __t_scalar_t t_scalar_t;
 typedef __t_uscalar_t t_uscalar_t;
 
-/* Get system specific contants.  */
+/* Get system specific constants.  */
 #include <bits/stropts.h>
 
 
diff --git a/sysdeps/mach/hurd/dl-sysdep.c b/sysdeps/mach/hurd/dl-sysdep.c
index d85c22a..1788ede 100644
--- a/sysdeps/mach/hurd/dl-sysdep.c
+++ b/sysdeps/mach/hurd/dl-sysdep.c
@@ -54,7 +54,7 @@ int __libc_enable_secure = 0;
 INTVARDEF(__libc_enable_secure)
 int __libc_multiple_libcs = 0;	/* Defining this here avoids the inclusion
 				   of init-first.  */
-/* This variable containts the lowest stack address ever used.  */
+/* This variable contains the lowest stack address ever used.  */
 void *__libc_stack_end;
 
 #if HP_TIMING_AVAIL
diff --git a/elf/dl-open.c b/elf/dl-open.c
index 24d6a70..1403c8c 100644
--- a/elf/dl-open.c
+++ b/elf/dl-open.c
@@ -158,7 +158,7 @@ add_to_global (struct link_map *new)
   return 0;
 }
 
-/* Search link maps in all namespaces for the DSO that containes the object at
+/* Search link maps in all namespaces for the DSO that contains the object at
    address ADDR.  Returns the pointer to the link map of the matching DSO, or
    NULL if a match is not found.  */
 struct link_map *
diff --git a/ports/sysdeps/ia64/fpu/libm_reduce.S b/ports/sysdeps/ia64/fpu/libm_reduce.S
index 8bdf91d..8b13249 100644
--- a/ports/sysdeps/ia64/fpu/libm_reduce.S
+++ b/ports/sysdeps/ia64/fpu/libm_reduce.S
@@ -288,7 +288,7 @@
 //
 // Set sgn_x := sign(x); x := |x|; x_lo := 2 lsb of x.
 //
-// In memory, 2/pi is stored contigously as
+// In memory, 2/pi is stored contiguously as
 //
 //  0x00000000 0x00000000 0xA2F....
 //                       ^
diff --git a/ports/sysdeps/ia64/fpu/libm_reduce.S b/ports/sysdeps/ia64/fpu/libm_reduce.S
index 8bdf91d..8b13249 100644
--- a/ports/sysdeps/ia64/fpu/libm_reduce.S
+++ b/ports/sysdeps/ia64/fpu/libm_reduce.S
@@ -786,7 +786,7 @@ __libm_pi_by_2_reduce:
 //          setf.sig FR_ScaleP3 = GR_x_lo
 //          fmerge.se FR_X = FR_X,FR_ScaleP3
 //    Set sgn_x := sign(x); x := |x|; x_lo := 2 lsb of x.
-//    2/pi is stored contigously as
+//    2/pi is stored contiguously as
 //    0x00000000 0x00000000.0xA2F....
 //    M = EXP - BIAS  ( M >= 63)
 //    Given x = 2^m * 1.xxxx...xxx; we calculate L := 62 - m.
diff --git a/ports/sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c b/ports/sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c
index efe95b1..9d263f2 100644
--- a/ports/sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c
+++ b/ports/sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c
@@ -19,7 +19,7 @@
 /* The public __longjmp() implementation is limited to jumping within
    the same stack.  That is, in general it is not possible to use this
    __longjmp() implementation to cross from one stack to another.
-   In constrast, the __sigstack_longjmp() implemented here allows
+   In contrast, the __sigstack_longjmp() implemented here allows
    crossing from the alternate signal stack to the normal stack
    as a special case.  */
 
diff --git a/stdio-common/vfscanf.c b/stdio-common/vfscanf.c
index 3430567..78dc2fc 100644
--- a/stdio-common/vfscanf.c
+++ b/stdio-common/vfscanf.c
@@ -2185,7 +2185,7 @@ _IO_vfscanf_internal (_IO_FILE *s, const char *format, _IO_va_list argptr,
 		    }
 
 		  /* Start checking against localized digits, if
-		     convertion is done correctly. */
+		     conversion is done correctly. */
 		  while (1)
 		    {
 		      if (got_e && wp[wpsize - 1] == exp_char
diff --git a/iconv/loop.c b/iconv/loop.c
index 46bfdbb..ad0181f 100644
--- a/iconv/loop.c
+++ b/iconv/loop.c
@@ -38,7 +38,7 @@
      BODY		this is supposed to expand to the body of the loop.
 			The user must provide this.
 
-     EXTRA_LOOP_DECLS	extra arguments passed from converion loop call.
+     EXTRA_LOOP_DECLS	extra arguments passed from conversion loop call.
 
      INIT_PARAMS	code to define and initialize variables from params.
      UPDATE_PARAMS	code to store result in params.
diff --git a/iconvdata/gbbig5.c b/iconvdata/gbbig5.c
index c08a2c1..bb75fa7 100644
--- a/iconvdata/gbbig5.c
+++ b/iconvdata/gbbig5.c
@@ -22,7 +22,7 @@
 #include <stdint.h>
 
 /*
- * This module does convertions between gb2312 and big5 encodings.
+ * This module does conversions between gb2312 and big5 encodings.
  * It is necessary because gb2312 encoding use simplified chinese,
  * while big5 use traditional one. Often times both the simplified
  * version of a chinese character and its traditional counterpart
diff --git a/iconv/gconv_int.h b/iconv/gconv_int.h
index 80c1533..06faeaa 100644
--- a/iconv/gconv_int.h
+++ b/iconv/gconv_int.h
@@ -49,7 +49,7 @@ struct gconv_alias
 };
 
 
-/* How many character should be conveted in one call?  */
+/* How many character should be converted in one call?  */
 #define GCONV_NCHAR_GOAL	8160
 
 
diff --git a/ports/sysdeps/mips/memcpy.S b/ports/sysdeps/mips/memcpy.S
index aeea491..8065da3 100644
--- a/ports/sysdeps/mips/memcpy.S
+++ b/ports/sysdeps/mips/memcpy.S
@@ -157,10 +157,10 @@
 /* MAX_PREFETCH_SIZE is the maximum size of a prefetch, it must not be less
  * then PREFETCH_CHUNK, the assumed size of each prefetch.  If the real size
  * of a prefetch is greater then MAX_PREFETCH_SIZE and the PREPAREFORSTORE
- * hint is used, the code will not work corrrectly.  If PREPAREFORSTORE is not
+ * hint is used, the code will not work correctly.  If PREPAREFORSTORE is not
  * used then MAX_PREFETCH_SIZE does not matter.  */
 #define MAX_PREFETCH_SIZE 128
-/* PREFETCH_LIMIT is set based on the fact that we neve use an offset greater
+/* PREFETCH_LIMIT is set based on the fact that we never use an offset greater
  * then 5 on a STORE prefetch and that a single prefetch can never be larger
  * then MAX_PREFETCH_SIZE.  We add the extra 32 when USE_DOUBLE is set because
  * we actually do two prefetches in that case, one 32 bytes after the other.  */
diff --git a/localedata/tests/test6.c b/localedata/tests/test6.c
index 30d4a11..6548601 100644
--- a/localedata/tests/test6.c
+++ b/localedata/tests/test6.c
@@ -40,7 +40,7 @@ main (void)
       /* Test basic table handling (basic == not more than 256 characters).
 	 The charmaps swaps the normal lower-upper case meaning of the
 	 ASCII characters used in the source code while the Unicode mapping
-	 in the repertoire map has the normal correspondants.  This test
+	 in the repertoire map has the normal correspondents.  This test
 	 shows the independence of the tables for `char' and `wchar_t'
 	 characters.  */
 
diff --git a/ports/sysdeps/ia64/fpu/e_logf.S b/ports/sysdeps/ia64/fpu/e_logf.S
index 885082f..9175f95 100644
--- a/ports/sysdeps/ia64/fpu/e_logf.S
+++ b/ports/sysdeps/ia64/fpu/e_logf.S
@@ -838,7 +838,7 @@ GLOBAL_IEEE754_ENTRY(log10f)
 { .mib
       setf.exp      FR_A2 = GR_05 // create A2
       sub           GR_de = GR_Exp,GR_05 // biased_exponent_of_x - 0xFFFE
-                                         // needed to comparion with 0.5 and 2.0
+                                         // needed for comparison with 0.5 and 2.0
       br.cond.sptk  logf_log10f_common
 };;
 GLOBAL_IEEE754_END(log10f)

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [PATCH 3/9 v2] Fix typos.
  2013-08-30 15:47           ` [PATCH 3/9 v2] " Ondřej Bílka
@ 2013-08-30 16:01             ` Joseph S. Myers
  0 siblings, 0 replies; 24+ messages in thread
From: Joseph S. Myers @ 2013-08-30 16:01 UTC (permalink / raw)
  To: Ondřej Bílka; +Cc: Will Newton, libc-alpha, libc-ports

This version is OK.

-- 
Joseph S. Myers
joseph@codesourcery.com

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [PATCH 3.5/9] Fix then/than typo.
  2013-08-30 12:58       ` [PATCH 3.5/9] Fix then/than typo Ondřej Bílka
  2013-08-30 13:34         ` Allan McRae
@ 2013-08-30 16:22         ` Brooks Moses
  2013-09-02  9:30           ` [COMMITED] Fix additional typo Ondřej Bílka
  1 sibling, 1 reply; 24+ messages in thread
From: Brooks Moses @ 2013-08-30 16:22 UTC (permalink / raw)
  To: libc-alpha; +Cc: Ondřej Bílka, libc-ports

On 08/30/2013 05:58 AM, Ondřej Bílka wrote:
> --- a/sysdeps/powerpc/powerpc32/power6/memcpy.S
> +++ b/sysdeps/powerpc/powerpc32/power6/memcpy.S
[...]
> -     if there more then 0 bytes (1-3) bytes remaining and use
> +     if there more than 0 bytes (1-3) bytes remaining and use

This needs to be corrected to "if there are more than".

- Brooks

^ permalink raw reply	[flat|nested] 24+ messages in thread

* [COMMITED] Fix additional typo.
  2013-08-30 16:22         ` Brooks Moses
@ 2013-09-02  9:30           ` Ondřej Bílka
  0 siblings, 0 replies; 24+ messages in thread
From: Ondřej Bílka @ 2013-09-02  9:30 UTC (permalink / raw)
  To: Brooks Moses; +Cc: libc-alpha, libc-ports

On Fri, Aug 30, 2013 at 09:22:38AM -0700, Brooks Moses wrote:
> On 08/30/2013 05:58 AM, Ondřej Bílka wrote:
> >--- a/sysdeps/powerpc/powerpc32/power6/memcpy.S
> >+++ b/sysdeps/powerpc/powerpc32/power6/memcpy.S
> [...]
> >-     if there more then 0 bytes (1-3) bytes remaining and use
> >+     if there more than 0 bytes (1-3) bytes remaining and use
> 
> This needs to be corrected to "if there are more than".
> 
> - Brooks

Ok, I commited this correction as obvious.

./ChangeLog:

	* sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.

---
 sysdeps/powerpc/powerpc32/power6/memcpy.S | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sysdeps/powerpc/powerpc32/power6/memcpy.S b/sysdeps/powerpc/powerpc32/power6/memcpy.S
index c786806..a76f71e 100644
--- a/sysdeps/powerpc/powerpc32/power6/memcpy.S
+++ b/sysdeps/powerpc/powerpc32/power6/memcpy.S
@@ -433,7 +433,7 @@ L(wdu):
      Then if more than 4 bytes remain we again use aligned loads,
      shifts and or to generate the next dst word. We then process the
      remaining words using unaligned loads as needed. Finally we check
-     if there more than 0 bytes (1-3) bytes remaining and use
+     if there are more than 0 bytes (1-3) bytes remaining and use
      halfword and or byte load/stores to complete the copy.
 */
     mr      4,12      /* restore unaligned adjusted src ptr */
-- 
1.8.3.2

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [PATCH 4/9] Fix typos.
  2013-08-18 22:10     ` [PATCH 1/9] " Ondřej Bílka
                         ` (4 preceding siblings ...)
  2013-08-30 12:58       ` [PATCH 3.5/9] Fix then/than typo Ondřej Bílka
@ 2013-09-02  9:37       ` Ondřej Bílka
  2013-09-02 10:01         ` Florian Weimer
  2013-09-02 10:15         ` Allan McRae
  5 siblings, 2 replies; 24+ messages in thread
From: Ondřej Bílka @ 2013-09-02  9:37 UTC (permalink / raw)
  To: Joseph S. Myers; +Cc: libc-alpha, libc-ports

Here are next typos.

./nptl/ChangeLog:


	* pthread_getattr_np.c: Fix typos.
	* sysdeps/pthread/timer_create.c: Likewise.
	* sysdeps/unix/sysv/linux/bits/local_lim.h: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Likewise.
	* sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Likewise.

./ChangeLog:


	* benchtests/bench-memcmp.c: Fix typos.
	* csu/check_fds.c: Likewise.
	* csu/init-first.c: Likewise.
	* elf/dl-profile.c: Likewise.
	* elf/dl-version.c: Likewise.
	* elf/elf.h: Likewise.
	* elf/sprof.c: Likewise.
	* iconv/gconv_int.h: Likewise.
	* iconv/iconv_prog.c: Likewise.
	* inet/netinet/igmp.h: Likewise.
	* libio/genops.c: Likewise.
	* locale/localeinfo.h: Likewise.
	* math/bits/mathcalls.h: Likewise.
	* math/fenv.h: Likewise.
	* math/tgmath.h: Likewise.
	* nis/nis_checkpoint.c: Likewise.
	* nis/nis_ping.c: Likewise.
	* nis/nss_compat/compat-grp.c: Likewise.
	* nis/nss_compat/compat-pwd.c: Likewise.
	* nis/nss_compat/compat-spwd.c: Likewise.
	* nscd/connections.c: Likewise.
	* posix/regcomp.c: Likewise.
	* posix/regexec.c: Likewise.
	* posix/tst-exec.c: Likewise.
	* rt/aio.h: Likewise.
	* stdio-common/printf_fp.c: Likewise.
	* stdlib/lldiv.c: Likewise.
	* stdlib/tst-random.c: Likewise.
	* string/test-memcmp.c: Likewise.
	* sunrpc/rpc_svcout.c: Likewise.
	* sunrpc/xdr_rec.c: Likewise.
	* sysdeps/generic/pty-private.h: Likewise.
	* sysdeps/generic/unwind-dw2-fde-glibc.c: Likewise.
	* sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
	* sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
	* sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
	* sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
	* sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
	* sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
	* sysdeps/pthread/aio_cancel.c: Likewise.
	* sysdeps/pthread/aio_misc.c: Likewise.
	* sysdeps/unix/sysv/linux/bits/local_lim.h: Likewise.
	* sysdeps/unix/sysv/linux/net/if_shaper.h: Likewise.
	* sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
	* sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.

./localedata/ChangeLog:


	* tests-mbwc/dat_mblen.c: Fix typos.
	* tests-mbwc/dat_strxfrm.c: Likewise.
	* tests-mbwc/dat_wcsxfrm.c: Likewise.

./libidn/ChangeLog:


	* iconvme.c: Fix typos.

./ports/ChangeLog.ia64:


	* sysdeps/ia64/fpu/e_logf.S: Fix typos.
	* sysdeps/ia64/fpu/libm_reduce.S: Likewise.
	* sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Likewise.

./ports/ChangeLog.alpha:


	* sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Fix typos.
	* sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Likewise.

./ports/ChangeLog.mips:


	* sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Fix typos.

./ports/ChangeLog.tile:


	* sysdeps/unix/sysv/linux/tile/bits/local_lim.h: Fix typos.

./ports/ChangeLog.microblaze:


	* sysdeps/microblaze/math_private.h: Fix typos.

./ports/ChangeLog.powerpc:


	* sysdeps/powerpc/powerpc32/405/memcpy.S: Fix typos.
	* sysdeps/powerpc/powerpc32/405/memset.S: Likewise.
	* sysdeps/powerpc/powerpc32/476/memset.S: Likewise.

./ports/ChangeLog.aarch64:


	* sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Fix typos.
	* sysdeps/aarch64/strlen.S: Fix typos.
	* sysdeps/aarch64/strnlen.S: Likewise.

./ports/ChangeLog.arm:


	* sysdeps/arm/find_exidx.c: Fix typos.

---

-       use dbcz to set memeory when we can
-       otherwsie do the follwoing
+       use dbcz to set memory when we can
+       otherwise do the following
-       use dbcz to set memeory when we can
-       otherwsie do the follwoing
+       use dbcz to set memory when we can
+       otherwise do the following
as already thrown away, then the node \n-could't accept the current input `multi
as already thrown away, then the node \n+couldn't accept the current input `mult
                                              ^                                
DERR_FILENO are the three lowest file \n-decsriptor numbers, in this order.  */ 
DERR_FILENO are the three lowest file \n+descriptor numbers, in this order.  */ 
                                           ^^                                  
 of the list of all requests for this \n-desriptor.  */ \n req = __aio_find_req_
 of the list of all requests for this \n+descriptor.  */ \n req = __aio_find_req
                                            ^                                  
t pointers \n-// to the base address of coresponding data sets containing values
t pointers \n+// to the base address of corresponding data sets containing value
                                          ^^                                   
e 0 or 1. Also, let P_0 be the two bits correspoding to \n // bit positions L+2 
e 0 or 1. Also, let P_0 be the two bits corresponding to \n // bit positions L+2
                                                ^                              
                         \n-/* Start of critial section -- keep to one 64Byte ca
                         \n+/* Start of critical section -- keep to one 64Byte c
                                             ^                                 
                         \n-/* Start of critial section -- keep to one 64Byte ca
                         \n+/* Start of critical section -- keep to one 64Byte c
                                             ^                                 
u_int32_t *frag_header; /* beginning of curren fragment */ \n bool_t frag_sent; 
u_int32_t *frag_header; /* beginning of current fragment */ \n bool_t frag_sent;
                                              ^                                
 allocated using \n-malloc, and must be dellocated by the caller using free.  On
 allocated using \n+malloc, and must be deallocated by the caller using free.  O
                                          ^                                    
* Maximum amount by which a process can descrease its asynchronous I/O \n priori
* Maximum amount by which a process can decrease its asynchronous I/O \n priorit
                                         ^^                                    
* Maximum amount by which a process can descrease its asynchronous I/O \n priori
* Maximum amount by which a process can decrease its asynchronous I/O \n priorit
                                         ^^                                    
* Maximum amount by which a process can descrease its asynchronous I/O \n priori
* Maximum amount by which a process can decrease its asynchronous I/O \n priorit
                                         ^^                                    
* Maximum amount by which a process can descrease its asynchronous I/O \n priori
* Maximum amount by which a process can decrease its asynchronous I/O \n priorit
                                         ^^                                    
* Maximum amount by which a process can descrease its asynchronous I/O \n priori
* Maximum amount by which a process can decrease its asynchronous I/O \n priorit
                                         ^^                                    
* Maximum amount by which a process can descrease its asynchronous I/O \n priori
* Maximum amount by which a process can decrease its asynchronous I/O \n priorit
                                         ^^                                    
* Maximum amount by which a process can descrease its asynchronous I/O \n priori
* Maximum amount by which a process can decrease its asynchronous I/O \n priorit
                                         ^^                                    
* Maximum amount by which a process can descrease its asynchronous I/O \n priori
* Maximum amount by which a process can decrease its asynchronous I/O \n priorit
                                         ^^                                    
* Maximum amount by which a process can descrease its asynchronous I/O \n priori
* Maximum amount by which a process can decrease its asynchronous I/O \n priorit
                                         ^^                                    
 \n-timeout to the maximum.  It will be descreased when adding \n new entries to
 \n+timeout to the maximum.  It will be decreased when adding \n new entries to 
                                         ^^                                    
ild errors if the FE_* \n-macros aren't definied. Only allow rounding modes impl
ild errors if the FE_* \n+macros aren't defined. Only allow rounding modes imple
                                            ^^                                 
rintmsg_1(...)) \n-which calls server's defintion of actual function (e.g. print
rintmsg_1(...)) \n+which calls server's definition of actual function (e.g. prin
                                             ^                                 
            -1,4 +1,4 @@ \n-/* Internal defenitions and declarations for pseudo 
            -1,4 +1,4 @@ \n+/* Internal definitions and declarations for pseudo 
                                           ^                                   
              * \n-* The following four defininitions are for backwards compatib
              * \n+* The following four definitions are for backwards compatibil
                                          ^   ^                                
   \ \n-/* If the lower double is not a denomal or zero then set the hidden     
   \ \n+/* If the lower double is not a denormal or zero then set the hidden    
                                            ^                                  
sa1; \n-/* If the lower double is not a denomal or zero then set the hidden \n 5
sa1; \n+/* If the lower double is not a denormal or zero then set the hidden \n 
                                            ^                                  
sa1; \n-/* If the lower double is not a denomal or zero then set the hidden \n 5
sa1; \n+/* If the lower double is not a denormal or zero then set the hidden \n 
                                            ^                                  
) == 0LL) { \n-/* the lower double is a denomal so we need to correct its \n man
) == 0LL) { \n+/* the lower double is a denormal so we need to correct its \n ma
                                            ^                                  
 the highest version index used \n-in a dependecy.  */ \n unsigned int ndx_high 
 the highest version index used \n+in a dependency.  */ \n unsigned int ndx_high
                                               ^                               
             * \n-* This is a bit speed dependant (read it shouldnt be a constan
             * \n+* This is a bit speed dependent (read it shouldn't be a consta
                                              ^                   ^            
             \n-/* Get the architecture dependend definitions.  The following de
             \n+/* Get the architecture dependent definitions.  The following de
                                                ^                              
l character. \n-*  Results of this test depens on results of strcoll(). \n *  If
l character. \n+*  Results of this test depends on results of strcoll(). \n *  I
                                             ^                                 
l character. \n-*  Results of this test depens on results of wcscoll(). \n *  If
l character. \n+*  Results of this test depends on results of wcscoll(). \n *  I
                                             ^                                 
Set up profiling data to profile object desribed by MAP.  The output \n file is 
Set up profiling data to profile object described by MAP.  The output \n file is
                                           ^                                   
 descriptor \n-+ the name of the closed desriptor \n */                         
 descriptor \n++ the name of the closed descriptor \n */                        
                                           ^                                   
           \n-/* We don't need the file desriptor anymore.  */ \n if (close (fd)
           \n+/* We don't need the file descriptor anymore.  */ \n if (close (fd
                                           ^                                   
rce all operations associated with file desriptor described by \n `aio_fildes' m
rce all operations associated with file descriptor described by \n `aio_fildes' 
                                           ^                                   
                \n-/* Return in *HANDLE decriptor for transformation from FROMSE
                \n+/* Return in *HANDLE descriptor for transformation from FROMS
                                          ^                                    
 \n-say that the thread processing this desriptor shall immediately \n after fin
 \n+say that the thread processing this descriptor shall immediately \n after fi
                                           ^                                   
* we have a problem with reading from a desriptor since we must not \n provide t
* we have a problem with reading from a descriptor since we must not \n provide 
                                           ^                                   
for keeping the values in the \n-thread desriptor up-to-date in case the user ch
for keeping the values in the \n+thread descriptor up-to-date in case the user c
                                           ^                                   
            \n-int aio_fildes;  /* File desriptor.  */ \n int aio_lio_opcode;  /
            \n+int aio_fildes;  /* File descriptor.  */ \n int aio_lio_opcode;  
                                           ^                                   
            \n-int aio_fildes;  /* File desriptor.  */ \n int aio_lio_opcode;  /
            \n+int aio_fildes;  /* File descriptor.  */ \n int aio_lio_opcode;  
                                           ^                                   
ignal modifications to the list of FILE decriptors.  */ \n static int _IO_list_a
ignal modifications to the list of FILE descriptors.  */ \n static int _IO_list_
                                          ^                                    
         \n-/* For static linking it is desireable to avoid always linking in th
         \n+/* For static linking it is desirable to avoid always linking in the
                                            ^^                                 
                      \n-/* On Alpha we desparately want to avoid having to issu
                      \n+/* On Alpha we desperately want to avoid having to issu
                                            ^                                  
       Save return address in r0. \n-If destinationn and source are unaligned an
       Save return address in r0. \n+If destination and source are unaligned and
                                                 ^ ^                           
       Save return address in r12 \n-If destinationn is unaligned and count is g
       Save return address in r12 \n+If destination is unaligned and count is gr
                                                 ^ ^                           
       Save return address in r12 \n-If destinationn is unaligned and count is g
       Save return address in r12 \n+If destination is unaligned and count is gr
                                                 ^ ^                           
\n-/* Ensure thread attributes call for deatched thread.  */ \n pthread_attr_set
\n+/* Ensure thread attributes call for detached thread.  */ \n pthread_attr_set
                                          ^^                                   
                      \n-/* Callback to determins if the PC lies within an objec
                      \n+/* Callback to determines if the PC lies within an obje
                                                ^                              
ouble \n-value.  This is indicated by a differnce between the signs of the \n hi
ouble \n+value.  This is indicated by a difference between the signs of the \n h
                                              ^                                
         \n-/* Check if obj is really a diryectory object */ \n if (__type_of (N
         \n+/* Check if obj is really a directory object */ \n if (__type_of (NI
                                          ^^                                   
         \n-/* Check if obj is really a diryectory object */ \n if (__type_of (o
         \n+/* Check if obj is really a directory object */ \n if (__type_of (ob
                                          ^^                                   
uring \n-the interleaved generation.  A discrepency here would suggest \n a prob
uring \n+the interleaved generation.  A discrepancy here would suggest \n a prob
                                               ^                               
andom() \n-to set the initial state.  A discrepency here would suggest that \n s
andom() \n+to set the initial state.  A discrepancy here would suggest that \n s
                                               ^                               
     -1,4 +1,4 @@ \n-/* `long long int' divison with remainder. \n Copyright (C)
     -1,4 +1,4 @@ \n+/* `long long int' division with remainder. \n Copyright (C
                                             ^                                 
  \n-/* Return the remainder of integer divison X / Y with infinite precision.  
  \n+/* Return the remainder of integer division X / Y with infinite precision. 
                                             ^                                 
  \n-/* Return the remainder of integer divison X / Y with infinite precision.  
  \n+/* Return the remainder of integer division X / Y with infinite precision. 
                                             ^                                 
e. \n-*    Even if you set a 'NULL', it doens't mean a NULL pointer. \n *       
e. \n+*    Even if you set a 'NULL', it doesn't mean a NULL pointer. \n *       
                                           ^^                                  
                            { \n-/* For dynamicly linked executables and shared 
                            { \n+/* For dynamically linked executables and share
                                               ^^                              
n-be coming from the ASCII range we can esily convert the \n string without mapp
n+be coming from the ASCII range we can easily convert the \n string without map
                                         ^                                     
mcmp has to use UNSIGNED comparison for elemnts. \n */                          
mcmp has to use UNSIGNED comparison for elements. \n */                         
                                            ^                                  
mcmp has to use UNSIGNED comparison for elemnts. \n */                          
mcmp has to use UNSIGNED comparison for elements. \n */                         
                                            ^                                  
mcmp has to use UNSIGNED comparison for elemnts. \n */                          
mcmp has to use UNSIGNED comparison for elements. \n */                         
                                            ^                                  
mcmp has to use UNSIGNED comparison for elemnts. \n */                          
mcmp has to use UNSIGNED comparison for elements. \n */                         
                                            ^                                  
mcmp has to use UNSIGNED comparison for elemnts. \n */                          
mcmp has to use UNSIGNED comparison for elements. \n */                         
                                            ^                                  
mcmp has to use UNSIGNED comparison for elemnts. \n */                          
mcmp has to use UNSIGNED comparison for elements. \n */                         
                                            ^                                  
*/ \n-#define EM_NCPU  56  /* Sony nCPU embeeded RISC */ \n #define EM_NDR1  57 
*/ \n+#define EM_NCPU  56  /* Sony nCPU embedded RISC */ \n #define EM_NDR1  57 
                                            ^                                  
  \n-/* This function handle the +group entrys in /etc/group */ \n static enum n
  \n+/* This function handle the +group entries in /etc/group */ \n static enum 
                                            ^^                                 
   \n-/* This function handle the +user entrys in /etc/passwd */ \n static enum 
   \n+/* This function handle the +user entries in /etc/passwd */ \n static enum
                                            ^^                                 
   \n-/* This function handle the +user entrys in /etc/shadow */ \n static enum 
   \n+/* This function handle the +user entries in /etc/shadow */ \n static enum
                                            ^^                                 
 Remember the command line argument and enviroment contents for \n later calls o
 Remember the command line argument and environment contents for \n later calls 
                                              ^                                
ion for parse_bracket_exp used in _LIBC environement. \n Build the collating ele
ion for parse_bracket_exp used in _LIBC environment. \n Build the collating elem
                                              ^^                               
ion for parse_bracket_exp used in _LIBC environement. \n Build the range express
ion for parse_bracket_exp used in _LIBC environment. \n Build the range expressi
                                              ^^                               
ion for parse_bracket_exp used in _LIBC environement. \n Seek the collating symb
ion for parse_bracket_exp used in _LIBC environment. \n Seek the collating symbo
                                              ^^                               
      \ \n-may need to adjust the lower manitissa to reflect this.  */       \ \
      \ \n+may need to adjust the lower mantissa to reflect this.  */       \ \n
                                          ^^                                   
er.  We may \n-need to adjust the lower manitissa to reflect this.  */ \n ediff 
er.  We may \n+need to adjust the lower mantissa to reflect this.  */ \n ediff =
                                          ^^                                   
er.  We \n-may need to adjust the lower manitissa to reflect this.  */ \n ediff 
er.  We \n+may need to adjust the lower mantissa to reflect this.  */ \n ediff =
                                          ^^                                   
cset->range_ends, is a pointer argument sinse we may \n update it.  */          
cset->range_ends, is a pointer argument since we may \n update it.  */          
                                           ^                                   
set->coll_sym, is a \n-pointer argument sinse we may update it.  */ \n          
set->coll_sym, is a \n+pointer argument since we may update it.  */ \n          
                                           ^                                   
diff --git a/ports/sysdeps/ia64/fpu/e_logf.S b/ports/sysdeps/ia64/fpu/e_logf.S
index f236637..07ea619 100644
--- a/ports/sysdeps/ia64/fpu/e_logf.S
+++ b/ports/sysdeps/ia64/fpu/e_logf.S
@@ -119,7 +119,7 @@
 //   L2 = 1.0/log(10)
 //
 // So common code with two different entry points those set pointers
-// to the base address of coresponding data sets containing values
+// to the base address of corresponding data sets containing values
 // of L2,T and prepare integer representation of L1 needed for following
 // setf instruction can be used.
 //
diff --git a/ports/sysdeps/ia64/fpu/libm_reduce.S b/ports/sysdeps/ia64/fpu/libm_reduce.S
index 8b13249..bed921c 100644
--- a/ports/sysdeps/ia64/fpu/libm_reduce.S
+++ b/ports/sysdeps/ia64/fpu/libm_reduce.S
@@ -159,7 +159,7 @@
 //
 //      P_1    =      b   b    b     ...    b
 //
-// each b can be 0 or 1. Also, let P_0 be the two bits correspoding to
+// each b can be 0 or 1. Also, let P_0 be the two bits corresponding to
 // bit positions L+2 and L+1. So, when each of the P_j is interpreted
 // with appropriate scaling, we have
 //
diff --git a/posix/regexec.c b/posix/regexec.c
index ee2c201..a659b34 100644
--- a/posix/regexec.c
+++ b/posix/regexec.c
@@ -2256,7 +2256,7 @@ sift_states_iter_mb (const re_match_context_t *mctx, re_sift_context_t *sctx,
 			    dfa->nexts[node_idx]))
     /* The node can't accept the `multi byte', or the
        destination was already thrown away, then the node
-       could't accept the current input `multi byte'.   */
+       couldn't accept the current input `multi byte'.   */
     naccepted = 0;
   /* Otherwise, it is sure that the node could accept
      `naccepted' bytes input.  */
diff --git a/ports/sysdeps/aarch64/strlen.S b/ports/sysdeps/aarch64/strlen.S
index ba05009..d408134 100644
--- a/ports/sysdeps/aarch64/strlen.S
+++ b/ports/sysdeps/aarch64/strlen.S
@@ -45,7 +45,7 @@
 #define REP8_7f 0x7f7f7f7f7f7f7f7f
 #define REP8_80 0x8080808080808080
 
-	/* Start of critial section -- keep to one 64Byte cache line.  */
+	/* Start of critical section -- keep to one 64Byte cache line.  */
 ENTRY_ALIGN (strlen, 6)
 	mov	zeroones, #REP8_01
 	bic	src, srcin, #15
diff --git a/ports/sysdeps/aarch64/strnlen.S b/ports/sysdeps/aarch64/strnlen.S
index e582e8a..90ffb48 100644
--- a/ports/sysdeps/aarch64/strnlen.S
+++ b/ports/sysdeps/aarch64/strnlen.S
@@ -67,7 +67,7 @@ ENTRY_ALIGN_AND_PAD (__strnlen, 6, 9)
 	   especially on cores with a high number of issue slots per
 	   cycle, as we get much better parallelism out of the operations.  */
 
-	/* Start of critial section -- keep to one 64Byte cache line.  */
+	/* Start of critical section -- keep to one 64Byte cache line.  */
 L(loop):
 	ldp	data1, data2, [src], #16
 L(realigned):
diff --git a/sunrpc/xdr_rec.c b/sunrpc/xdr_rec.c
index 9d79ace..9342de4 100644
--- a/sunrpc/xdr_rec.c
+++ b/sunrpc/xdr_rec.c
@@ -101,7 +101,7 @@ typedef struct rec_strm
     caddr_t out_base;		/* output buffer (points to frag header) */
     caddr_t out_finger;		/* next output position */
     caddr_t out_boundry;	/* data cannot up to this address */
-    u_int32_t *frag_header;	/* beginning of curren fragment */
+    u_int32_t *frag_header;	/* beginning of current fragment */
     bool_t frag_sent;		/* true if buffer sent in middle of record */
     /*
      * in-coming bits
diff --git a/libidn/iconvme.c b/libidn/iconvme.c
index d248438..339258f 100644
--- a/libidn/iconvme.c
+++ b/libidn/iconvme.c
@@ -51,7 +51,7 @@
 
 /* Convert a zero-terminated string STR from the FROM_CODSET code set
    to the TO_CODESET code set.  The returned string is allocated using
-   malloc, and must be dellocated by the caller using free.  On
+   malloc, and must be deallocated by the caller using free.  On
    failure, NULL is returned and errno holds the error reason.  Note
    that if TO_CODESET uses \0 for anything but to terminate the
    string, the caller of this function may have difficulties finding
diff --git a/nptl/sysdeps/unix/sysv/linux/bits/local_lim.h b/nptl/sysdeps/unix/sysv/linux/bits/local_lim.h
index 039304b..c6a2536 100644
--- a/nptl/sysdeps/unix/sysv/linux/bits/local_lim.h
+++ b/nptl/sysdeps/unix/sysv/linux/bits/local_lim.h
@@ -73,7 +73,7 @@
 /* We have no predefined limit on the number of threads.  */
 #undef PTHREAD_THREADS_MAX
 
-/* Maximum amount by which a process can descrease its asynchronous I/O
+/* Maximum amount by which a process can decrease its asynchronous I/O
    priority level.  */
 #define AIO_PRIO_DELTA_MAX	20
 
diff --git a/nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h b/nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h
index 3e8439a..39f594e 100644
--- a/nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h
+++ b/nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h
@@ -73,7 +73,7 @@
 /* We have no predefined limit on the number of threads.  */
 #undef PTHREAD_THREADS_MAX
 
-/* Maximum amount by which a process can descrease its asynchronous I/O
+/* Maximum amount by which a process can decrease its asynchronous I/O
    priority level.  */
 #define AIO_PRIO_DELTA_MAX	20
 
diff --git a/nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h b/nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h
index b3645a7..7d9e22a 100644
--- a/nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h
+++ b/nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h
@@ -73,7 +73,7 @@
 /* We have no predefined limit on the number of threads.  */
 #undef PTHREAD_THREADS_MAX
 
-/* Maximum amount by which a process can descrease its asynchronous I/O
+/* Maximum amount by which a process can decrease its asynchronous I/O
    priority level.  */
 #define AIO_PRIO_DELTA_MAX	20
 
diff --git a/ports/sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h b/ports/sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h
index 3acedb8..47e0a7d 100644
--- a/ports/sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h
+++ b/ports/sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h
@@ -74,7 +74,7 @@
 /* We have no predefined limit on the number of threads.  */
 #undef PTHREAD_THREADS_MAX
 
-/* Maximum amount by which a process can descrease its asynchronous I/O
+/* Maximum amount by which a process can decrease its asynchronous I/O
    priority level.  */
 #define AIO_PRIO_DELTA_MAX	20
 
diff --git a/ports/sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h b/ports/sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h
index 57c7796..3fa0551 100644
--- a/ports/sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h
+++ b/ports/sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h
@@ -73,7 +73,7 @@
 /* We have no predefined limit on the number of threads.  */
 #undef PTHREAD_THREADS_MAX
 
-/* Maximum amount by which a process can descrease its asynchronous I/O
+/* Maximum amount by which a process can decrease its asynchronous I/O
    priority level.  */
 #define AIO_PRIO_DELTA_MAX	20
 
diff --git a/ports/sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h b/ports/sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h
index c1af6db..eea82de 100644
--- a/ports/sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h
+++ b/ports/sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h
@@ -73,7 +73,7 @@
 /* We have no predefined limit on the number of threads.  */
 #undef PTHREAD_THREADS_MAX
 
-/* Maximum amount by which a process can descrease its asynchronous I/O
+/* Maximum amount by which a process can decrease its asynchronous I/O
    priority level.  */
 #define AIO_PRIO_DELTA_MAX	20
 
diff --git a/ports/sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h b/ports/sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h
index a1fb978..2d4819c 100644
--- a/ports/sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h
+++ b/ports/sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h
@@ -73,7 +73,7 @@
 /* We have no predefined limit on the number of threads.  */
 #undef PTHREAD_THREADS_MAX
 
-/* Maximum amount by which a process can descrease its asynchronous I/O
+/* Maximum amount by which a process can decrease its asynchronous I/O
    priority level.  */
 #define AIO_PRIO_DELTA_MAX	20
 
diff --git a/ports/sysdeps/unix/sysv/linux/tile/bits/local_lim.h b/ports/sysdeps/unix/sysv/linux/tile/bits/local_lim.h
index cc36307..ed6ffb3 100644
--- a/ports/sysdeps/unix/sysv/linux/tile/bits/local_lim.h
+++ b/ports/sysdeps/unix/sysv/linux/tile/bits/local_lim.h
@@ -73,7 +73,7 @@
 /* We have no predefined limit on the number of threads.  */
 #undef PTHREAD_THREADS_MAX
 
-/* Maximum amount by which a process can descrease its asynchronous I/O
+/* Maximum amount by which a process can decrease its asynchronous I/O
    priority level.  */
 #define AIO_PRIO_DELTA_MAX	20
 
diff --git a/sysdeps/unix/sysv/linux/bits/local_lim.h b/sysdeps/unix/sysv/linux/bits/local_lim.h
index efd4c41..cea6f81 100644
--- a/sysdeps/unix/sysv/linux/bits/local_lim.h
+++ b/sysdeps/unix/sysv/linux/bits/local_lim.h
@@ -58,7 +58,7 @@
 # undef __undef_ARG_MAX
 #endif
 
-/* Maximum amount by which a process can descrease its asynchronous I/O
+/* Maximum amount by which a process can decrease its asynchronous I/O
    priority level.  */
 #define AIO_PRIO_DELTA_MAX	20
 
diff --git a/nscd/connections.c b/nscd/connections.c
index e54d4f2..b9775f0 100644
--- a/nscd/connections.c
+++ b/nscd/connections.c
@@ -1634,7 +1634,7 @@ nscd_run_prune (void *p)
 	     cache content.  Should there be concurrent additions to
 	     the cache which are not accounted for in the cache
 	     pruning we want to know about it.  Therefore set the
-	     timeout to the maximum.  It will be descreased when adding
+	     timeout to the maximum.  It will be decreased when adding
 	     new entries to the cache, if necessary.  */
 	  dbs[my_number].wakeup_time = MAX_TIMEOUT_VALUE;
 
diff --git a/ports/sysdeps/microblaze/math_private.h b/ports/sysdeps/microblaze/math_private.h
index 39b7172..ab1a9fc 100644
--- a/ports/sysdeps/microblaze/math_private.h
+++ b/ports/sysdeps/microblaze/math_private.h
@@ -1,7 +1,7 @@
 #ifndef _MATH_PRIVATE_H
 
 /* Suppress use of exceptions here to avoid build errors if the FE_*
-   macros aren't definied. Only allow rounding modes implemented for
+   macros aren't defined. Only allow rounding modes implemented for
    MicroBlaze.
 
    This does mean that some code will silently fail to report exceptions,
diff --git a/sunrpc/rpc_svcout.c b/sunrpc/rpc_svcout.c
index 4f12a81..dfeab73 100644
--- a/sunrpc/rpc_svcout.c
+++ b/sunrpc/rpc_svcout.c
@@ -325,7 +325,7 @@ write_programs (const char *storage)
 }
 
 /* write out definition of internal function (e.g. _printmsg_1(...))
-   which calls server's defintion of actual function (e.g. printmsg_1(...)).
+   which calls server's definition of actual function (e.g. printmsg_1(...)).
    Unpacks single user argument of printmsg_1 to call-by-value format
    expected by printmsg_1. */
 static void
diff --git a/sysdeps/generic/pty-private.h b/sysdeps/generic/pty-private.h
index de5f95b..2fe5df4 100644
--- a/sysdeps/generic/pty-private.h
+++ b/sysdeps/generic/pty-private.h
@@ -1,4 +1,4 @@
-/* Internal defenitions and declarations for pseudo terminal functions.
+/* Internal definitions and declarations for pseudo terminal functions.
    Copyright (C) 1998-2013 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Zack Weinberg <zack@rabi.phys.columbia.edu>, 1998.
diff --git a/inet/netinet/igmp.h b/inet/netinet/igmp.h
index 915dcab..8e4f805 100644
--- a/inet/netinet/igmp.h
+++ b/inet/netinet/igmp.h
@@ -109,7 +109,7 @@ struct igmp {
 #define IGMP_v2_ROUTER		2
 
 /*
- * The following four defininitions are for backwards compatibility.
+ * The following four definitions are for backwards compatibility.
  * They should be removed as soon as all applications are updated to
  * use the new constant names.
  */
diff --git a/sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c b/sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
index 00e44b8..262085e 100644
--- a/sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
+++ b/sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
@@ -43,21 +43,21 @@ __mpn_extract_long_double (mp_ptr res_ptr, mp_size_t size,
 
   lo = ((long long) u.ieee.mantissa2 << 32) | u.ieee.mantissa3;
   hi = ((long long) u.ieee.mantissa0 << 32) | u.ieee.mantissa1;
-  /* If the lower double is not a denomal or zero then set the hidden
+  /* If the lower double is not a denormal or zero then set the hidden
      53rd bit.  */
   if (u.ieee.exponent2 > 0)
     {
       lo |= 1LL << 52;
 
       /* The lower double is normalized separately from the upper.  We may
-	 need to adjust the lower manitissa to reflect this.  */
+	 need to adjust the lower mantissa to reflect this.  */
       ediff = u.ieee.exponent - u.ieee.exponent2;
       if (ediff > 53)
 	lo = lo >> (ediff-53);
     }
   /* The high double may be rounded and the low double reflects the
      difference between the long double and the rounded high double
-     value.  This is indicated by a differnce between the signs of the
+     value.  This is indicated by a difference between the signs of the
      high and low doubles.  */
   if ((u.ieee.negative != u.ieee.negative2)
       && ((u.ieee.exponent2 != 0) && (lo != 0L)))
diff --git a/sysdeps/ieee754/ldbl-128ibm/math_ldbl.h b/sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
index 046293e..d90adcc 100644
--- a/sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
+++ b/sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
@@ -21,14 +21,14 @@ ldbl_extract_mantissa (int64_t *hi64, uint64_t *lo64, int *exp, long double x)
 
   lo = ((int64_t)eldbl.ieee.mantissa2 << 32) | eldbl.ieee.mantissa3;
   hi = ((int64_t)eldbl.ieee.mantissa0 << 32) | eldbl.ieee.mantissa1;
-  /* If the lower double is not a denomal or zero then set the hidden
+  /* If the lower double is not a denormal or zero then set the hidden
      53rd bit.  */
   if (eldbl.ieee.exponent2 > 0x001)
     {
       lo |= (1ULL << 52);
       lo = lo << 7; /* pre-shift lo to match ieee854.  */
       /* The lower double is normalized separately from the upper.  We
-	 may need to adjust the lower manitissa to reflect this.  */
+	 may need to adjust the lower mantissa to reflect this.  */
       ediff = eldbl.ieee.exponent - eldbl.ieee.exponent2;
       if (ediff > 53)
 	lo = lo >> (ediff-53);
diff --git a/sysdeps/ieee754/ldbl-128ibm/printf_fphex.c b/sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
index 247dc20..0cc4c23 100644
--- a/sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
+++ b/sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
@@ -34,14 +34,14 @@ do {									      \
       lo = ((long long)eldbl.ieee.mantissa2 << 32) | eldbl.ieee.mantissa3;    \
       hi = ((long long)eldbl.ieee.mantissa0 << 32) | eldbl.ieee.mantissa1;    \
       lo <<= 7; /* pre-shift lo to match ieee854.  */			      \
-      /* If the lower double is not a denomal or zero then set the hidden     \
+      /* If the lower double is not a denormal or zero then set the hidden     \
 	 53rd bit.  */							      \
       if (eldbl.ieee.exponent2 != 0)					      \
 	lo |= (1ULL << (52 + 7));					      \
       else								      \
 	lo <<= 1;							      \
       /* The lower double is normalized separately from the upper.  We	      \
-	 may need to adjust the lower manitissa to reflect this.  */	      \
+	 may need to adjust the lower mantissa to reflect this.  */	      \
       ediff = eldbl.ieee.exponent - eldbl.ieee.exponent2;		      \
       if (ediff > 53 + 63)						      \
 	lo = 0;								      \
diff --git a/sysdeps/ieee754/ldbl-128ibm/s_frexpl.c b/sysdeps/ieee754/ldbl-128ibm/s_frexpl.c
index 3ac5374..0ce2499 100644
--- a/sysdeps/ieee754/ldbl-128ibm/s_frexpl.c
+++ b/sysdeps/ieee754/ldbl-128ibm/s_frexpl.c
@@ -54,7 +54,7 @@ long double __frexpl(long double x, int *eptr)
 	if (ixl != 0ULL) {
 	  explo = (ixl>>52) - (ix>>52) + 0x3fe;
 	  if ((ixl&0x7ff0000000000000ULL) == 0LL) {
-	    /* the lower double is a denomal so we need to correct its
+	    /* the lower double is a denormal so we need to correct its
 	       mantissa and perhaps its exponent.  */
 	    int cnt;
 
diff --git a/elf/dl-version.c b/elf/dl-version.c
index 62be4ae..64883da 100644
--- a/elf/dl-version.c
+++ b/elf/dl-version.c
@@ -179,7 +179,7 @@ _dl_check_map_versions (struct link_map *map, int verbose, int trace_mode)
   /* Pointer to dynamic section with definitions.  */
   ElfW(Dyn) *def;
   /* We need to find out which is the highest version index used
-    in a dependecy.  */
+    in a dependency.  */
   unsigned int ndx_high = 0;
   /* Initialize to make the compiler happy.  */
   const char *errstring = NULL;
diff --git a/sysdeps/unix/sysv/linux/net/if_shaper.h b/sysdeps/unix/sysv/linux/net/if_shaper.h
index 9f0fb54..154faec 100644
--- a/sysdeps/unix/sysv/linux/net/if_shaper.h
+++ b/sysdeps/unix/sysv/linux/net/if_shaper.h
@@ -27,7 +27,7 @@ __BEGIN_DECLS
 
 #define SHAPER_QLEN	10
 /*
- *	This is a bit speed dependant (read it shouldnt be a constant!)
+ *	This is a bit speed dependent (read it shouldn't be a constant!)
  *
  *	5 is about right for 28.8 upwards. Below that double for every
  *	halving of speed or so. - ie about 20 for 9600 baud.
diff --git a/math/fenv.h b/math/fenv.h
index f8f3d6a..28e6301 100644
--- a/math/fenv.h
+++ b/math/fenv.h
@@ -24,7 +24,7 @@
 
 #include <features.h>
 
-/* Get the architecture dependend definitions.  The following definitions
+/* Get the architecture dependent definitions.  The following definitions
    are expected to be done:
 
    fenv_t	type for object representing an entire floating-point
diff --git a/localedata/tests-mbwc/dat_strxfrm.c b/localedata/tests-mbwc/dat_strxfrm.c
index 2642be4..5c4146f 100644
--- a/localedata/tests-mbwc/dat_strxfrm.c
+++ b/localedata/tests-mbwc/dat_strxfrm.c
@@ -13,7 +13,7 @@
  *  Return value and errno value are checked only for 2nd string:
  *  org2[]; n1 and n2 don't mean bytes to be translated.
  *  It means a buffer size including a null character.
- *  Results of this test depens on results of strcoll().
+ *  Results of this test depends on results of strcoll().
  *  If you got errors, check both test results.
  *
  *  The buffer size should be enough to contain a string including a
diff --git a/localedata/tests-mbwc/dat_wcsxfrm.c b/localedata/tests-mbwc/dat_wcsxfrm.c
index 231da38..81675cc 100644
--- a/localedata/tests-mbwc/dat_wcsxfrm.c
+++ b/localedata/tests-mbwc/dat_wcsxfrm.c
@@ -12,7 +12,7 @@
  *  Return value and errno value are checked only for 2nd string:
  *  org2[]; n1 and n2 don't mean bytes to be translated.
  *  It means a buffer size including a null character.
- *  Results of this test depens on results of wcscoll().
+ *  Results of this test depends on results of wcscoll().
  *  If you got errors, check both test results.
  */
 
diff --git a/elf/dl-profile.c b/elf/dl-profile.c
index 8fa6efc..2888807 100644
--- a/elf/dl-profile.c
+++ b/elf/dl-profile.c
@@ -177,7 +177,7 @@ static unsigned int log_hashfraction;
 
 
 \f
-/* Set up profiling data to profile object desribed by MAP.  The output
+/* Set up profiling data to profile object described by MAP.  The output
    file is found (or created) in OUTPUT_DIR.  */
 void
 internal_function
diff --git a/posix/tst-exec.c b/posix/tst-exec.c
index a1a2c18..69a4144 100644
--- a/posix/tst-exec.c
+++ b/posix/tst-exec.c
@@ -134,7 +134,7 @@ do_test (int argc, char *argv[])
      - three parameters left if called through re-execution
        + file descriptor number which is supposed to be closed
        + the open file descriptor
-       + the name of the closed desriptor
+       + the name of the closed descriptor
   */
 
   if (restart)
diff --git a/elf/sprof.c b/elf/sprof.c
index ecb7bdb..171473d 100644
--- a/elf/sprof.c
+++ b/elf/sprof.c
@@ -810,7 +810,7 @@ load_profdata (const char *name, struct shobj *shobj)
       return NULL;
     }
 
-  /* We don't need the file desriptor anymore.  */
+  /* We don't need the file descriptor anymore.  */
   if (close (fd) < 0)
     {
       error (0, errno, _("error while closing the profiling data file"));
diff --git a/rt/aio.h b/rt/aio.h
index 0fb049d..809583a 100644
--- a/rt/aio.h
+++ b/rt/aio.h
@@ -170,7 +170,7 @@ extern int aio_suspend (const struct aiocb *const __list[], int __nent,
 			const struct timespec *__restrict __timeout)
   __nonnull ((1));
 
-/* Force all operations associated with file desriptor described by
+/* Force all operations associated with file descriptor described by
    `aio_fildes' member of AIOCBP.  */
 extern int aio_fsync (int __operation, struct aiocb *__aiocbp)
   __THROW __nonnull ((2));
diff --git a/iconv/gconv_int.h b/iconv/gconv_int.h
index 06faeaa..fcf9124 100644
--- a/iconv/gconv_int.h
+++ b/iconv/gconv_int.h
@@ -169,7 +169,7 @@ __libc_lock_define (extern, __gconv_lock attribute_hidden)
   })
 
 
-/* Return in *HANDLE decriptor for transformation from FROMSET to TOSET.  */
+/* Return in *HANDLE descriptor for transformation from FROMSET to TOSET.  */
 extern int __gconv_open (const char *toset, const char *fromset,
 			 __gconv_t *handle, int flags)
      internal_function;
diff --git a/csu/check_fds.c b/csu/check_fds.c
index 9b83828..dd66362 100644
--- a/csu/check_fds.c
+++ b/csu/check_fds.c
@@ -69,7 +69,7 @@ check_one_fd (int fd, int mode)
 
 	 Note that the following code assumes that STDIN_FILENO,
 	 STDOUT_FILENO, STDERR_FILENO are the three lowest file
-	 decsriptor numbers, in this order.  */
+	 descriptor numbers, in this order.  */
       struct stat64 st;
       if (__builtin_expect (nullfd != fd, 0)
 	  || __builtin_expect (__fxstat64 (_STAT_VER, fd, &st), 0) != 0
diff --git a/sysdeps/pthread/aio_misc.c b/sysdeps/pthread/aio_misc.c
index 79153c8..2027c80 100644
--- a/sysdeps/pthread/aio_misc.c
+++ b/sysdeps/pthread/aio_misc.c
@@ -365,7 +365,7 @@ __aio_enqueue_request (aiocb_union *aiocbp, int operation)
       /* The current file descriptor is worked on.  It makes no sense
 	 to start another thread since this new thread would fight
 	 with the running thread for the resources.  But we also cannot
-	 say that the thread processing this desriptor shall immediately
+	 say that the thread processing this descriptor shall immediately
 	 after finishing the current job process this request if there
 	 are other threads in the running queue which have a higher
 	 priority.  */
diff --git a/iconv/iconv_prog.c b/iconv/iconv_prog.c
index 1a1d0d0..7060c12 100644
--- a/iconv/iconv_prog.c
+++ b/iconv/iconv_prog.c
@@ -558,7 +558,7 @@ incomplete character or shift sequence at end of buffer"));
 static int
 process_fd (iconv_t cd, int fd, FILE **output, const char *output_file)
 {
-  /* we have a problem with reading from a desriptor since we must not
+  /* we have a problem with reading from a descriptor since we must not
      provide the iconv() function an incomplete character or shift
      sequence at the end of the buffer.  Since we have to deal with
      arbitrary encodings we must read the whole text in a buffer and
diff --git a/nptl/pthread_getattr_np.c b/nptl/pthread_getattr_np.c
index 88ac072..64ee5d4 100644
--- a/nptl/pthread_getattr_np.c
+++ b/nptl/pthread_getattr_np.c
@@ -41,7 +41,7 @@ pthread_getattr_np (thread_id, attr)
   lll_lock (thread->lock, LLL_PRIVATE);
 
   /* The thread library is responsible for keeping the values in the
-     thread desriptor up-to-date in case the user changes them.  */
+     thread descriptor up-to-date in case the user changes them.  */
   memcpy (&iattr->schedparam, &thread->schedparam,
 	  sizeof (struct sched_param));
   iattr->schedpolicy = thread->schedpolicy;
diff --git a/rt/aio.h b/rt/aio.h
index 0fb049d..809583a 100644
--- a/rt/aio.h
+++ b/rt/aio.h
@@ -34,7 +34,7 @@ __BEGIN_DECLS
 /* Asynchronous I/O control block.  */
 struct aiocb
 {
-  int aio_fildes;		/* File desriptor.  */
+  int aio_fildes;		/* File descriptor.  */
   int aio_lio_opcode;		/* Operation to be performed.  */
   int aio_reqprio;		/* Request priority offset.  */
   volatile void *aio_buf;	/* Location of buffer.  */
diff --git a/rt/aio.h b/rt/aio.h
index 0fb049d..809583a 100644
--- a/rt/aio.h
+++ b/rt/aio.h
@@ -62,7 +62,7 @@ struct aiocb
 #ifdef __USE_LARGEFILE64
 struct aiocb64
 {
-  int aio_fildes;		/* File desriptor.  */
+  int aio_fildes;		/* File descriptor.  */
   int aio_lio_opcode;		/* Operation to be performed.  */
   int aio_reqprio;		/* Request priority offset.  */
   volatile void *aio_buf;	/* Location of buffer.  */
diff --git a/sysdeps/pthread/aio_cancel.c b/sysdeps/pthread/aio_cancel.c
index 86fbcf6..33859f2 100644
--- a/sysdeps/pthread/aio_cancel.c
+++ b/sysdeps/pthread/aio_cancel.c
@@ -108,7 +108,7 @@ aio_cancel (fildes, aiocbp)
   else
     {
       /* Find the beginning of the list of all requests for this
-	 desriptor.  */
+	 descriptor.  */
       req = __aio_find_req_fd (fildes);
 
       /* If any request is worked on by a thread it must be the first.
diff --git a/libio/genops.c b/libio/genops.c
index a5fe137..01da127 100644
--- a/libio/genops.c
+++ b/libio/genops.c
@@ -38,7 +38,7 @@
 static _IO_lock_t list_all_lock = _IO_lock_initializer;
 #endif
 
-/* Used to signal modifications to the list of FILE decriptors.  */
+/* Used to signal modifications to the list of FILE descriptors.  */
 static int _IO_list_all_stamp;
 
 
diff --git a/locale/localeinfo.h b/locale/localeinfo.h
index 3142726..6b7c38e 100644
--- a/locale/localeinfo.h
+++ b/locale/localeinfo.h
@@ -209,7 +209,7 @@ extern struct __locale_struct _nl_global_locale attribute_hidden;
 __libc_tsd_define (extern, __locale_t, LOCALE)
 
 
-/* For static linking it is desireable to avoid always linking in the code
+/* For static linking it is desirable to avoid always linking in the code
    and data for every category when we can tell at link time that they are
    unused.  We can manage this playing some tricks with weak references.
    But with thread-local locale settings, it becomes quite ungainly unless
diff --git a/ports/sysdeps/unix/sysv/linux/alpha/rt_sigaction.S b/ports/sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
index 3d291fd..567807b 100644
--- a/ports/sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
+++ b/ports/sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
@@ -18,7 +18,7 @@
 
 #include <sysdep.h>
 
-/* On Alpha we desparately want to avoid having to issue an imb.  Ordinarily
+/* On Alpha we desperately want to avoid having to issue an imb.  Ordinarily
    the kernel would have to issue one after setting up the signal return
    stack, but the Linux rt_sigaction syscall is prepared to accept a pointer
    to the sigreturn syscall, instead of inlining it on the stack.
diff --git a/ports/sysdeps/powerpc/powerpc32/405/memcpy.S b/ports/sysdeps/powerpc/powerpc32/405/memcpy.S
index 9cdaa85..a2c1bc1 100644
--- a/ports/sysdeps/powerpc/powerpc32/405/memcpy.S
+++ b/ports/sysdeps/powerpc/powerpc32/405/memcpy.S
@@ -26,7 +26,7 @@
        r5:byte count
 
        Save return address in r0.
-       If destinationn and source are unaligned and copy count is greater than 256
+       If destination and source are unaligned and copy count is greater than 256
        then copy 0-3 bytes to make destination aligned.
        If 32 or more bytes to copy we use 32 byte copy loop.
        Finaly we copy 0-31 extra bytes. */
diff --git a/ports/sysdeps/powerpc/powerpc32/405/memset.S b/ports/sysdeps/powerpc/powerpc32/405/memset.S
index b73dba8..e0813f2 100644
--- a/ports/sysdeps/powerpc/powerpc32/405/memset.S
+++ b/ports/sysdeps/powerpc/powerpc32/405/memset.S
@@ -27,11 +27,11 @@
        r12:temp return address
 
        Save return address in r12
-       If destinationn is unaligned and count is greater tha 255 bytes
+       If destination is unaligned and count is greater tha 255 bytes
        set 0-3 bytes to make destination aligned
        If count is greater tha 255 bytes and setting zero to memory
-       use dbcz to set memeory when we can
-       otherwsie do the follwoing
+       use dbcz to set memory when we can
+       otherwise do the following
        If 16 or more words to set we use 16 word copy loop.
        Finaly we set 0-15 extra bytes with string store. */
 
diff --git a/ports/sysdeps/powerpc/powerpc32/476/memset.S b/ports/sysdeps/powerpc/powerpc32/476/memset.S
index 48c21d6..fd2210c 100644
--- a/ports/sysdeps/powerpc/powerpc32/476/memset.S
+++ b/ports/sysdeps/powerpc/powerpc32/476/memset.S
@@ -27,11 +27,11 @@
        r12:temp return address
 
        Save return address in r12
-       If destinationn is unaligned and count is greater tha 255 bytes
+       If destination is unaligned and count is greater tha 255 bytes
        set 0-3 bytes to make destination aligned
        If count is greater tha 255 bytes and setting zero to memory
-       use dbcz to set memeory when we can
-       otherwsie do the follwoing
+       use dbcz to set memory when we can
+       otherwise do the following
        If 16 or more words to set we use 16 word copy loop.
        Finaly we set 0-15 extra bytes with string store. */
 
diff --git a/nptl/sysdeps/pthread/timer_create.c b/nptl/sysdeps/pthread/timer_create.c
index c483a32..89975f7 100644
--- a/nptl/sysdeps/pthread/timer_create.c
+++ b/nptl/sysdeps/pthread/timer_create.c
@@ -112,7 +112,7 @@ timer_create (clock_id, evp, timerid)
       else
 	pthread_attr_init (&newtimer->attr);
 
-      /* Ensure thread attributes call for deatched thread.  */
+      /* Ensure thread attributes call for detached thread.  */
       pthread_attr_setdetachstate (&newtimer->attr, PTHREAD_CREATE_DETACHED);
 
       /* Try to find existing thread having the right attributes.  */
diff --git a/ports/sysdeps/arm/find_exidx.c b/ports/sysdeps/arm/find_exidx.c
index 978ed49..320c40e 100644
--- a/ports/sysdeps/arm/find_exidx.c
+++ b/ports/sysdeps/arm/find_exidx.c
@@ -26,7 +26,7 @@ struct unw_eh_callback_data
 };
 
 
-/* Callback to determins if the PC lies within an object, and remember the
+/* Callback to determines if the PC lies within an object, and remember the
    location of the exception index table if it does.  */
 
 static int
diff --git a/nis/nis_checkpoint.c b/nis/nis_checkpoint.c
index f344d8c..17dd173 100644
--- a/nis/nis_checkpoint.c
+++ b/nis/nis_checkpoint.c
@@ -43,7 +43,7 @@ nis_checkpoint (const_nis_name dirname)
 	  return res2;
 	}
 
-      /* Check if obj is really a diryectory object */
+      /* Check if obj is really a directory object */
       if (__type_of (NIS_RES_OBJECT (res2)) != NIS_DIRECTORY_OBJ)
 	{
 	  nis_freeresult (res2);
diff --git a/nis/nis_ping.c b/nis/nis_ping.c
index d042770..2d8470c 100644
--- a/nis/nis_ping.c
+++ b/nis/nis_ping.c
@@ -46,7 +46,7 @@ nis_ping (const_nis_name dirname, unsigned int utime,
   else
     obj = (nis_object *) dirobj;
 
-  /* Check if obj is really a diryectory object */
+  /* Check if obj is really a directory object */
   if (__type_of (obj) != NIS_DIRECTORY_OBJ)
     {
       nis_freeresult (res);
diff --git a/stdlib/tst-random.c b/stdlib/tst-random.c
index 47195d6..cbb8fe4 100644
--- a/stdlib/tst-random.c
+++ b/stdlib/tst-random.c
@@ -8,14 +8,14 @@
    is regenerated twice and checked against the stored values.
 
    First they are regenerated one sequence at a time, using srandom()
-   to set the initial state.  A discrepency here would suggest that
+   to set the initial state.  A discrepancy here would suggest that
    srandom() was failing to completely initialize the random number
    generator.
 
    Second the sequences are regenerated in an interleaved order.
    A state vector is created for each sequence using initstate().
    setstate() is used to switch from sequence to sequence during
-   the interleaved generation.  A discrepency here would suggest
+   the interleaved generation.  A discrepancy here would suggest
    a problem with either initstate() failing to initialize the
    random number generator properly, or the failure of setstate()
    to correctly save and restore state information.  Also, each
diff --git a/stdlib/lldiv.c b/stdlib/lldiv.c
index d1202bf..f8ba749 100644
--- a/stdlib/lldiv.c
+++ b/stdlib/lldiv.c
@@ -1,4 +1,4 @@
-/* `long long int' divison with remainder.
+/* `long long int' division with remainder.
    Copyright (C) 1992-2013 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
diff --git a/math/bits/mathcalls.h b/math/bits/mathcalls.h
index 870c54c..cd90e91 100644
--- a/math/bits/mathcalls.h
+++ b/math/bits/mathcalls.h
@@ -284,7 +284,7 @@ __MATHCALLX (nextafter,, (_Mdouble_ __x, _Mdouble_ __y), (__const__));
 __MATHCALLX (nexttoward,, (_Mdouble_ __x, long double __y), (__const__));
 # endif
 
-/* Return the remainder of integer divison X / Y with infinite precision.  */
+/* Return the remainder of integer division X / Y with infinite precision.  */
 __MATHCALL (remainder,, (_Mdouble_ __x, _Mdouble_ __y));
 
 # if defined __USE_MISC || defined __USE_ISOC99
diff --git a/math/tgmath.h b/math/tgmath.h
index a29efd3..0daafa6 100644
--- a/math/tgmath.h
+++ b/math/tgmath.h
@@ -397,7 +397,7 @@
 #define nexttoward(Val1, Val2) \
      __TGMATH_BINARY_FIRST_REAL_ONLY (Val1, Val2, nexttoward)
 
-/* Return the remainder of integer divison X / Y with infinite precision.  */
+/* Return the remainder of integer division X / Y with infinite precision.  */
 #define remainder(Val1, Val2) __TGMATH_BINARY_REAL_ONLY (Val1, Val2, remainder)
 
 /* Return X times (2 to the Nth power).  */
diff --git a/localedata/tests-mbwc/dat_mblen.c b/localedata/tests-mbwc/dat_mblen.c
index a5eff44..47c3743 100644
--- a/localedata/tests-mbwc/dat_mblen.c
+++ b/localedata/tests-mbwc/dat_mblen.c
@@ -19,7 +19,7 @@
  *
  *	 o When you feed a null pointer for a string (s) to the function,
  *	   set s_flg=0 instead of putting just a 'NULL' there.
- *	   Even if you set a 'NULL', it doens't mean a NULL pointer.
+ *	   Even if you set a 'NULL', it doesn't mean a NULL pointer.
  *
  *	 o When s is a null pointer, the function checks state dependency.
  *
diff --git a/sysdeps/generic/unwind-dw2-fde-glibc.c b/sysdeps/generic/unwind-dw2-fde-glibc.c
index 9c566f7..ac06f88 100644
--- a/sysdeps/generic/unwind-dw2-fde-glibc.c
+++ b/sysdeps/generic/unwind-dw2-fde-glibc.c
@@ -134,7 +134,7 @@ _Unwind_IteratePhdrCallback (struct dl_phdr_info *info, size_t size, void *ptr)
   data->dbase = NULL;
   if (p_dynamic)
     {
-      /* For dynamicly linked executables and shared libraries,
+      /* For dynamically linked executables and shared libraries,
 	 DT_PLTGOT is the gp value for that object.  */
       ElfW(Dyn) *dyn = (ElfW(Dyn) *)(p_dynamic->p_vaddr + load_base);
       for (; dyn->d_tag != DT_NULL ; dyn++)
diff --git a/stdio-common/printf_fp.c b/stdio-common/printf_fp.c
index e20eab6..80f1178 100644
--- a/stdio-common/printf_fp.c
+++ b/stdio-common/printf_fp.c
@@ -1197,7 +1197,7 @@ ___printf_fp (FILE *fp,
 
 	  /* Now copy the wide character string.  Since the character
 	     (except for the decimal point and thousands separator) must
-	     be coming from the ASCII range we can esily convert the
+	     be coming from the ASCII range we can easily convert the
 	     string without mapping tables.  */
 	  for (cp = buffer, copywc = wstartp; copywc < wcp; ++copywc)
 	    if (*copywc == decimalwc)
diff --git a/benchtests/bench-memcmp.c b/benchtests/bench-memcmp.c
index 053bb50..3ac4219 100644
--- a/benchtests/bench-memcmp.c
+++ b/benchtests/bench-memcmp.c
@@ -41,7 +41,7 @@ simple_wmemcmp (const wchar_t *s1, const wchar_t *s2, size_t n)
   int ret = 0;
   /* Warning!
 	wmemcmp has to use SIGNED comparison for elements.
-	memcmp has to use UNSIGNED comparison for elemnts.
+	memcmp has to use UNSIGNED comparison for elements.
   */
   while (n-- && (ret = *s1 < *s2 ? -1 : *s1 == *s2 ? 0 : 1) == 0) {s1++; s2++;}
   return ret;
diff --git a/string/test-memcmp.c b/string/test-memcmp.c
index 0420cd0..890d97fe 100644
--- a/string/test-memcmp.c
+++ b/string/test-memcmp.c
@@ -43,7 +43,7 @@ simple_wmemcmp (const wchar_t *s1, const wchar_t *s2, size_t n)
   int ret = 0;
   /* Warning!
 	wmemcmp has to use SIGNED comparison for elements.
-	memcmp has to use UNSIGNED comparison for elemnts.
+	memcmp has to use UNSIGNED comparison for elements.
   */
   while (n-- && (ret = *s1 < *s2 ? -1 : *s1 == *s2 ? 0 : 1) == 0) {s1++; s2++;}
   return ret;
diff --git a/sysdeps/i386/i686/multiarch/memcmp-sse4.S b/sysdeps/i386/i686/multiarch/memcmp-sse4.S
index 2984a37..fabee30 100644
--- a/sysdeps/i386/i686/multiarch/memcmp-sse4.S
+++ b/sysdeps/i386/i686/multiarch/memcmp-sse4.S
@@ -73,7 +73,7 @@
 
 /* Warning!
            wmemcmp has to use SIGNED comparison for elements.
-           memcmp has to use UNSIGNED comparison for elemnts.
+           memcmp has to use UNSIGNED comparison for elements.
 */
 
 	.section .text.sse4.2,"ax",@progbits
diff --git a/sysdeps/i386/i686/multiarch/memcmp-ssse3.S b/sysdeps/i386/i686/multiarch/memcmp-ssse3.S
index dccaff8..ce761cf 100644
--- a/sysdeps/i386/i686/multiarch/memcmp-ssse3.S
+++ b/sysdeps/i386/i686/multiarch/memcmp-ssse3.S
@@ -45,7 +45,7 @@
 
 /* Warning!
            wmemcmp has to use SIGNED comparison for elements.
-           memcmp has to use UNSIGNED comparison for elemnts.
+           memcmp has to use UNSIGNED comparison for elements.
 */
 
 	atom_text_section
diff --git a/sysdeps/x86_64/multiarch/memcmp-sse4.S b/sysdeps/x86_64/multiarch/memcmp-sse4.S
index 1ed4200..2f0db2e 100644
--- a/sysdeps/x86_64/multiarch/memcmp-sse4.S
+++ b/sysdeps/x86_64/multiarch/memcmp-sse4.S
@@ -40,7 +40,7 @@
 
 /* Warning!
            wmemcmp has to use SIGNED comparison for elements.
-           memcmp has to use UNSIGNED comparison for elemnts.
+           memcmp has to use UNSIGNED comparison for elements.
 */
 
 	.section .text.sse4.1,"ax",@progbits
diff --git a/elf/elf.h b/elf/elf.h
index fe55c92..2438be2 100644
--- a/elf/elf.h
+++ b/elf/elf.h
@@ -211,7 +211,7 @@ typedef struct
 #define EM_68HC12	53		/* Motorola M68HC12 */
 #define EM_MMA		54		/* Fujitsu MMA Multimedia Accelerator*/
 #define EM_PCP		55		/* Siemens PCP */
-#define EM_NCPU		56		/* Sony nCPU embeeded RISC */
+#define EM_NCPU		56		/* Sony nCPU embedded RISC */
 #define EM_NDR1		57		/* Denso NDR1 microprocessor */
 #define EM_STARCORE	58		/* Motorola Start*Core processor */
 #define EM_ME16		59		/* Toyota ME16 processor */
diff --git a/nis/nss_compat/compat-grp.c b/nis/nss_compat/compat-grp.c
index 72a9a7a..239ad90 100644
--- a/nis/nss_compat/compat-grp.c
+++ b/nis/nss_compat/compat-grp.c
@@ -254,7 +254,7 @@ getgrent_next_nss (struct group *result, ent_t *ent, char *buffer,
   return NSS_STATUS_SUCCESS;
 }
 
-/* This function handle the +group entrys in /etc/group */
+/* This function handle the +group entries in /etc/group */
 static enum nss_status
 getgrnam_plusgroup (const char *name, struct group *result, ent_t *ent,
 		    char *buffer, size_t buflen, int *errnop)
diff --git a/nis/nss_compat/compat-pwd.c b/nis/nss_compat/compat-pwd.c
index f934fb2..275ae53 100644
--- a/nis/nss_compat/compat-pwd.c
+++ b/nis/nss_compat/compat-pwd.c
@@ -478,7 +478,7 @@ getpwent_next_nss (struct passwd *result, ent_t *ent, char *buffer,
   return NSS_STATUS_SUCCESS;
 }
 
-/* This function handle the +user entrys in /etc/passwd */
+/* This function handle the +user entries in /etc/passwd */
 static enum nss_status
 getpwnam_plususer (const char *name, struct passwd *result, ent_t *ent,
 		   char *buffer, size_t buflen, int *errnop)
diff --git a/nis/nss_compat/compat-spwd.c b/nis/nss_compat/compat-spwd.c
index e854b28..8413bc5 100644
--- a/nis/nss_compat/compat-spwd.c
+++ b/nis/nss_compat/compat-spwd.c
@@ -430,7 +430,7 @@ getspent_next_nss (struct spwd *result, ent_t *ent,
 }
 
 
-/* This function handle the +user entrys in /etc/shadow */
+/* This function handle the +user entries in /etc/shadow */
 static enum nss_status
 getspnam_plususer (const char *name, struct spwd *result, ent_t *ent,
 		   char *buffer, size_t buflen, int *errnop)
diff --git a/csu/init-first.c b/csu/init-first.c
index 89d8d96..cd7ee25 100644
--- a/csu/init-first.c
+++ b/csu/init-first.c
@@ -33,7 +33,7 @@
    used in the process.  Safe assumption if initializer never runs.  */
 int __libc_multiple_libcs attribute_hidden = 1;
 
-/* Remember the command line argument and enviroment contents for
+/* Remember the command line argument and environment contents for
    later calls of initializers for dynamic libraries.  */
 int __libc_argc attribute_hidden;
 char **__libc_argv attribute_hidden;
diff --git a/posix/regcomp.c b/posix/regcomp.c
index 0ffc2fa..84cd27c 100644
--- a/posix/regcomp.c
+++ b/posix/regcomp.c
@@ -2776,7 +2776,7 @@ parse_bracket_exp (re_string_t *regexp, re_dfa_t *dfa, re_token_t *token,
   const int32_t *symb_table;
   const unsigned char *extra;
 
-  /* Local function for parse_bracket_exp used in _LIBC environement.
+  /* Local function for parse_bracket_exp used in _LIBC environment.
      Seek the collating symbol entry correspondings to NAME.
      Return the index of the symbol in the SYMB_TABLE,
      or -1 if not found.  */
diff --git a/posix/regcomp.c b/posix/regcomp.c
index 0ffc2fa..84cd27c 100644
--- a/posix/regcomp.c
+++ b/posix/regcomp.c
@@ -2868,11 +2868,11 @@ parse_bracket_exp (re_string_t *regexp, re_dfa_t *dfa, re_token_t *token,
       return UINT_MAX;
     }
 
-  /* Local function for parse_bracket_exp used in _LIBC environement.
+  /* Local function for parse_bracket_exp used in _LIBC environment.
      Build the range expression which starts from START_ELEM, and ends
      at END_ELEM.  The result are written to MBCSET and SBCSET.
      RANGE_ALLOC is the allocated size of mbcset->range_starts, and
-     mbcset->range_ends, is a pointer argument sinse we may
+     mbcset->range_ends, is a pointer argument since we may
      update it.  */
 
   auto inline reg_errcode_t

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [PATCH 4/9] Fix typos.
  2013-09-02  9:37       ` [PATCH 4/9] Fix typos Ondřej Bílka
@ 2013-09-02 10:01         ` Florian Weimer
  2013-09-02 10:15         ` Allan McRae
  1 sibling, 0 replies; 24+ messages in thread
From: Florian Weimer @ 2013-09-02 10:01 UTC (permalink / raw)
  To: Ondřej Bílka; +Cc: Joseph S. Myers, libc-alpha, libc-ports

On 09/02/2013 11:37 AM, Ondřej Bílka wrote:

> --- a/ports/sysdeps/ia64/fpu/e_logf.S
> +++ b/ports/sysdeps/ia64/fpu/e_logf.S
> @@ -119,7 +119,7 @@
>   //   L2 = 1.0/log(10)
>   //
>   // So common code with two different entry points those set pointers
> -// to the base address of coresponding data sets containing values
> +// to the base address of corresponding data sets containing values
>   // of L2,T and prepare integer representation of L1 needed for following
>   // setf instruction can be used.

This sentence doesn't parse for me.  Perhaps s/those/which/ on the first 
line?

> diff --git a/nis/nss_compat/compat-grp.c b/nis/nss_compat/compat-grp.c
> index 72a9a7a..239ad90 100644
> --- a/nis/nss_compat/compat-grp.c
> +++ b/nis/nss_compat/compat-grp.c
> @@ -254,7 +254,7 @@ getgrent_next_nss (struct group *result, ent_t *ent, char *buffer,
>     return NSS_STATUS_SUCCESS;
>   }
>
> -/* This function handle the +group entrys in /etc/group */
> +/* This function handle the +group entries in /etc/group */
>   static enum nss_status
>   getgrnam_plusgroup (const char *name, struct group *result, ent_t *ent,
>   		    char *buffer, size_t buflen, int *errnop)
> diff --git a/nis/nss_compat/compat-pwd.c b/nis/nss_compat/compat-pwd.c
> index f934fb2..275ae53 100644
> --- a/nis/nss_compat/compat-pwd.c
> +++ b/nis/nss_compat/compat-pwd.c
> @@ -478,7 +478,7 @@ getpwent_next_nss (struct passwd *result, ent_t *ent, char *buffer,
>     return NSS_STATUS_SUCCESS;
>   }
>
> -/* This function handle the +user entrys in /etc/passwd */
> +/* This function handle the +user entries in /etc/passwd */
>   static enum nss_status
>   getpwnam_plususer (const char *name, struct passwd *result, ent_t *ent,
>   		   char *buffer, size_t buflen, int *errnop)
> diff --git a/nis/nss_compat/compat-spwd.c b/nis/nss_compat/compat-spwd.c
> index e854b28..8413bc5 100644
> --- a/nis/nss_compat/compat-spwd.c
> +++ b/nis/nss_compat/compat-spwd.c
> @@ -430,7 +430,7 @@ getspent_next_nss (struct spwd *result, ent_t *ent,
>   }
>
>
> -/* This function handle the +user entrys in /etc/shadow */
> +/* This function handle the +user entries in /etc/shadow */
>   static enum nss_status
>   getspnam_plususer (const char *name, struct spwd *result, ent_t *ent,
>   		   char *buffer, size_t buflen, int *errnop)

I think this should read "This function handles".  Rest looks okay.

-- 
Florian Weimer / Red Hat Product Security Team

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [PATCH 4/9] Fix typos.
  2013-09-02  9:37       ` [PATCH 4/9] Fix typos Ondřej Bílka
  2013-09-02 10:01         ` Florian Weimer
@ 2013-09-02 10:15         ` Allan McRae
  1 sibling, 0 replies; 24+ messages in thread
From: Allan McRae @ 2013-09-02 10:15 UTC (permalink / raw)
  To: Ondřej Bílka; +Cc: Joseph S. Myers, libc-alpha, libc-ports

On 02/09/13 19:37, Ondřej Bílka wrote:
> Here are next typos.

A couple of additions:

<snip>

> diff --git a/ports/sysdeps/powerpc/powerpc32/405/memset.S b/ports/sysdeps/powerpc/powerpc32/405/memset.S
> index b73dba8..e0813f2 100644
> --- a/ports/sysdeps/powerpc/powerpc32/405/memset.S
> +++ b/ports/sysdeps/powerpc/powerpc32/405/memset.S
> @@ -27,11 +27,11 @@
>         r12:temp return address
>  
>         Save return address in r12
> -       If destinationn is unaligned and count is greater tha 255 bytes
> +       If destination is unaligned and count is greater tha 255 bytes

tha -> than

>         set 0-3 bytes to make destination aligned
>         If count is greater tha 255 bytes and setting zero to memory
> -       use dbcz to set memeory when we can
> -       otherwsie do the follwoing
> +       use dbcz to set memory when we can
> +       otherwise do the following
>         If 16 or more words to set we use 16 word copy loop.
>         Finaly we set 0-15 extra bytes with string store. */
>  
> diff --git a/ports/sysdeps/powerpc/powerpc32/476/memset.S b/ports/sysdeps/powerpc/powerpc32/476/memset.S
> index 48c21d6..fd2210c 100644
> --- a/ports/sysdeps/powerpc/powerpc32/476/memset.S
> +++ b/ports/sysdeps/powerpc/powerpc32/476/memset.S
> @@ -27,11 +27,11 @@
>         r12:temp return address
>  
>         Save return address in r12
> -       If destinationn is unaligned and count is greater tha 255 bytes
> +       If destination is unaligned and count is greater tha 255 bytes

tha -> than

>         set 0-3 bytes to make destination aligned
>         If count is greater tha 255 bytes and setting zero to memory
> -       use dbcz to set memeory when we can
> -       otherwsie do the follwoing
> +       use dbcz to set memory when we can
> +       otherwise do the following
>         If 16 or more words to set we use 16 word copy loop.
>         Finaly we set 0-15 extra bytes with string store. */
>  

<snip>

> diff --git a/nis/nss_compat/compat-grp.c b/nis/nss_compat/compat-grp.c
> index 72a9a7a..239ad90 100644
> --- a/nis/nss_compat/compat-grp.c
> +++ b/nis/nss_compat/compat-grp.c
> @@ -254,7 +254,7 @@ getgrent_next_nss (struct group *result, ent_t *ent, char *buffer,
>    return NSS_STATUS_SUCCESS;
>  }
>  
> -/* This function handle the +group entrys in /etc/group */
> +/* This function handle the +group entries in /etc/group */

handle -> handles

>  static enum nss_status
>  getgrnam_plusgroup (const char *name, struct group *result, ent_t *ent,
>  		    char *buffer, size_t buflen, int *errnop)
> diff --git a/nis/nss_compat/compat-pwd.c b/nis/nss_compat/compat-pwd.c
> index f934fb2..275ae53 100644
> --- a/nis/nss_compat/compat-pwd.c
> +++ b/nis/nss_compat/compat-pwd.c
> @@ -478,7 +478,7 @@ getpwent_next_nss (struct passwd *result, ent_t *ent, char *buffer,
>    return NSS_STATUS_SUCCESS;
>  }
>  
> -/* This function handle the +user entrys in /etc/passwd */
> +/* This function handle the +user entries in /etc/passwd */

handle -> handles

>  static enum nss_status
>  getpwnam_plususer (const char *name, struct passwd *result, ent_t *ent,
>  		   char *buffer, size_t buflen, int *errnop)


Allan

^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2013-09-02 10:15 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-13  8:27 [PATCH] Fix typos Ondřej Bílka
2013-08-14 19:18 ` Roland McGrath
2013-08-18 16:50 ` Ondřej Bílka
2013-08-18 20:15   ` Joseph S. Myers
2013-08-18 22:10     ` [PATCH 1/9] " Ondřej Bílka
2013-08-18 22:31       ` Allan McRae
2013-08-19 19:32       ` Joseph S. Myers
2013-08-21 10:38         ` [PATCH 1/9 v2] " Ondřej Bílka
2013-08-21 15:48           ` Joseph S. Myers
2013-08-22 13:56       ` [PATCH 2/9] " Ondřej Bílka
2013-08-22 15:04         ` Joseph S. Myers
2013-08-24  7:43           ` Ondřej Bílka
2013-08-28 16:07             ` Joseph S. Myers
2013-08-30 10:48       ` [PATCH 3/9] " Ondřej Bílka
2013-08-30 11:01         ` Will Newton
2013-08-30 15:47           ` [PATCH 3/9 v2] " Ondřej Bílka
2013-08-30 16:01             ` Joseph S. Myers
2013-08-30 12:58       ` [PATCH 3.5/9] Fix then/than typo Ondřej Bílka
2013-08-30 13:34         ` Allan McRae
2013-08-30 16:22         ` Brooks Moses
2013-09-02  9:30           ` [COMMITED] Fix additional typo Ondřej Bílka
2013-09-02  9:37       ` [PATCH 4/9] Fix typos Ondřej Bílka
2013-09-02 10:01         ` Florian Weimer
2013-09-02 10:15         ` Allan McRae

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).