fflush(NULL) empties stdin

Adam Dinwoodie adam@dinwoodie.org
Sun Aug 27 11:31:00 GMT 2017


On Sat, Aug 26, 2017 at 07:57:21PM -0400, Ken Brown wrote:
> On 8/26/2017 5:52 PM, Adam Dinwoodie wrote:
> >Hello,
> >
> >I seem to have found a bug in Cygwin's fflush implementation, where
> >fflush(NULL) is unexpectedly flushing stdin.
> 
> This has already been fixed.  Have you tried the latest snapshot?

Ah, so it has!  I'd tried the latest release, but not the latest
snapshot.

Thank you, and apologies for the noise!

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list