reliable in clearing of RTS/CTS flags.
git-svn-id: svn://svn.tartarus.org/sgt/putty@6864
cda61777-01e9-0310-a592-
d414129be87e
logevent(serial->frontend, msg);
sfree(msg);
- options.c_cflag &= ~(IXON|IXOFF);
+ options.c_iflag &= ~(IXON|IXOFF);
+#ifdef CRTSCTS
+ options.c_cflag &= ~CRTSCTS;
+#endif
+#ifdef CNEW_RTSCTS
+ options.c_cflag &= ~CNEW_RTSCTS;
+#endif
if (cfg->serflow == SER_FLOW_XONXOFF) {
- options.c_cflag |= IXON | IXOFF;
+ options.c_iflag |= IXON | IXOFF;
str = "XON/XOFF";
} else if (cfg->serflow == SER_FLOW_RTSCTS) {
#ifdef CRTSCTS