From f19b128a9a0d1ee4a1afe581d877e97cfd84a803 Mon Sep 17 00:00:00 2001 From: Andrey Rys Date: Sun, 28 Aug 2022 12:58:18 +0200 Subject: [PATCH] remove prefix from base64 builtin --- .gitignore | 2 +- VERSION | 2 +- tfc_error.c | 2 +- tfcrypt.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 923d987..0215c70 100644 --- a/.gitignore +++ b/.gitignore @@ -10,4 +10,4 @@ tfcrypt tfcrypt.upx sksum tfbench -tfbase64 +base64 diff --git a/VERSION b/VERSION index 1479e19..69a893a 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -65 +66 diff --git a/tfc_error.c b/tfc_error.c index 2b50807..6f994ef 100644 --- a/tfc_error.c +++ b/tfc_error.c @@ -200,7 +200,7 @@ void usage(void) tfc_say("them is specified as \"-\", then reads are performed from stdin."); tfc_say("\n"); } - else if (!strcmp(progname, "tfbase64")) { + else if (!strcmp(progname, "base64")) { is_embedded_prog = YES; tfc_say("usage: %s [-ed] [source] [output]", progname); tfc_say("\n"); diff --git a/tfcrypt.c b/tfcrypt.c index bad1d43..cb126ae 100644 --- a/tfcrypt.c +++ b/tfcrypt.c @@ -770,7 +770,7 @@ _mkragain: lio = xread(mkfd, pblk, lrem); || !memcmp(progname+5, "sum", 3) || !memcmp(progname+6, "sum", 3))))) do_sksum(progname, argv+optind); - if (!strcmp(progname, "tfbase64")) do_edbase64(argv+optind); + if (!strcmp(progname, "base64")) do_edbase64(argv+optind); idx = optind; -- 2.31.1