summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRonald Oussoren <ronaldoussoren@mac.com>2023-12-12 12:57:45 (GMT)
committerGitHub <noreply@github.com>2023-12-12 12:57:45 (GMT)
commitf26bfe4b25f7e5a4f68fcac26207b7175abad208 (patch)
tree1b51ea9c6003ed7b2e1901f3ba21ce3f4659bc54
parent0c55f270604f8541bcf43526e5cf6c6eddfff451 (diff)
downloadcpython-f26bfe4b25f7e5a4f68fcac26207b7175abad208.zip
cpython-f26bfe4b25f7e5a4f68fcac26207b7175abad208.tar.gz
cpython-f26bfe4b25f7e5a4f68fcac26207b7175abad208.tar.bz2
gh-51944: fix type and missing addition in gh-112823 (#112996)
Fix the defition of VDSUSP and add CCTS_OFLOW (which was mentioned in NEWS, but not actually addded)
-rw-r--r--Modules/termios.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/Modules/termios.c b/Modules/termios.c
index 1d97a3a..c4f0fd9 100644
--- a/Modules/termios.c
+++ b/Modules/termios.c
@@ -840,6 +840,9 @@ static struct constant {
#ifdef CDSR_OFLOW
{"CDSR_OFLOW", CDSR_OFLOW},
#endif
+#ifdef CCTS_OFLOW
+ {"CCTS_OFLOW", CCTS_OFLOW},
+#endif
#ifdef CCAR_OFLOW
{"CCAR_OFLOW", CCAR_OFLOW},
#endif
@@ -912,7 +915,7 @@ static struct constant {
{"VSTOP", VSTOP},
{"VSUSP", VSUSP},
#ifdef VDSUSP
- {"VDSUSP", VREPRINT},
+ {"VDSUSP", VDSUSP},
#endif
{"VEOL", VEOL},
#ifdef VREPRINT