whitespace fixes. no code changes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2013-01-15 13:58:01 +01:00
parent 30a8652fbf
commit 6830ade6aa
20 changed files with 75 additions and 75 deletions

View File

@ -229,7 +229,7 @@ static void do_loadtable(int fd, unsigned char *inbuf, int tailsz, int fontsize,
} }
/* Note: after PIO_UNIMAPCLR and before PIO_UNIMAP /* Note: after PIO_UNIMAPCLR and before PIO_UNIMAP
this printf did not work on many kernels */ * this printf did not work on many kernels */
advice.advised_hashsize = 0; advice.advised_hashsize = 0;
advice.advised_hashstep = 0; advice.advised_hashstep = 0;

View File

@ -110,8 +110,8 @@ int df_main(int argc UNUSED_PARAM, char **argv)
df_disp_hr = xatoul_range(chp, 1, ULONG_MAX); /* disallow 0 */ df_disp_hr = xatoul_range(chp, 1, ULONG_MAX); /* disallow 0 */
/* From the manpage of df from coreutils-6.10: /* From the manpage of df from coreutils-6.10:
Disk space is shown in 1K blocks by default, unless the environment * Disk space is shown in 1K blocks by default, unless the environment
variable POSIXLY_CORRECT is set, in which case 512-byte blocks are used. * variable POSIXLY_CORRECT is set, in which case 512-byte blocks are used.
*/ */
if (getenv("POSIXLY_CORRECT")) /* TODO - a new libbb function? */ if (getenv("POSIXLY_CORRECT")) /* TODO - a new libbb function? */
df_disp_hr = 512; df_disp_hr = 512;

View File

@ -219,7 +219,7 @@ static int compare_keys(const void *xarg, const void *yarg)
y = get_key(*(char **)yarg, key, flags); y = get_key(*(char **)yarg, key, flags);
#else #else
/* This curly bracket serves no purpose but to match the nesting /* This curly bracket serves no purpose but to match the nesting
level of the for () loop we're not using */ * level of the for () loop we're not using */
{ {
x = *(char **)xarg; x = *(char **)xarg;
y = *(char **)yarg; y = *(char **)yarg;

View File

@ -94,8 +94,8 @@ int sum_main(int argc UNUSED_PARAM, char **argv)
n = sum_file("-", type); n = sum_file("-", type);
} else { } else {
/* Need to print the name if either /* Need to print the name if either
- more than one file given * - more than one file given
- doing sysv */ * - doing sysv */
type += (argv[1] || type == SUM_SYSV); type += (argv[1] || type == SUM_SYSV);
n = 1; n = 1;
do { do {

View File

@ -59,7 +59,7 @@ unsigned type FAST_FUNC xstrtou(_range_sfx)(const char *numstr, int base,
} }
/* Note: trailing space is an error. /* Note: trailing space is an error.
It would be easy enough to allow though if desired. */ * It would be easy enough to allow though if desired. */
if (*e) if (*e)
goto inval; goto inval;
chk_range: chk_range:

View File

@ -709,9 +709,9 @@ static void print_found(const char *line)
/* buf[] holds quarantined version of str */ /* buf[] holds quarantined version of str */
/* Each part of the line that matches has the HIGHLIGHT /* Each part of the line that matches has the HIGHLIGHT
and NORMAL escape sequences placed around it. * and NORMAL escape sequences placed around it.
NB: we regex against line, but insert text * NB: we regex against line, but insert text
from quarantined copy (buf[]) */ * from quarantined copy (buf[]) */
str = buf; str = buf;
growline = NULL; growline = NULL;
eflags = 0; eflags = 0;

View File

@ -70,7 +70,7 @@ static void resuse_end(pid_t pid, resource_t *resp)
pid_t caught; pid_t caught;
/* Ignore signals, but don't ignore the children. When wait3 /* Ignore signals, but don't ignore the children. When wait3
returns the child process, set the time the command finished. */ * returns the child process, set the time the command finished. */
while ((caught = wait3(&resp->waitstatus, 0, &resp->ru)) != pid) { while ((caught = wait3(&resp->waitstatus, 0, &resp->ru)) != pid) {
if (caught == -1 && errno != EINTR) { if (caught == -1 && errno != EINTR) {
bb_perror_msg("wait"); bb_perror_msg("wait");

View File

@ -8281,7 +8281,7 @@ static int FAST_FUNC builtin_exit(char **argv)
* (if there are _stopped_ jobs, running ones don't count) * (if there are _stopped_ jobs, running ones don't count)
* # exit * # exit
* exit * exit
# EEE (then bash exits) * EEE (then bash exits)
* *
* TODO: we can use G.exiting = -1 as indicator "last cmd was exit" * TODO: we can use G.exiting = -1 as indicator "last cmd was exit"
*/ */