whitespace fixes. no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
30a8652fbf
commit
6830ade6aa
@ -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
|
||||
this printf did not work on many kernels */
|
||||
* this printf did not work on many kernels */
|
||||
|
||||
advice.advised_hashsize = 0;
|
||||
advice.advised_hashstep = 0;
|
||||
|
@ -110,8 +110,8 @@ int df_main(int argc UNUSED_PARAM, char **argv)
|
||||
df_disp_hr = xatoul_range(chp, 1, ULONG_MAX); /* disallow 0 */
|
||||
|
||||
/* From the manpage of df from coreutils-6.10:
|
||||
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.
|
||||
* 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.
|
||||
*/
|
||||
if (getenv("POSIXLY_CORRECT")) /* TODO - a new libbb function? */
|
||||
df_disp_hr = 512;
|
||||
|
@ -219,7 +219,7 @@ static int compare_keys(const void *xarg, const void *yarg)
|
||||
y = get_key(*(char **)yarg, key, flags);
|
||||
#else
|
||||
/* 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;
|
||||
y = *(char **)yarg;
|
||||
|
@ -94,8 +94,8 @@ int sum_main(int argc UNUSED_PARAM, char **argv)
|
||||
n = sum_file("-", type);
|
||||
} else {
|
||||
/* Need to print the name if either
|
||||
- more than one file given
|
||||
- doing sysv */
|
||||
* - more than one file given
|
||||
* - doing sysv */
|
||||
type += (argv[1] || type == SUM_SYSV);
|
||||
n = 1;
|
||||
do {
|
||||
|
@ -59,7 +59,7 @@ unsigned type FAST_FUNC xstrtou(_range_sfx)(const char *numstr, int base,
|
||||
}
|
||||
|
||||
/* 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)
|
||||
goto inval;
|
||||
chk_range:
|
||||
|
@ -709,9 +709,9 @@ static void print_found(const char *line)
|
||||
/* buf[] holds quarantined version of str */
|
||||
|
||||
/* Each part of the line that matches has the HIGHLIGHT
|
||||
and NORMAL escape sequences placed around it.
|
||||
NB: we regex against line, but insert text
|
||||
from quarantined copy (buf[]) */
|
||||
* and NORMAL escape sequences placed around it.
|
||||
* NB: we regex against line, but insert text
|
||||
* from quarantined copy (buf[]) */
|
||||
str = buf;
|
||||
growline = NULL;
|
||||
eflags = 0;
|
||||
|
@ -70,7 +70,7 @@ static void resuse_end(pid_t pid, resource_t *resp)
|
||||
pid_t caught;
|
||||
|
||||
/* 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) {
|
||||
if (caught == -1 && errno != EINTR) {
|
||||
bb_perror_msg("wait");
|
||||
|
@ -8281,7 +8281,7 @@ static int FAST_FUNC builtin_exit(char **argv)
|
||||
* (if there are _stopped_ jobs, running ones don't count)
|
||||
* # exit
|
||||
* exit
|
||||
# EEE (then bash exits)
|
||||
* EEE (then bash exits)
|
||||
*
|
||||
* TODO: we can use G.exiting = -1 as indicator "last cmd was exit"
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user