master: add comment

This commit is contained in:
David Wilson 2017-11-28 13:42:10 +05:30
parent bbcfc585a8
commit 247f50e08d
1 changed files with 3 additions and 0 deletions

View File

@ -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