From 58cdca3984beb4e1019ef5ccf1dd7361f032a9a6 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sun, 28 Mar 2010 20:01:31 +0200 Subject: apply post-1.16.0 fixes, bump version to 1.16.1 Signed-off-by: Denys Vlasenko --- coreutils/md5_sha1_sum.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'coreutils/md5_sha1_sum.c') 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) unsigned flags; /*hash_algo_t hash_algo = applet_name[3];*/ - if (ENABLE_FEATURE_MD5_SHA1_SUM_CHECK) - flags = getopt32(argv, "scw"); + if (ENABLE_FEATURE_MD5_SHA1_SUM_CHECK) { + /* -b "binary", -t "text" are ignored (shaNNNsum compat) */ + flags = getopt32(argv, "scwbt"); + } else optind = 1; argv += optind; //argc -= optind; -- cgit v1.2.3-55-g6feb