This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 4/9] Fix typos.


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;
 
 
 
-/* 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]