remove prefix from base64 builtin
authorAndrey Rys <rys@lynxlynx.ru>
Sun, 28 Aug 2022 10:58:18 +0000 (12:58 +0200)
committerAndrey Rys <rys@lynxlynx.ru>
Sun, 28 Aug 2022 10:58:18 +0000 (12:58 +0200)
.gitignore
VERSION
tfc_error.c
tfcrypt.c

index 923d98738c063054981f79c7ad9eedc0509f322e..0215c7077acac8df298ac6fd10b748f155cb1cf0 100644 (file)
@@ -10,4 +10,4 @@ tfcrypt
 tfcrypt.upx
 sksum
 tfbench
-tfbase64
+base64
diff --git a/VERSION b/VERSION
index 1479e19b5fdf6c32d2eb41dad16203706f7d663d..69a893aa31141827125ddaaee26966b7aed3de74 100644 (file)
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-65
+66
index 2b50807f6071cedbafd386cb3bfcbda51967e0e5..6f994ef7daacc28d9bc675d6058386b2b478de44 100644 (file)
@@ -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");
index bad1d4372c1f55f9f30b2d6809a7687b1ad20325..cb126ae6d37a6b884fe4ca2a3ad536f1988eb72a 100644 (file)
--- 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;