diff options
author | Ondřej Bílka <neleai@seznam.cz> | 2013-08-30 14:32:07 +0200 |
---|---|---|
committer | Ondřej Bílka <neleai@seznam.cz> | 2013-08-30 18:08:59 +0200 |
commit | 382466e04e347d3b3fa221897efb8f4cdc239105 (patch) | |
tree | 502407214f530137467309e605493cc0dd18f274 | |
parent | 6b06ac56cdfc9293908724e51e827534e97819aa (diff) | |
download | glibc-382466e04e347d3b3fa221897efb8f4cdc239105.tar.gz glibc-382466e04e347d3b3fa221897efb8f4cdc239105.tar.xz glibc-382466e04e347d3b3fa221897efb8f4cdc239105.zip |
Fix typos.
47 files changed, 107 insertions, 45 deletions
diff --git a/ChangeLog b/ChangeLog index ac8c4b2b63..8c4adb3829 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,28 @@ +2013-08-30 Ondřej Bílka <neleai@seznam.cz> + + * 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. + 2013-08-30 Ondřej Bílka <neleai@seznam.cz> * sysdeps/x86_64/multiarch/rawmemchr.S: Delete. diff --git a/elf/dl-open.c b/elf/dl-open.c index 24d6a70117..1403c8c091 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/iconv/gconv_int.h b/iconv/gconv_int.h index 80c15335ef..06faeaafc9 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/iconv/loop.c b/iconv/loop.c index 46bfdbb47f..ad0181f744 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 c08a2c1e65..bb75fa7b7d 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/iconvdata/iso-2022-jp.c b/iconvdata/iso-2022-jp.c index ce66121380..7fb513fea9 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/ChangeLog b/localedata/ChangeLog index 3bc2fcfe9f..1bdc72ac83 100644 --- a/localedata/ChangeLog +++ b/localedata/ChangeLog @@ -1,3 +1,9 @@ +2013-08-30 Ondřej Bílka <neleai@seznam.cz> + + * tests-mbwc/dat_wcsncat.c: Fix typos. + * tests/test6.c: Likewise. + * tst-digits.c: Likewise. + 2013-06-13 Johan Heikkila <johan.heikkila@gmail.com> [BZ#15432] diff --git a/localedata/tests-mbwc/dat_wcsncat.c b/localedata/tests-mbwc/dat_wcsncat.c index 948d80ce9f..8487033e6f 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/localedata/tests/test6.c b/localedata/tests/test6.c index 30d4a1188c..65486016a3 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/localedata/tst-digits.c b/localedata/tst-digits.c index a0cb4736a7..c5b594eb66 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/nis/rpcsvc/nis.h b/nis/rpcsvc/nis.h index 5c5c7bb41b..933c4d9daf 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/nptl/ChangeLog b/nptl/ChangeLog index a047c2347f..d1efbb43e5 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -1,3 +1,9 @@ +2013-08-30 Ondřej Bílka <neleai@seznam.cz> + + * sysdeps/pthread/pthread.h: Fix typos. + * sysdeps/unix/sysv/linux/internaltypes.h: Likewise. + * tst-cancel4.c: Likewise. + 2013-08-21 Ondřej Bílka <neleai@seznam.cz> * pthread_getschedparam.c: Fix typos. diff --git a/nptl/sysdeps/pthread/pthread.h b/nptl/sysdeps/pthread/pthread.h index 61d534687f..b58f60e4dd 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/nptl/sysdeps/unix/sysv/linux/internaltypes.h b/nptl/sysdeps/unix/sysv/linux/internaltypes.h index 699a6187cb..a7ee3fefe1 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/nptl/tst-cancel4.c b/nptl/tst-cancel4.c index 6d25e48f1c..6ef654a40b 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/ChangeLog.alpha b/ports/ChangeLog.alpha index 4a4db09fb8..1bdd28fa0e 100644 --- a/ports/ChangeLog.alpha +++ b/ports/ChangeLog.alpha @@ -1,3 +1,7 @@ +2013-08-30 Ondřej Bílka <neleai@seznam.cz> + + * sysdeps/unix/sysv/linux/alpha/bits/netdb.h: Fix typos. + 2013-07-02 Richard Henderson <rth@redhat.com> * sysdeps/alpha/fpu/libm-test-ulps: Update. diff --git a/ports/ChangeLog.hppa b/ports/ChangeLog.hppa index 1d76d16cbe..ea4ef886fd 100644 --- a/ports/ChangeLog.hppa +++ b/ports/ChangeLog.hppa @@ -1,3 +1,8 @@ +2013-08-30 Ondřej Bílka <neleai@seznam.cz> + + * sysdeps/unix/sysv/linux/hppa/clone.S: Fix typos. + * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Likewise. + 2013-08-21 Ondřej Bílka <neleai@seznam.cz> * sysdeps/hppa/dl-lookupcfg.h: Fix typos. diff --git a/ports/ChangeLog.ia64 b/ports/ChangeLog.ia64 index 74151ce5a3..efe352e6bb 100644 --- a/ports/ChangeLog.ia64 +++ b/ports/ChangeLog.ia64 @@ -1,3 +1,11 @@ +2013-08-30 Ondřej Bílka <neleai@seznam.cz> + + * 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. + 2013-08-29 Ondřej Bílka <neleai@seznam.cz> * sysdeps/ia64/fpu/e_acoshl.S: Fix typos. diff --git a/ports/ChangeLog.mips b/ports/ChangeLog.mips index 7509c774de..d551974658 100644 --- a/ports/ChangeLog.mips +++ b/ports/ChangeLog.mips @@ -1,3 +1,7 @@ +2013-08-30 Ondřej Bílka <neleai@seznam.cz> + + * sysdeps/mips/memcpy.S: Fix typos. + 2013-08-29 Thomas Schwinge <thomas@codesourcery.com> * sysdeps/unix/sysv/linux/mips/ldsodefs.h (VALID_ELF_ABIVERSION): diff --git a/ports/ChangeLog.powerpc b/ports/ChangeLog.powerpc index e503682ce1..375e9566ea 100644 --- a/ports/ChangeLog.powerpc +++ b/ports/ChangeLog.powerpc @@ -1,3 +1,7 @@ +2013-08-30 Ondřej Bílka <neleai@seznam.cz> + + * sysdeps/powerpc/powerpc32/405/memcpy.S: Fix typos. + 2013-08-17 Alexandre Oliva <aoliva@redhat.com> PR 15483 diff --git a/ports/sysdeps/ia64/fpu/e_logf.S b/ports/sysdeps/ia64/fpu/e_logf.S index 885082fe23..9175f9551b 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) @@ -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 for comparison with 0.5 and 2.0 } { .mlx setf.exp FR_A2 = GR_05 // create A2 diff --git a/ports/sysdeps/ia64/fpu/libm_reduce.S b/ports/sysdeps/ia64/fpu/libm_reduce.S index 8bdf91d6de..8b132497b9 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. // //********************************************************************* // @@ -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.... // ^ @@ -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/ia64/fpu/s_erfc.S b/ports/sysdeps/ia64/fpu/s_erfc.S index c67c61abef..6729cda2e5 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 ce6be8db62..97c9037cfb 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/s_erfcl.S b/ports/sysdeps/ia64/fpu/s_erfcl.S index b9f7004aad..79b94a85ab 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/mips/memcpy.S b/ports/sysdeps/mips/memcpy.S index aeea491e76..8065da3607 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/ports/sysdeps/powerpc/powerpc32/405/memcpy.S b/ports/sysdeps/powerpc/powerpc32/405/memcpy.S index 761e9675af..b01d539209 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/ports/sysdeps/unix/sysv/linux/alpha/bits/netdb.h b/ports/sysdeps/unix/sysv/linux/alpha/bits/netdb.h index b9437ff890..65f76fd103 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/ports/sysdeps/unix/sysv/linux/hppa/clone.S b/ports/sysdeps/unix/sysv/linux/hppa/clone.S index 0d7a7eb632..fd55961bea 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/ports/sysdeps/unix/sysv/linux/hppa/nptl/pthread.h b/ports/sysdeps/unix/sysv/linux/hppa/nptl/pthread.h index 70e060415a..39e1ab986f 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/ports/sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c b/ports/sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c index efe95b1865..9d263f2852 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/resolv/ns_name.c b/resolv/ns_name.c index 246307a206..f355cf3444 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/stdio-common/vfscanf.c b/stdio-common/vfscanf.c index 343056769e..78dc2fcfe5 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/streams/stropts.h b/streams/stropts.h index 7988602642..5af61dc365 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/sunrpc/rpc_thread.c b/sunrpc/rpc_thread.c index 94d9f1fd80..fee47f7bf2 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/sysdeps/i386/strpbrk.S b/sysdeps/i386/strpbrk.S index bbc0cbeb6f..246ae27c53 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/sysdeps/ieee754/k_standard.c b/sysdeps/ieee754/k_standard.c index 150921f90b..4a0d82d1a6 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/ieee754/ldbl-128/e_expl.c b/sysdeps/ieee754/ldbl-128/e_expl.c index 589f957c23..23c204ce07 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 b599f369a7..1b994cd7a9 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/sysdeps/mach/hurd/dl-sysdep.c b/sysdeps/mach/hurd/dl-sysdep.c index d85c22a036..1788ede94e 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/sysdeps/mach/hurd/profil.c b/sysdeps/mach/hurd/profil.c index fee244a127..2ed24992b5 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/sysdeps/s390/dl-procinfo.h b/sysdeps/s390/dl-procinfo.h index 45e27f1023..65f037b8c0 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/sysdeps/unix/sysv/linux/i386/chown.c b/sysdeps/unix/sysv/linux/i386/chown.c index 94f294007e..5fa640285c 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 cd0cb743b5..7fbd28a255 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/unix/sysv/linux/sparc/sparc32/makecontext.c b/sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c index bd3d4f925d..5e64efa6af 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/sysdeps/x86_64/dl-trampoline.S b/sysdeps/x86_64/dl-trampoline.S index 5770c64bf7..a25e390a72 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/sysdeps/x86_64/multiarch/strcmp-sse42.S b/sysdeps/x86_64/multiarch/strcmp-sse42.S index a503e92115..c84f1c2b31 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 */ |