]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-51944: fix type and missing addition in gh-112823 (#112996)
authorRonald Oussoren <ronaldoussoren@mac.com>
Tue, 12 Dec 2023 12:57:45 +0000 (13:57 +0100)
committerGitHub <noreply@github.com>
Tue, 12 Dec 2023 12:57:45 +0000 (13:57 +0100)
Fix the defition of VDSUSP and add CCTS_OFLOW (which
was mentioned in NEWS, but not actually addded)

Modules/termios.c

index 1d97a3a2757966fd9d709ea238c584d14ac79363..c4f0fd9d50044aa2085897de97793f6003a15ea0 100644 (file)
@@ -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