[PROPOSED] zic: omit pre-2017c chatter unless -v
May 16, 2019
8:54 p.m.
* zic.c (byword): Put pre-2017c warnings in the same category as other pre-2015 etc. warnings: that is, output the warnings only if -v is given. --- zic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zic.c b/zic.c index 4bafe5d..5b932dc 100644 --- a/zic.c +++ b/zic.c @@ -3140,8 +3140,8 @@ byword(const char *word, const struct lookup *table) else return NULL; /* multiple inexact matches */ } - /* Warn about any backward-compatibility issue with pre-2017c zic. */ - if (foundlp) { + if (foundlp && noise) { + /* Warn about any backward-compatibility issue with pre-2017c zic. */ bool pre_2017c_match = false; for (lp = table; lp->l_word; lp++) if (itsabbr(word, lp->l_word)) { -- 2.21.0
2527
Age (days ago)
2527
Last active (days ago)
0 comments
1 participants
participants (1)
-
Paul Eggert