]> diplodocus.org Git - nmh/commit
OK, fixed test-mhfixmsg on Solaris 11, where BUFSIZ is 1024.
authorDavid Levine <levinedl@acm.org>
Sun, 30 Jun 2013 23:50:50 +0000 (18:50 -0500)
committerDavid Levine <levinedl@acm.org>
Sun, 30 Jun 2013 23:50:50 +0000 (18:50 -0500)
commit479301db377df555594b72bbaae3be9d640e3e02
tree83815fa891e47069e9820a924bce2e0df332970b
parent555dd3ce3b55f3af9469bd531397138d3ecf08d4
OK, fixed test-mhfixmsg on Solaris 11, where BUFSIZ is 1024.
The problem was in the content_encoding() function of mhfixmsg:
it would restart its counter of the characters on a line whenever
new characters were read in.  The fix was easy, just move the
initialization of that counter outside of the fread() loop.
test/mhfixmsg/test-mhfixmsg
uip/mhfixmsg.c