Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix typos.
  • Loading branch information
Ondřej Bílka committed Aug 30, 2013
1 parent 6b06ac5 commit 382466e
Show file tree
Hide file tree
Showing 47 changed files with 107 additions and 45 deletions.
25 changes: 25 additions & 0 deletions ChangeLog
@@ -1,3 +1,28 @@
2013-08-30 Ondřej Bílka <neleai@seznam.cz>

* elf/dl-open.c: Fix typos.
* iconvdata/gbbig5.c: Likewise.
* iconvdata/iso-2022-jp.c: Likewise.
* iconv/gconv_int.h: Likewise.
* iconv/loop.c: Likewise.
* nis/rpcsvc/nis.h: Likewise.
* resolv/ns_name.c: Likewise.
* stdio-common/vfscanf.c: Likewise.
* streams/stropts.h: Likewise.
* sunrpc/rpc_thread.c: Likewise.
* sysdeps/i386/strpbrk.S: Likewise.
* sysdeps/ieee754/k_standard.c: Likewise.
* sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
* sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
* sysdeps/mach/hurd/dl-sysdep.c: Likewise.
* sysdeps/mach/hurd/profil.c: Likewise.
* sysdeps/s390/dl-procinfo.h: Likewise.
* sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
* sysdeps/x86_64/dl-trampoline.S: Likewise.
* sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.

2013-08-30 Ondřej Bílka <neleai@seznam.cz>

* sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
Expand Down
2 changes: 1 addition & 1 deletion elf/dl-open.c
Expand Up @@ -158,7 +158,7 @@ add_to_global (struct link_map *new)
return 0;
}

/* Search link maps in all namespaces for the DSO that containes the object at
/* Search link maps in all namespaces for the DSO that contains the object at
address ADDR. Returns the pointer to the link map of the matching DSO, or
NULL if a match is not found. */
struct link_map *
Expand Down
2 changes: 1 addition & 1 deletion iconv/gconv_int.h
Expand Up @@ -49,7 +49,7 @@ struct gconv_alias
};


/* How many character should be conveted in one call? */
/* How many character should be converted in one call? */
#define GCONV_NCHAR_GOAL 8160


Expand Down
2 changes: 1 addition & 1 deletion iconv/loop.c
Expand Up @@ -38,7 +38,7 @@
BODY this is supposed to expand to the body of the loop.
The user must provide this.
EXTRA_LOOP_DECLS extra arguments passed from converion loop call.
EXTRA_LOOP_DECLS extra arguments passed from conversion loop call.
INIT_PARAMS code to define and initialize variables from params.
UPDATE_PARAMS code to store result in params.
Expand Down
2 changes: 1 addition & 1 deletion iconvdata/gbbig5.c
Expand Up @@ -22,7 +22,7 @@
#include <stdint.h>

/*
* This module does convertions between gb2312 and big5 encodings.
* This module does conversions between gb2312 and big5 encodings.
* It is necessary because gb2312 encoding use simplified chinese,
* while big5 use traditional one. Often times both the simplified
* version of a chinese character and its traditional counterpart
Expand Down
2 changes: 1 addition & 1 deletion iconvdata/iso-2022-jp.c
Expand Up @@ -271,7 +271,7 @@ gconv_end (struct __gconv_step *data)
if (__builtin_expect (ch, 0) == ESC) \
{ \
/* We now must be prepared to read two to three more \
chracters. If we have a match in the first character but \
characters. If we have a match in the first character but \
then the input buffer ends we terminate with an error since \
we must not risk missing an escape sequence just because it \
is not entirely in the current input buffer. */ \
Expand Down
6 changes: 6 additions & 0 deletions localedata/ChangeLog
@@ -1,3 +1,9 @@
2013-08-30 Ondřej Bílka <neleai@seznam.cz>

* tests-mbwc/dat_wcsncat.c: Fix typos.
* tests/test6.c: Likewise.
* tst-digits.c: Likewise.

2013-06-13 Johan Heikkila <johan.heikkila@gmail.com>

[BZ#15432]
Expand Down
2 changes: 1 addition & 1 deletion localedata/tests-mbwc/dat_wcsncat.c
Expand Up @@ -9,7 +9,7 @@

/*
* Note:
* A terminating null wide chararacter is always appended to
* A terminating null wide character is always appended to
* the result: ws1.
*
*/
Expand Down
2 changes: 1 addition & 1 deletion localedata/tests/test6.c
Expand Up @@ -40,7 +40,7 @@ main (void)
/* Test basic table handling (basic == not more than 256 characters).
The charmaps swaps the normal lower-upper case meaning of the
ASCII characters used in the source code while the Unicode mapping
in the repertoire map has the normal correspondants. This test
in the repertoire map has the normal correspondents. This test
shows the independence of the tables for `char' and `wchar_t'
characters. */

Expand Down
2 changes: 1 addition & 1 deletion localedata/tst-digits.c
Expand Up @@ -178,7 +178,7 @@ main (void)
printf ("%d failures in wprintf tests\n", failures);
status = failures != 0;

/* ctype tests. This makes sure that the multibyte chracter digit
/* ctype tests. This makes sure that the multibyte character digit
representations are not handle in this table. */
failures = 0;
for (cnt = 0; cnt < 256; ++cnt)
Expand Down
2 changes: 1 addition & 1 deletion nis/rpcsvc/nis.h
Expand Up @@ -470,7 +470,7 @@ typedef struct fd_result fd_result;
#define NIS_NOBODY(a, m) (((a) & ((m) << 24)) != 0)
/*
* EOL Alert - The following non-prefixed test macros are
* here for backward compatability, and will be not be present
* here for backward compatibility, and will be not be present
* in future releases - use the NIS_*() macros above.
*/
#define WORLD(a, m) (((a) & (m)) != 0)
Expand Down
6 changes: 6 additions & 0 deletions nptl/ChangeLog
@@ -1,3 +1,9 @@
2013-08-30 Ondřej Bílka <neleai@seznam.cz>

* sysdeps/pthread/pthread.h: Fix typos.
* sysdeps/unix/sysv/linux/internaltypes.h: Likewise.
* tst-cancel4.c: Likewise.

2013-08-21 Ondřej Bílka <neleai@seznam.cz>

* pthread_getschedparam.c: Fix typos.
Expand Down
4 changes: 2 additions & 2 deletions nptl/sysdeps/pthread/pthread.h
Expand Up @@ -1034,13 +1034,13 @@ extern int pthread_condattr_setpshared (pthread_condattr_t *__attr,
int __pshared) __THROW __nonnull ((1));

#ifdef __USE_XOPEN2K
/* Get the clock selected for the conditon variable attribute ATTR. */
/* Get the clock selected for the condition variable attribute ATTR. */
extern int pthread_condattr_getclock (const pthread_condattr_t *
__restrict __attr,
__clockid_t *__restrict __clock_id)
__THROW __nonnull ((1, 2));

/* Set the clock selected for the conditon variable attribute ATTR. */
/* Set the clock selected for the condition variable attribute ATTR. */
extern int pthread_condattr_setclock (pthread_condattr_t *__attr,
__clockid_t __clock_id)
__THROW __nonnull ((1));
Expand Down
2 changes: 1 addition & 1 deletion nptl/sysdeps/unix/sysv/linux/internaltypes.h
Expand Up @@ -66,7 +66,7 @@ struct pthread_condattr
{
/* Combination of values:
Bit 0 : flag whether coditional variable will be shareable between
Bit 0 : flag whether conditional variable will be sharable between
processes.
Bit 1-7: clock ID. */
Expand Down
2 changes: 1 addition & 1 deletion nptl/tst-cancel4.c
Expand Up @@ -83,7 +83,7 @@ static pthread_barrier_t b2;
# define IPC_ADDVAL 0
#endif

/* The WRITE_BUFFER_SIZE value needs to be choosen such that if we set
/* The WRITE_BUFFER_SIZE value needs to be chosen such that if we set
the socket send buffer size to '1', a write of this size on that
socket will block.
Expand Down
4 changes: 4 additions & 0 deletions ports/ChangeLog.alpha
@@ -1,3 +1,7 @@
2013-08-30 Ondřej Bílka <neleai@seznam.cz>

* sysdeps/unix/sysv/linux/alpha/bits/netdb.h: Fix typos.

2013-07-02 Richard Henderson <rth@redhat.com>

* sysdeps/alpha/fpu/libm-test-ulps: Update.
Expand Down
5 changes: 5 additions & 0 deletions ports/ChangeLog.hppa
@@ -1,3 +1,8 @@
2013-08-30 Ondřej Bílka <neleai@seznam.cz>

* sysdeps/unix/sysv/linux/hppa/clone.S: Fix typos.
* sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Likewise.

2013-08-21 Ondřej Bílka <neleai@seznam.cz>

* sysdeps/hppa/dl-lookupcfg.h: Fix typos.
Expand Down
8 changes: 8 additions & 0 deletions ports/ChangeLog.ia64
@@ -1,3 +1,11 @@
2013-08-30 Ondřej Bílka <neleai@seznam.cz>

* sysdeps/ia64/fpu/libm_reduce.S: Fix typos.
* sysdeps/ia64/fpu/s_erfcf.S: Likewise.
* sysdeps/ia64/fpu/s_erfcl.S: Likewise.
* sysdeps/ia64/fpu/s_erfc.S: Likewise.
* sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Likewise.

2013-08-29 Ondřej Bílka <neleai@seznam.cz>

* sysdeps/ia64/fpu/e_acoshl.S: Fix typos.
Expand Down
4 changes: 4 additions & 0 deletions ports/ChangeLog.mips
@@ -1,3 +1,7 @@
2013-08-30 Ondřej Bílka <neleai@seznam.cz>

* sysdeps/mips/memcpy.S: Fix typos.

2013-08-29 Thomas Schwinge <thomas@codesourcery.com>

* sysdeps/unix/sysv/linux/mips/ldsodefs.h (VALID_ELF_ABIVERSION):
Expand Down
4 changes: 4 additions & 0 deletions ports/ChangeLog.powerpc
@@ -1,3 +1,7 @@
2013-08-30 Ondřej Bílka <neleai@seznam.cz>

* sysdeps/powerpc/powerpc32/405/memcpy.S: Fix typos.

2013-08-17 Alexandre Oliva <aoliva@redhat.com>

PR 15483
Expand Down
4 changes: 2 additions & 2 deletions ports/sysdeps/ia64/fpu/e_logf.S
Expand Up @@ -838,7 +838,7 @@ GLOBAL_IEEE754_ENTRY(log10f)
{ .mib
setf.exp FR_A2 = GR_05 // create A2
sub GR_de = GR_Exp,GR_05 // biased_exponent_of_x - 0xFFFE
// needed to comparion with 0.5 and 2.0
// needed for comparison with 0.5 and 2.0
br.cond.sptk logf_log10f_common
};;
GLOBAL_IEEE754_END(log10f)
Expand Down Expand Up @@ -873,7 +873,7 @@ GLOBAL_IEEE754_ENTRY(logf)
setf.d FR_A3 = GR_A3 // create A3
fcmp.eq.s1 p13,p14 = f0,f0 // p13 - true for logf
sub GR_de = GR_Exp,GR_05 // biased_exponent_of_x - 0xFFFE
// needed to comparion with 0.5 and 2.0
// needed for comparison with 0.5 and 2.0
}
{ .mlx
setf.exp FR_A2 = GR_05 // create A2
Expand Down
6 changes: 3 additions & 3 deletions ports/sysdeps/ia64/fpu/libm_reduce.S
Expand Up @@ -75,7 +75,7 @@
//
// IEEE Special Conditions:
//
// No condions should be raised.
// No conditions should be raised.
//
//*********************************************************************
//
Expand Down Expand Up @@ -288,7 +288,7 @@
//
// Set sgn_x := sign(x); x := |x|; x_lo := 2 lsb of x.
//
// In memory, 2/pi is stored contigously as
// In memory, 2/pi is stored contiguously as
//
// 0x00000000 0x00000000 0xA2F....
// ^
Expand Down Expand Up @@ -786,7 +786,7 @@ __libm_pi_by_2_reduce:
// setf.sig FR_ScaleP3 = GR_x_lo
// fmerge.se FR_X = FR_X,FR_ScaleP3
// Set sgn_x := sign(x); x := |x|; x_lo := 2 lsb of x.
// 2/pi is stored contigously as
// 2/pi is stored contiguously as
// 0x00000000 0x00000000.0xA2F....
// M = EXP - BIAS ( M >= 63)
// Given x = 2^m * 1.xxxx...xxx; we calculate L := 62 - m.
Expand Down
2 changes: 1 addition & 1 deletion ports/sysdeps/ia64/fpu/s_erfc.S
Expand Up @@ -65,7 +65,7 @@
//
// Let P14(z) - polynomial approximation of degree 14 for function
// erfc(z+x(i)) * exp( (z+x(i))^2) and 0 <= z <= x(i+1)-x(i).
// Polynomial coeffitients we have in the table erfc_p_table.
// Polynomial coefficients we have in the table erfc_p_table.
//
// So we can find result for erfc(x) as above.
// Algorithm description for exp function see below.
Expand Down
2 changes: 1 addition & 1 deletion ports/sysdeps/ia64/fpu/s_erfcf.S
Expand Up @@ -63,7 +63,7 @@
//
// Let P15(x) - polynomial approximation of degree 15 for function
// erfcf(x) * exp( x^2) and x(i) <= x <= x(i+1), i = 0,1,2,3
// Polynomial coeffitients we have in the table erfc_p_table.
// Polynomial coefficients we have in the table erfc_p_table.
//
// So we can find result for erfcf(x) as above.
// Algorithm description for exp function see below.
Expand Down
2 changes: 1 addition & 1 deletion ports/sysdeps/ia64/fpu/s_erfcl.S
Expand Up @@ -71,7 +71,7 @@
// -0.5*[x(i+1)-x(i)] <= z <= 0.5*[x(i+1)-x(i)].
//
// Let Q(z)= (P(z)- S)/S, S = a0, rounded to 16 bits.
// Polynomial coeffitients for Q(z) we have in the table erfc_Q_table as
// Polynomial coefficients for Q(z) we have in the table erfc_Q_table as
// long double values
//
// We use multi precision to calculate input argument -x^2 for expl and
Expand Down
4 changes: 2 additions & 2 deletions ports/sysdeps/mips/memcpy.S
Expand Up @@ -157,10 +157,10 @@
/* MAX_PREFETCH_SIZE is the maximum size of a prefetch, it must not be less
* then PREFETCH_CHUNK, the assumed size of each prefetch. If the real size
* of a prefetch is greater then MAX_PREFETCH_SIZE and the PREPAREFORSTORE
* hint is used, the code will not work corrrectly. If PREPAREFORSTORE is not
* hint is used, the code will not work correctly. If PREPAREFORSTORE is not
* used then MAX_PREFETCH_SIZE does not matter. */
#define MAX_PREFETCH_SIZE 128
/* PREFETCH_LIMIT is set based on the fact that we neve use an offset greater
/* PREFETCH_LIMIT is set based on the fact that we never use an offset greater
* then 5 on a STORE prefetch and that a single prefetch can never be larger
* then MAX_PREFETCH_SIZE. We add the extra 32 when USE_DOUBLE is set because
* we actually do two prefetches in that case, one 32 bytes after the other. */
Expand Down
2 changes: 1 addition & 1 deletion ports/sysdeps/powerpc/powerpc32/405/memcpy.S
Expand Up @@ -98,7 +98,7 @@ L(string_count_loop): /* Copy odd 0-31 bytes */
lswx r6,0,r4
stswx r6,0,r3

L(pre_string_copy): /* Check how many 32 byte chunck to copy */
L(pre_string_copy): /* Check how many 32 byte chunks to copy */
srwi. r7,r5,4
beq L(end_memcpy)
mtctr r7
Expand Down
2 changes: 1 addition & 1 deletion ports/sysdeps/unix/sysv/linux/alpha/bits/netdb.h
Expand Up @@ -29,6 +29,6 @@ struct netent
char **n_aliases; /* Alias list. */
int n_addrtype; /* Net address type. */
/* XXX We should probably use uint32_t for the field and ensure
compatiblity by adding appropriate padding. */
compatibility by adding appropriate padding. */
unsigned long int n_net; /* Network number. */
};
2 changes: 1 addition & 1 deletion ports/sysdeps/unix/sysv/linux/hppa/clone.S
Expand Up @@ -155,7 +155,7 @@ ENTRY(__clone)
ldw -60(%sp), %arg0
ldw -64(%sp), %r22

/* $$dyncall fixes childs PIC register */
/* $$dyncall fixes child's PIC register */

/* Call the user's function */
#ifdef PIC
Expand Down
4 changes: 2 additions & 2 deletions ports/sysdeps/unix/sysv/linux/hppa/nptl/pthread.h
Expand Up @@ -1014,13 +1014,13 @@ extern int pthread_condattr_setpshared (pthread_condattr_t *__attr,
int __pshared) __THROW __nonnull ((1));

#ifdef __USE_XOPEN2K
/* Get the clock selected for the conditon variable attribute ATTR. */
/* Get the clock selected for the condition variable attribute ATTR. */
extern int pthread_condattr_getclock (const pthread_condattr_t *
__restrict __attr,
__clockid_t *__restrict __clock_id)
__THROW __nonnull ((1, 2));

/* Set the clock selected for the conditon variable attribute ATTR. */
/* Set the clock selected for the condition variable attribute ATTR. */
extern int pthread_condattr_setclock (pthread_condattr_t *__attr,
__clockid_t __clock_id)
__THROW __nonnull ((1));
Expand Down
Expand Up @@ -19,7 +19,7 @@
/* The public __longjmp() implementation is limited to jumping within
the same stack. That is, in general it is not possible to use this
__longjmp() implementation to cross from one stack to another.
In constrast, the __sigstack_longjmp() implemented here allows
In contrast, the __sigstack_longjmp() implemented here allows
crossing from the alternate signal stack to the normal stack
as a special case. */

Expand Down
2 changes: 1 addition & 1 deletion resolv/ns_name.c
Expand Up @@ -681,7 +681,7 @@ libresolv_hidden_def (ns_name_skip)

/*%
* Thinking in noninternationalized USASCII (per the DNS spec),
* is this characted special ("in need of quoting") ?
* is this character special ("in need of quoting") ?
*
* return:
*\li boolean.
Expand Down
2 changes: 1 addition & 1 deletion stdio-common/vfscanf.c
Expand Up @@ -2185,7 +2185,7 @@ _IO_vfscanf_internal (_IO_FILE *s, const char *format, _IO_va_list argptr,
}

/* Start checking against localized digits, if
convertion is done correctly. */
conversion is done correctly. */
while (1)
{
if (got_e && wp[wpsize - 1] == exp_char
Expand Down
2 changes: 1 addition & 1 deletion streams/stropts.h
Expand Up @@ -35,7 +35,7 @@ typedef __uid_t uid_t;
typedef __t_scalar_t t_scalar_t;
typedef __t_uscalar_t t_uscalar_t;

/* Get system specific contants. */
/* Get system specific constants. */
#include <bits/stropts.h>


Expand Down
2 changes: 1 addition & 1 deletion sunrpc/rpc_thread.c
Expand Up @@ -80,7 +80,7 @@ __rpc_thread_variables (void)

/* Global variables If we're single-threaded, or if this is the first
thread using the variable, use the existing global variable. This
provides backwards compatability for existing applications which
provides backwards compatibility for existing applications which
dynamically link against this code. */
#undef svc_fdset
#undef rpc_createerr
Expand Down
2 changes: 1 addition & 1 deletion sysdeps/i386/strpbrk.S
Expand Up @@ -205,7 +205,7 @@ L(1): leal -4(%edx), %eax /* prepare loop */
1. a character in the stopset was found
and
2. the end of the string was found
But as a sign that the chracter is in the stopset we store its
But as a sign that the character is in the stopset we store its
value in the table. But the value of NUL is NUL so the loop
terminates for NUL in every case. */

Expand Down
2 changes: 1 addition & 1 deletion sysdeps/ieee754/k_standard.c
Expand Up @@ -31,7 +31,7 @@ static char rcsid[] = "$NetBSD: k_standard.c,v 1.6 1995/05/10 20:46:35 jtc Exp $
#endif /* !defined(_USE_WRITE) */

/* XXX gcc versions until now don't delay the 0.0/0.0 division until
runtime but produce NaN at copile time. This is wrong since the
runtime but produce NaN at compile time. This is wrong since the
exceptions are not set correctly. */
#if 0
static const double zero = 0.0; /* used as const */
Expand Down

0 comments on commit 382466e

Please sign in to comment.