]> diplodocus.org Git - nmh/commitdiff
fmttest.c: Clear output buffer after each write.
authorRalph Corderoy <ralph@inputplus.co.uk>
Wed, 22 Nov 2017 15:12:11 +0000 (15:12 +0000)
committerRalph Corderoy <ralph@inputplus.co.uk>
Wed, 22 Nov 2017 15:14:29 +0000 (15:14 +0000)
Otherwise each write outputs the whole buffer again, including what's
already appeared.  Instead of the three lines 1, 2, 3, one sees 1, 1, 2,
1, 2, 3.


No differences found