summaryrefslogtreecommitdiffstats
path: root/contrib/bc
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2004-02-17 00:53:50 +0000
committerache <ache@FreeBSD.org>2004-02-17 00:53:50 +0000
commit164b34122a3e838f43d2a95355d1922b7b3efc6d (patch)
treeb1f0d554c1decb6e6e5553f76136b05773fe3789 /contrib/bc
parent3ae5306cbc7344c3fae786db46d92a0fc16fa094 (diff)
downloadFreeBSD-src-164b34122a3e838f43d2a95355d1922b7b3efc6d.zip
FreeBSD-src-164b34122a3e838f43d2a95355d1922b7b3efc6d.tar.gz
getopt_long() returned 0 (i.e. long options) case not handled, add it
(symptom: "bc --quiet" not works while "bc -q" works)
Diffstat (limited to 'contrib/bc')
-rw-r--r--contrib/bc/bc/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/bc/bc/main.c b/contrib/bc/bc/main.c
index 71b46a6..4170bb5 100644
--- a/contrib/bc/bc/main.c
+++ b/contrib/bc/bc/main.c
@@ -129,6 +129,10 @@ parse_args (argc, argv)
warn_not_std = TRUE;
break;
+ case 0:
+ /* long options */
+ break;
+
default:
usage(argv[0]);
exit (1);
OpenPOWER on IntegriCloud