This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: "read" bug in Cygwin 1.5.16?
Christopher Faylor wrote:
> There was a problem with setting VMIN == VTIME == 0 on ttys/ptys. I've
> just checked in a fix. It will be in today's snapshot, when it shows
> up: http://cygwin.com/snapshots/ .
Peter Farley wrote:
> kbattr.c_cc[VMIN] = 0;
> kbattr.c_cc[VTIME] = 0;
If you're always using select() to read, you could set VMIN = 1 as a
workaround if you need to support versions of Cygwin prior to the above
fix.
Brian
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/