fhandler_tty_slave::tcflush() in fhandler_tty.cc

Vaclav Haisman V.Haisman@sh.cvut.cz
Fri Aug 5 13:01:00 GMT 2005

fhandler_tty_slave::tcflush() is IMHO still wrong. The result of comparison 
is bool and bool converted to int is either 1 or 0. The following patch 
should cure it.


2005-08-05  Vaclav Haisman  <v.haisman@sh.cvut.cz>

 * fhandler_tty.cc (fhandler_tty_slave::tcflush): Return either 0
 or -1.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fhandler_tty.cc.diff
Type: application/octet-stream
Size: 565 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20050805/9f78893c/attachment.obj>

More information about the Cygwin-patches mailing list