diff --git a/mitogen/master.py b/mitogen/master.py index 9af10657..37829e41 100644 --- a/mitogen/master.py +++ b/mitogen/master.py @@ -135,6 +135,9 @@ def cfmakeraw(tflags): cflag &= ~flags('CSIZE PARENB') cflag |= flags('CS8') + # TODO: one or more of the above bit twiddles sets or omits a necessary + # flag. Forcing these fields to zero, as shown below, gets us what we want + # on Linux/OS X, but it is possibly broken on some other OS. iflag = 0 oflag = 0 lflag = 0