Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix leading whitespaces.
  • Loading branch information
Ondrej Bilka committed Jun 6, 2013
1 parent 25506f0 commit 350635a
Show file tree
Hide file tree
Showing 67 changed files with 203 additions and 132 deletions.
66 changes: 66 additions & 0 deletions ChangeLog
@@ -1,3 +1,69 @@
2013-06-06 Ondřej Bílka <neleai@seznam.cz>

* debug/fgetws_u_chk.c: Fix leading whitespaces.
* elf/sln.c: Likewise.
* hurd/hurd/ioctl.h: Likewise.
* hurd/hurdmalloc.c: Likewise.
* hurd/xattr.c: Likewise.
* include/shlib-compat.h: Likewise.
* inet/ruserpass.c: Likewise.
* libio/iofgets_u.c: Likewise.
* libio/iofgetws_u.c: Likewise.
* locale/programs/ld-identification.c: Likewise.
* locale/programs/ld-time.c: Likewise.
* mach/msg-destroy.c: Likewise.
* nss/nss_files/files-netgrp.c: Likewise.
* resolv/res_data.c: Likewise.
* soft-fp/op-1.h: Likewise.
* soft-fp/op-2.h: Likewise.
* soft-fp/op-4.h: Likewise.
* soft-fp/op-common.h: Likewise.
* stdio-common/printf_fphex.c: Likewise.
* stdlib/strtod_l.c: Likewise.
* sunrpc/rpc/clnt.h: Likewise.
* sysdeps/generic/framestate.c: Likewise.
* sysdeps/i386/bsd-_setjmp.S: Likewise.
* sysdeps/i386/bsd-setjmp.S: Likewise.
* sysdeps/i386/__longjmp.S: Likewise.
* sysdeps/i386/setjmp.S: Likewise.
* sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
* sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
* sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
* sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
* sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
* sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
* sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
* sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
* sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
* sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
* sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
* sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
* sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
* sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
* sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
* sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
* sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
* sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
* sysdeps/ieee754/support.c: Likewise.
* sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
* sysdeps/powerpc/powerpc32/lshift.S: Likewise.
* sysdeps/sparc/sparc32/__longjmp.S: Likewise.
* sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
* sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
* sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
* sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
* sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
* sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
* sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
* sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
* sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
* sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
* sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
* sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
* sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
* sysdeps/unix/sysv/linux/lutimes.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.

2013-06-05 Ondřej Bílka <neleai@seznam.cz>

* posix/transbug.c: Remove executable mode.
Expand Down
2 changes: 1 addition & 1 deletion debug/fgetws_u_chk.c
Expand Up @@ -46,7 +46,7 @@ __fgetws_unlocked_chk (wchar_t *buf, size_t size, int n, _IO_FILE *fp)
/* If we read in some bytes and errno is EAGAIN, that error will
be reported for next read. */
if (count == 0 || ((fp->_IO_file_flags & _IO_ERR_SEEN)
&& errno != EAGAIN))
&& errno != EAGAIN))
result = NULL;
else if (count >= size)
__chk_fail ();
Expand Down
8 changes: 4 additions & 4 deletions elf/sln.c
Expand Up @@ -176,13 +176,13 @@ makesymlink (src, dest)
if (S_ISDIR (stats.st_mode))
{
fprintf (stderr, _("%s: destination must not be a directory\n"),
dest);
dest);
return 1;
}
else if (unlink (dest) && errno != ENOENT)
{
fprintf (stderr, _("%s: failed to remove the old destination\n"),
dest);
dest);
return 1;
}
}
Expand All @@ -205,7 +205,7 @@ makesymlink (src, dest)
error = strerror (errno);
unlink (dest);
fprintf (stderr, _("Invalid link from \"%s\" to \"%s\": %s\n"),
src, dest, error);
src, dest, error);
return 1;
}
return 0;
Expand All @@ -214,7 +214,7 @@ makesymlink (src, dest)
{
error = strerror (errno);
fprintf (stderr, _("Invalid link from \"%s\" to \"%s\": %s\n"),
src, dest, error);
src, dest, error);
return 1;
}
}
2 changes: 1 addition & 1 deletion hurd/hurd/ioctl.h
Expand Up @@ -54,7 +54,7 @@ extern int hurd_register_ioctl_handler (int first_request, int last_request,

#define _HURD_HANDLE_IOCTLS_1(handler, first, last, moniker) \
static const struct ioctl_handler handler##_ioctl_handler##moniker \
__attribute__ ((__unused__)) = \
__attribute__ ((__unused__)) = \
{ _IOC_NOTYPE (first), _IOC_NOTYPE (last), \
(ioctl_handler_t) (handler), NULL }; \
text_set_element (_hurd_ioctl_handler_lists, \
Expand Down
10 changes: 5 additions & 5 deletions hurd/hurdmalloc.c
Expand Up @@ -382,15 +382,15 @@ realloc(old_base, new_size)
void
print_malloc_free_list()
{
register int i, size;
register int i, size;
register free_list_t fl;
register int n;
register header_t h;
register header_t h;
int total_used = 0;
int total_free = 0;

fprintf(stderr, " Size In Use Free Total\n");
for (i = 0, size = MIN_SIZE, fl = malloc_free_list;
for (i = 0, size = MIN_SIZE, fl = malloc_free_list;
i < NBUCKETS;
i += 1, size <<= 1, fl += 1) {
spin_lock(&fl->lock);
Expand All @@ -403,8 +403,8 @@ print_malloc_free_list()
size, fl->in_use, n, fl->in_use + n);
}
spin_unlock(&fl->lock);
}
fprintf(stderr, " all sizes %10d %10d %10d\n",
}
fprintf(stderr, " all sizes %10d %10d %10d\n",
total_used, total_free, total_used + total_free);
}
#endif /* DEBUG */
Expand Down
2 changes: 1 addition & 1 deletion hurd/xattr.c
Expand Up @@ -29,7 +29,7 @@
gnu.author empty if st_author==st_uid
uid_t giving st_author value
gnu.translator empty if no passive translator
translator and arguments: "/hurd/foo\0arg1\0arg2\0"
translator and arguments: "/hurd/foo\0arg1\0arg2\0"
*/

error_t
Expand Down
2 changes: 1 addition & 1 deletion include/shlib-compat.h
Expand Up @@ -57,7 +57,7 @@
the version set name to use for e.g. symbols first introduced into
libm in the GLIBC_2.1 version. Definitions of symbols with explicit
versions should look like:
versioned_symbol (libm, new_foo, foo, GLIBC_2_1);
versioned_symbol (libm, new_foo, foo, GLIBC_2_1);
This will define the symbol `foo' with the appropriate default version,
i.e. either GLIBC_2.1 or the "earliest version" specified in
shlib-versions if that is newer. */
Expand Down
2 changes: 1 addition & 1 deletion inet/ruserpass.c
Expand Up @@ -108,7 +108,7 @@ ruserpass(host, aname, apass)
which is no improvement. This really should call
getpwuid(getuid()). */
/*hdir = ".";*/
return -1;
return -1;
}

buf = alloca (strlen (hdir) + 8);
Expand Down
2 changes: 1 addition & 1 deletion libio/iofgets_u.c
Expand Up @@ -56,7 +56,7 @@ fgets_unlocked (buf, n, fp)
/* If we read in some bytes and errno is EAGAIN, that error will
be reported for next read. */
if (count == 0 || ((fp->_IO_file_flags & _IO_ERR_SEEN)
&& errno != EAGAIN))
&& errno != EAGAIN))
result = NULL;
else
{
Expand Down
2 changes: 1 addition & 1 deletion libio/iofgetws_u.c
Expand Up @@ -56,7 +56,7 @@ fgetws_unlocked (buf, n, fp)
/* If we read in some bytes and errno is EAGAIN, that error will
be reported for next read. */
if (count == 0 || ((fp->_IO_file_flags & _IO_ERR_SEEN)
&& errno != EAGAIN))
&& errno != EAGAIN))
result = NULL;
else
{
Expand Down
2 changes: 1 addition & 1 deletion locale/programs/ld-identification.c
Expand Up @@ -144,7 +144,7 @@ No definition for %s category found"), "LC_IDENTIFICATION"));
{ \
if (verbose && ! nothing) \
WITH_CUR_LOCALE (error (0, 0, _("%s: field `%s' not defined"), \
"LC_IDENTIFICATION", #cat)); \
"LC_IDENTIFICATION", #cat)); \
identification->cat = ""; \
}

Expand Down
2 changes: 1 addition & 1 deletion locale/programs/ld-time.c
Expand Up @@ -1040,7 +1040,7 @@ time_read (struct linereader *ldfile, struct localedef_t *result,
time->cat[cnt] = ""; \
time->w##cat[cnt++] = empty_wstr; \
} \
\
\
if (now->tok == tok_semicolon) \
{ \
now = lr_token (ldfile, charmap, result, repertoire, \
Expand Down
6 changes: 3 additions & 3 deletions mach/msg-destroy.c
Expand Up @@ -75,10 +75,10 @@ __mach_msg_destroy(msg)
mach_msg_body_t *body;
mach_msg_descriptor_t *saddr, *eaddr;

body = (mach_msg_body_t *) (msg + 1);
saddr = (mach_msg_descriptor_t *)
body = (mach_msg_body_t *) (msg + 1);
saddr = (mach_msg_descriptor_t *)
((mach_msg_base_t *) msg + 1);
eaddr = saddr + body->msgh_descriptor_count;
eaddr = saddr + body->msgh_descriptor_count;

for ( ; saddr < eaddr; saddr++) {
switch (saddr->type.type) {
Expand Down
5 changes: 5 additions & 0 deletions nptl/ChangeLog
@@ -1,3 +1,8 @@
2013-06-06 Ondřej Bílka <neleai@seznam.cz>

* tst-cond22.c: Fix leading whitespaces.
* tst-umask1.c: Likewise.

2013-06-06 Joseph Myers <joseph@codesourcery.com>

* sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: Remove
Expand Down
4 changes: 2 additions & 2 deletions nptl/tst-cond22.c
Expand Up @@ -107,7 +107,7 @@ do_test (void)
}

printf ("cond = { %d, %x, %lld, %lld, %lld, %p, %u, %u }\n",
c.__data.__lock, c.__data.__futex, c.__data.__total_seq,
c.__data.__lock, c.__data.__futex, c.__data.__total_seq,
c.__data.__wakeup_seq, c.__data.__woken_seq, c.__data.__mutex,
c.__data.__nwaiters, c.__data.__broadcast_seq);

Expand Down Expand Up @@ -149,7 +149,7 @@ do_test (void)
}

printf ("cond = { %d, %x, %lld, %lld, %lld, %p, %u, %u }\n",
c.__data.__lock, c.__data.__futex, c.__data.__total_seq,
c.__data.__lock, c.__data.__futex, c.__data.__total_seq,
c.__data.__wakeup_seq, c.__data.__woken_seq, c.__data.__mutex,
c.__data.__nwaiters, c.__data.__broadcast_seq);

Expand Down
2 changes: 1 addition & 1 deletion nptl/tst-umask1.c
Expand Up @@ -65,7 +65,7 @@ work (const char *fname, int mask)
if ((st.st_mode & mask) != 0)
{
printf ("mask not successful after %s: %x still set\n",
fcts[i].name, (unsigned int) (st.st_mode & mask));
fcts[i].name, (unsigned int) (st.st_mode & mask));
result = 1;
}
}
Expand Down
2 changes: 1 addition & 1 deletion nss/nss_files/files-netgrp.c
Expand Up @@ -46,7 +46,7 @@ libnss_files_hidden_proto (_nss_files_endnetgrent)
status = NSS_STATUS_UNAVAIL; \
goto the_end; \
} \
\
\
result->cursor = result->data + old_cursor; \
} \
while (0)
Expand Down
2 changes: 1 addition & 1 deletion resolv/res_data.c
Expand Up @@ -236,7 +236,7 @@ res_sendsigned(const u_char *buf, int buflen, ns_tsig_key *key,
void
res_close(void) {
#ifdef _LIBC
/*
/*
* Some stupid programs out there call res_close() before res_init().
* Since _res._vcsock isn't explicitly initialized, these means that
* we could do a close(0), which might lead to some security problems.
Expand Down
2 changes: 1 addition & 1 deletion soft-fp/op-1.h
Expand Up @@ -233,7 +233,7 @@ do { \
_nl = X##_f << (_FP_W_TYPE_SIZE - 1); \
_nh = X##_f >> 1; \
} \
\
\
udiv_qrnnd(_q, _r, _nh, _nl, _y); \
R##_f = _q | (_r != 0); \
} while (0)
Expand Down
8 changes: 4 additions & 4 deletions soft-fp/op-2.h
Expand Up @@ -433,10 +433,10 @@
R##_f1 = (_t240 << (128 - (wfracbits - 1))) \
| ((_u240 & 0xffffff) >> ((wfracbits - 1) - 104)); \
R##_f0 = ((_u240 & 0xffffff) << (168 - (wfracbits - 1))) \
| ((_v240 & 0xffffff) << (144 - (wfracbits - 1))) \
| ((_w240 & 0xffffff) << (120 - (wfracbits - 1))) \
| ((_x240 & 0xffffff) >> ((wfracbits - 1) - 96)) \
| _y240; \
| ((_v240 & 0xffffff) << (144 - (wfracbits - 1))) \
| ((_w240 & 0xffffff) << (120 - (wfracbits - 1))) \
| ((_x240 & 0xffffff) >> ((wfracbits - 1) - 96)) \
| _y240; \
resetfe; \
} while (0)

Expand Down
2 changes: 1 addition & 1 deletion soft-fp/op-4.h
Expand Up @@ -481,7 +481,7 @@
S##_f[2] += (T##_f[1] > S##_f[1]); \
S##_f[3] += (T##_f[2] > S##_f[2]); \
__FP_FRAC_DEC_3(X##_f[3], X##_f[2], X##_f[1], \
T##_f[3], T##_f[2], T##_f[1]); \
T##_f[3], T##_f[2], T##_f[1]); \
R##_f[1] += q; \
} \
_FP_FRAC_SLL_4(X, 1); \
Expand Down
28 changes: 14 additions & 14 deletions soft-fp/op-common.h
Expand Up @@ -992,28 +992,28 @@ do { \
case FP_CLS_NAN: \
_FP_FRAC_COPY_##wc(R, X); \
R##_s = X##_s; \
R##_c = FP_CLS_NAN; \
break; \
R##_c = FP_CLS_NAN; \
break; \
case FP_CLS_INF: \
if (X##_s) \
{ \
R##_s = _FP_NANSIGN_##fs; \
if (X##_s) \
{ \
R##_s = _FP_NANSIGN_##fs; \
R##_c = FP_CLS_NAN; /* NAN */ \
_FP_FRAC_SET_##wc(R, _FP_NANFRAC_##fs); \
FP_SET_EXCEPTION(FP_EX_INVALID); \
} \
else \
{ \
R##_s = 0; \
R##_c = FP_CLS_INF; /* sqrt(+inf) = +inf */ \
} \
break; \
} \
else \
{ \
R##_s = 0; \
R##_c = FP_CLS_INF; /* sqrt(+inf) = +inf */ \
} \
break; \
case FP_CLS_ZERO: \
R##_s = X##_s; \
R##_c = FP_CLS_ZERO; /* sqrt(+-0) = +-0 */ \
break; \
case FP_CLS_NORMAL: \
R##_s = 0; \
R##_s = 0; \
if (X##_s) \
{ \
R##_c = FP_CLS_NAN; /* NAN */ \
Expand All @@ -1022,7 +1022,7 @@ do { \
FP_SET_EXCEPTION(FP_EX_INVALID); \
break; \
} \
R##_c = FP_CLS_NORMAL; \
R##_c = FP_CLS_NORMAL; \
if (X##_e & 1) \
_FP_FRAC_SLL_##wc(X, 1); \
R##_e = X##_e >> 1; \
Expand Down
2 changes: 1 addition & 1 deletion stdio-common/printf_fphex.c
Expand Up @@ -384,7 +384,7 @@ __printf_fphex (FILE *fp,
{
wnumstr[cnt] = (wchar_t) info->spec;
numstr[cnt] = info->spec; /* This is tricky,
think about it! */
think about it! */
break;
}
else if (tolower (ch) < 'f')
Expand Down
2 changes: 1 addition & 1 deletion stdlib/strtod_l.c
Expand Up @@ -976,7 +976,7 @@ ____STRTOF_INTERNAL (nptr, endptr, group, loc)
/* The exponent is too large/small to represent a valid
number. */
{
FLOAT result;
FLOAT result;

/* We have to take care for special situation: a joker
might have written "0.0e100000" which is in fact
Expand Down
2 changes: 1 addition & 1 deletion sunrpc/rpc/clnt.h
Expand Up @@ -132,7 +132,7 @@ struct CLIENT {
struct clnt_ops {
enum clnt_stat (*cl_call) (CLIENT *, u_long, xdrproc_t, caddr_t, xdrproc_t,
caddr_t, struct timeval);
/* call remote procedure */
/* call remote procedure */
void (*cl_abort) (void); /* abort a call */
void (*cl_geterr) (CLIENT *, struct rpc_err *);
/* get specific error code */
Expand Down

0 comments on commit 350635a

Please sign in to comment.