]> diplodocus.org Git - nmh/commit
Removed call to fpurge() and its platform-specific emulations
authorDavid Levine <levinedl@acm.org>
Wed, 26 Dec 2012 01:25:43 +0000 (19:25 -0600)
committerDavid Levine <levinedl@acm.org>
Wed, 26 Dec 2012 01:25:43 +0000 (19:25 -0600)
commit4548a3ecc4248a1d4bd4fdd45d9a2bb1e61d1e70
tree1e6018aa15b096d8852da004e29d62d73dc69af7
parent9db3474c4cfc16b01d132e03ddf2c91b8db8b594
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.
configure.ac
mts/smtp/smtp.c
sbr/discard.c