]> diplodocus.org Git - nmh/commit
Replaced !iscntrl() with isprint().
authorDavid Levine <levinedl@acm.org>
Thu, 8 Dec 2016 21:27:40 +0000 (16:27 -0500)
committerDavid Levine <levinedl@acm.org>
Thu, 8 Dec 2016 21:31:13 +0000 (16:31 -0500)
commit71807b3575bb312a3b650ce7091b02f0285b9aab
tree4cbe3ed88a94b0b387403f79166df96bd1d29b76
parent23a86ab2694137798812fd291f0ef1741b9cfcaf
Replaced !iscntrl() with isprint().

To address Ralph's FIXME comment.  One example where a byte would
have been printed with !iscntrl() is 0x24 is ISO 646 BASIC (Inv),
which is undefined.  Also, added test cases to cover most of
get_param_value().  Also, replaced a couple of other FIXME's with
code comments.
sbr/error.c
test/mhshow/test-charset
tools/showbuildenv
uip/mhparse.c