whitespace fixes. no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
@@ -43,7 +43,7 @@ static const unsigned char days_in_month[] ALIGN1 = {
|
||||
};
|
||||
|
||||
static const unsigned char sep1752[] ALIGN1 = {
|
||||
1, 2, 14, 15, 16,
|
||||
1, 2, 14, 15, 16,
|
||||
17, 18, 19, 20, 21, 22, 23,
|
||||
24, 25, 26, 27, 28, 29, 30
|
||||
};
|
||||
@@ -183,7 +183,7 @@ int cal_main(int argc UNUSED_PARAM, char **argv)
|
||||
center(lineout,
|
||||
(WEEK_LEN * 3 + HEAD_SEP * 2)
|
||||
+ julian * (J_WEEK_LEN * 2 + HEAD_SEP
|
||||
- (WEEK_LEN * 3 + HEAD_SEP * 2)),
|
||||
- (WEEK_LEN * 3 + HEAD_SEP * 2)),
|
||||
0
|
||||
);
|
||||
puts("\n"); /* two \n's */
|
||||
|
||||
@@ -126,8 +126,8 @@ int chown_main(int argc UNUSED_PARAM, char **argv)
|
||||
/* This matches coreutils behavior (almost - see below) */
|
||||
param.chown_func = chown;
|
||||
if (OPT_NODEREF
|
||||
/* || (OPT_RECURSE && !OPT_TRAVERSE_TOP): */
|
||||
IF_DESKTOP( || (opt & (BIT_RECURSE|BIT_TRAVERSE_TOP)) == BIT_RECURSE)
|
||||
/* || (OPT_RECURSE && !OPT_TRAVERSE_TOP): */
|
||||
IF_DESKTOP( || (opt & (BIT_RECURSE|BIT_TRAVERSE_TOP)) == BIT_RECURSE)
|
||||
) {
|
||||
param.chown_func = lchown;
|
||||
}
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user