From: David Levine Date: Wed, 26 Dec 2012 01:25:43 +0000 (-0600) Subject: Removed call to fpurge() and its platform-specific emulations X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/4548a3ecc4248a1d4bd4fdd45d9a2bb1e61d1e70?hp=4548a3ecc4248a1d4bd4fdd45d9a2bb1e61d1e70 Removed call to fpurge() and its platform-specific emulations from discard.c. discard() is called on stdout from mhl(1) and msh(1) in interrupt handlers, and post(8) but only with -debug. tcflush() should do the purge when stdout is a terminal. If it's a file or pipe, well, maybe some garbage could get flushed out. And it's called on the streams that post uses to talk to its smtp server, so removed those calls because they no longer do anything. And removed LINUX_STDIO define from configure.ac. ---