From: Jim Meyering Date: Sun, 14 Sep 1997 16:03:58 +0000 (+0000) Subject: (main) [--traditional]: Don't give diagnostic about there X-Git-Tag: TEXTUTILS-1_22a~61 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9aef26e3d0b93d29c3ada008438bde5fee41a788;p=platform%2Fupstream%2Fcoreutils.git (main) [--traditional]: Don't give diagnostic about there being more than three arguments if there are *no* arguments specified. Reported by Jochen Hein. --- diff --git a/src/od.c b/src/od.c index 24af841..cf30b76 100644 --- a/src/od.c +++ b/src/od.c @@ -28,7 +28,7 @@ #include "error.h" #if defined(__GNUC__) || defined(STDC_HEADERS) -#include +# include #endif #ifdef HAVE_LONG_DOUBLE @@ -1851,7 +1851,7 @@ the maximum\nrepresentable value of type `long'"), optarg); usage (1); } } - else + else if (n_files > 3) { error (0, 0, _("in compatibility mode there may be no more than 3 arguments"));