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