Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2021-12-18 00:43:45 +0300
committerDenys Vlasenko <vda.linux@googlemail.com>2021-12-18 00:43:45 +0300
commitc1eac153e8b89cfc9d550991735c09bad1579201 (patch)
tree5210c619bb636be285ebda851aa9daa9cc9d97cf /editors
parentbfd8738154747d16f66ccfde3036dc21d39c7cec (diff)
cmp: code shrink
function old new delta .rodata 104203 104201 -2 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'editors')
-rw-r--r--editors/cmp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/editors/cmp.c b/editors/cmp.c
index 9eaff2b8e..6d2b0c6c3 100644
--- a/editors/cmp.c
+++ b/editors/cmp.c
@@ -36,7 +36,7 @@ static const char fmt_differ[] ALIGN1 = "%s %s differ: char %"OFF_FMT"u, line %u
// This fmt_l_opt uses gnu-isms. SUSv3 would be "%.0s%.0s%"OFF_FMT"u %o %o\n"
static const char fmt_l_opt[] ALIGN1 = "%.0s%.0s%"OFF_FMT"u %3o %3o\n";
-#define OPT_STR "sln:"
+#define OPT_STR "sln:+"
#define CMP_OPT_s (1<<0)
#define CMP_OPT_l (1<<1)
#define CMP_OPT_n (1<<2)
@@ -56,7 +56,7 @@ int cmp_main(int argc UNUSED_PARAM, char **argv)
opt = getopt32(argv, "^"
OPT_STR
- "\0" "-1:n+"
+ "\0" "-1"
IF_DESKTOP(":?4")
IF_NOT_DESKTOP(":?2")
":l--s:s--l",