From: Ronald Oussoren Date: Tue, 12 Dec 2023 12:57:45 +0000 (+0100) Subject: gh-51944: fix type and missing addition in gh-112823 (#112996) X-Git-Tag: v3.13.0a3~424 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f26bfe4b25f7e5a4f68fcac26207b7175abad208;p=thirdparty%2FPython%2Fcpython.git 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) --- diff --git a/Modules/termios.c b/Modules/termios.c index 1d97a3a27579..c4f0fd9d5004 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