mirror of
https://github.com/python/cpython.git
synced 2025-10-21 14:12:27 +00:00
Fix operator priority bug found thanks to gcc -Wall.
This commit is contained in:
parent
e29ed8fa7c
commit
36dd0d27c4
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ termios_tcgetattr(self, args)
|
||||||
/* Convert the MIN and TIME slots to integer. On some systems, the
|
/* Convert the MIN and TIME slots to integer. On some systems, the
|
||||||
MIN and TIME slots are the same as the EOF and EOL slots. So we
|
MIN and TIME slots are the same as the EOF and EOL slots. So we
|
||||||
only do this in noncanonical input mode. */
|
only do this in noncanonical input mode. */
|
||||||
if (mode.c_lflag & ICANON == 0) {
|
if ((mode.c_lflag & ICANON) == 0) {
|
||||||
v = PyInt_FromLong((long)mode.c_cc[VMIN]);
|
v = PyInt_FromLong((long)mode.c_cc[VMIN]);
|
||||||
if (v == NULL)
|
if (v == NULL)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue