This is the mail archive of the cygwin-patches mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

fhandler_tty_slave::tcflush() in fhandler_tty.cc


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.

VH


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


* fhandler_tty.cc (fhandler_tty_slave::tcflush): Return either 0
or -1.

Attachment: fhandler_tty.cc.diff
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]