From: "Ondřej Bílka" <neleai@seznam.cz>
To: "Joseph S. Myers" <joseph@codesourcery.com>
Cc: libc-alpha@sourceware.org, libc-ports@sourceware.org
Subject: Re: [PATCH 3/9] Fix typos.
Date: Fri, 30 Aug 2013 10:48:00 -0000 [thread overview]
Message-ID: <20130830104815.GA7412@domone.kolej.mff.cuni.cz> (raw)
In-Reply-To: <20130818220954.GA20381@domone>
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. */
next prev parent reply other threads:[~2013-08-30 10:48 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-13 8:27 [PATCH] " 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 ` Ondřej Bílka [this message]
2013-08-30 11:01 ` [PATCH 3/9] " 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130830104815.GA7412@domone.kolej.mff.cuni.cz \
--to=neleai@seznam.cz \
--cc=joseph@codesourcery.com \
--cc=libc-alpha@sourceware.org \
--cc=libc-ports@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).