diff options
author | 2010-05-13 20:34:29 +0000 | |
---|---|---|
committer | 2010-05-13 20:34:29 +0000 | |
commit | 76e1f6750b14c432f7a1ddea7ef59980ea7155e7 (patch) | |
tree | 612c6b74c5d122b8ef556eaff8e137daacc739c0 /usr.bin/mandoc/man_validate.c | |
parent | Synchronise amd64 more with other PMAP_DIRECT architectures. (step 1, (diff) | |
download | wireguard-openbsd-76e1f6750b14c432f7a1ddea7ef59980ea7155e7.tar.xz wireguard-openbsd-76e1f6750b14c432f7a1ddea7ef59980ea7155e7.zip |
Remove the command line option -fno-ign-chars.
This option was not useful, you never want mandoc to die
just because there is an invalid character in the input file,
neither in production nor when linting: a warning is sufficient.
This was particularly annoying because it was part of -fstrict
and could not be switched off.
"less is more" kristaps@
Diffstat (limited to 'usr.bin/mandoc/man_validate.c')
-rw-r--r-- | usr.bin/mandoc/man_validate.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/usr.bin/mandoc/man_validate.c b/usr.bin/mandoc/man_validate.c index 66b5fc5248f..df27998d5a0 100644 --- a/usr.bin/mandoc/man_validate.c +++ b/usr.bin/mandoc/man_validate.c @@ -1,4 +1,4 @@ -/* $Id: man_validate.c,v 1.19 2010/04/25 16:32:19 schwarze Exp $ */ +/* $Id: man_validate.c,v 1.20 2010/05/13 20:34:29 schwarze Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se> * @@ -228,9 +228,7 @@ check_text(CHKARGS) if ('\t' == *p || isprint((u_char)*p)) continue; - if (MAN_IGN_CHARS & m->pflags) - return(man_pwarn(m, n->line, pos, WNPRINT)); - return(man_perr(m, n->line, pos, WNPRINT)); + return(man_pwarn(m, n->line, pos, WNPRINT)); } return(1); |