From 0bd7aa51886d23c087ef9ba6ae382e37cf44543d Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Tue, 17 Feb 2004 00:53:50 +0000 Subject: [PATCH] getopt_long() returned 0 (i.e. long options) case not handled, add it (symptom: "bc --quiet" not works while "bc -q" works) --- contrib/bc/bc/main.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/contrib/bc/bc/main.c b/contrib/bc/bc/main.c index 71b46a6ceb53..4170bb58b874 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);