From a1b02ae763bff6457cddf08d1e453d103b5d6259 Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Sat, 12 Jan 2019 13:44:51 +0000 Subject: Fix a few typos in comments Apply the following spelling fixes: $ git grep -F -l 'relevent' | xargs sed -i 's/relevent/relevant/g' $ git grep -F -l 'checked fot' | xargs sed -i 's/checked fot/checked for/g' $ git grep -F -l "could't" | xargs sed -i "s/could't/couldn't/g" $ git grep -F -l 'wheter' | grep -Fv ChangeLog.old | xargs sed -i 's/wheter/whether/g' $ git grep -F -l 'neccessary' | grep -Fv ChangeLog.old | xargs sed -i 's/neccessary/necessary/g' $ git grep -F -l 'ouput' | xargs sed -i 's/ouput/output/g' $ git grep -F -w -l 'iput' | xargs sed -i 's/iput/input/g' This is inspired by a gnulib bug report at https://lists.gnu.org/archive/html/bug-gnulib/2019-01/msg00081.html * argp/argp-help.c: Fix typo in comment. * misc/sys/cdefs.h: Likewise. * posix/regexec.c (sift_states_iter_mb): Likewise. * socket/sockatmark.c: Likewise. * socket/sys/socket.h: Likewise. * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise. * sysdeps/ia64/fpu/libm_sincosl.S: Likewise. * sysdeps/ia64/fpu/s_cosl.S: Likewise. * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise. * sysdeps/unix/sockatmark.c: Likewise. * time/strptime_l.c: Likewise. --- sysdeps/ia64/fpu/libm_sincos_large.S | 2 +- sysdeps/ia64/fpu/libm_sincosl.S | 2 +- sysdeps/ia64/fpu/s_cosl.S | 2 +- sysdeps/ieee754/dbl-64/k_rem_pio2.c | 2 +- sysdeps/unix/sockatmark.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 'sysdeps') diff --git a/sysdeps/ia64/fpu/libm_sincos_large.S b/sysdeps/ia64/fpu/libm_sincos_large.S index 9faa75980f..64c42662dd 100644 --- a/sysdeps/ia64/fpu/libm_sincos_large.S +++ b/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/sysdeps/ia64/fpu/libm_sincosl.S b/sysdeps/ia64/fpu/libm_sincosl.S index f76b54d3de..b0d027caf5 100644 --- a/sysdeps/ia64/fpu/libm_sincosl.S +++ b/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/sysdeps/ia64/fpu/s_cosl.S b/sysdeps/ia64/fpu/s_cosl.S index ed4b571fab..961b8d23ce 100644 --- a/sysdeps/ia64/fpu/s_cosl.S +++ b/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/ieee754/dbl-64/k_rem_pio2.c b/sysdeps/ieee754/dbl-64/k_rem_pio2.c index 6221a1a474..6e2ef5d07b 100644 --- a/sysdeps/ieee754/dbl-64/k_rem_pio2.c +++ b/sysdeps/ieee754/dbl-64/k_rem_pio2.c @@ -45,7 +45,7 @@ static char rcsid[] = "$NetBSD: k_rem_pio2.c,v 1.7 1995/05/10 20:46:25 jtc Exp $ * z = (z-x[i])*2**24 * * - * y[] ouput result in an array of double precision numbers. + * y[] output result in an array of double precision numbers. * The dimension of y[] is: * 24-bit precision 1 * 53-bit precision 2 diff --git a/sysdeps/unix/sockatmark.c b/sysdeps/unix/sockatmark.c index 2fe9abbf53..c36401ab90 100644 --- a/sysdeps/unix/sockatmark.c +++ b/sysdeps/unix/sockatmark.c @@ -18,7 +18,7 @@ #include #include -/* Determine wheter socket is at a out-of-band mark. */ +/* Determine whether socket is at a out-of-band mark. */ int sockatmark (int fd) { -- cgit 1.4.1