From: Ralph Corderoy Date: Wed, 22 Nov 2017 15:12:11 +0000 (+0000) Subject: fmttest.c: Clear output buffer after each write. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/1670e4d1af608291d93f02e74c57b6aef69a83ad?hp=1670e4d1af608291d93f02e74c57b6aef69a83ad fmttest.c: Clear output buffer after each write. 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. ---