diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2022-08-30 17:41:17 +0300 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2022-08-30 17:41:17 +0300 |
commit | fe73c8d55795a8fe7e95fc2c00af6899817b96b8 (patch) | |
tree | 1b772243f00c63d16ee4cf8bf6f80a6c7a53ee91 /coreutils | |
parent | 58598eb7093561d914a6254697e137b815f1fdfc (diff) |
*: style fix
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils')
-rw-r--r-- | coreutils/cut.c | 2 | ||||
-rw-r--r-- | coreutils/test.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/cut.c b/coreutils/cut.c index 7009e74cf..55bdd9386 100644 --- a/coreutils/cut.c +++ b/coreutils/cut.c @@ -167,7 +167,7 @@ static void cut_file(FILE *file, const char *delim, const char *odelim, if (!cl_pos && !dcount && !shoe) { if (option_mask32 & CUT_OPT_SUPPRESS_FLGS) goto next_line; - } else if (dcount<cut_lists[cl_pos].startpos) + } else if (dcount < cut_lists[cl_pos].startpos) start = linelen; end = linelen; } else { diff --git a/coreutils/test.c b/coreutils/test.c index 840a0daaf..1d1e6d18b 100644 --- a/coreutils/test.c +++ b/coreutils/test.c @@ -859,7 +859,7 @@ static number_t primary(enum token n) if (check_operator(args[1]) != EOI) { /* if args[1] != NULL */ if (args[2]) { // coreutils also does this: - // if (args[3] && args[0]="-l" && args[2] is BINOP) + // if (args[3] && args[0] = "-l" && args[2] is BINOP) // return binop(1 /* prepended by -l */); if (last_operator->op_type == BINOP) unnest_msg_and_return(binop(), "<primary: binop:%lld\n"); |