aboutsummaryrefslogtreecommitdiff
path: root/coreutils/md5_sha1_sum.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-03-28 20:01:31 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2010-03-28 20:01:31 +0200
commit58cdca3984beb4e1019ef5ccf1dd7361f032a9a6 (patch)
tree922928fdb79cbdb6a02ffbeab7948c03ad501656 /coreutils/md5_sha1_sum.c
parente52b735231bda70d811e4f9ef0e21fb2c7af96a2 (diff)
downloadbusybox-w32-1_16_1.tar.gz
busybox-w32-1_16_1.tar.bz2
busybox-w32-1_16_1.zip
apply post-1.16.0 fixes, bump version to 1.16.11_16_1
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils/md5_sha1_sum.c')
-rw-r--r--coreutils/md5_sha1_sum.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/coreutils/md5_sha1_sum.c b/coreutils/md5_sha1_sum.c
index a64026d3d..3d50bb0f5 100644
--- a/coreutils/md5_sha1_sum.c
+++ b/coreutils/md5_sha1_sum.c
@@ -101,8 +101,10 @@ int md5_sha1_sum_main(int argc UNUSED_PARAM, char **argv)
101 unsigned flags; 101 unsigned flags;
102 /*hash_algo_t hash_algo = applet_name[3];*/ 102 /*hash_algo_t hash_algo = applet_name[3];*/
103 103
104 if (ENABLE_FEATURE_MD5_SHA1_SUM_CHECK) 104 if (ENABLE_FEATURE_MD5_SHA1_SUM_CHECK) {
105 flags = getopt32(argv, "scw"); 105 /* -b "binary", -t "text" are ignored (shaNNNsum compat) */
106 flags = getopt32(argv, "scwbt");
107 }
106 else optind = 1; 108 else optind = 1;
107 argv += optind; 109 argv += optind;
108 //argc -= optind; 110 //argc -= optind;