From 8c424c6f945abb7f24008a29feeaa4e1a65ecbb2 Mon Sep 17 00:00:00 2001 From: Ronald Oussoren Date: Tue, 12 Dec 2023 10:14:31 +0100 Subject: [PATCH] gh-51944: fix type and missing addition in gh-112823 Fix the defition of VDSUSP and CCTS_OFLOW (which was mentioned in NEWS, but not actually addded) --- Modules/termios.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Modules/termios.c b/Modules/termios.c index 1d97a3a2757966..c4f0fd9d50044a 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