Skip to content
Prev 7929 / 63424 Next

try-error in batch and interactive mode (PR#1934)

This is caused by the call to

fflush(stdin)

in Rstd_FlushConsole() in src/unix/sys-std.c.  I've commented on that
before: fflush on an input stream is not defined on the Solaris help page,
and it appears to flush piped input.

I've removed the call.  If anyone knows what it was intended to accomplish,
please find another way to do it.
On Fri, 23 Aug 2002 jyan@stat.wisc.edu wrote: