From: Samuel Thibault Date: Thu, 6 Jan 2022 23:19:42 +0000 (+0100) Subject: ttydefaults.h: Fix CSTATUS to control-t X-Git-Tag: glibc-2.35~121 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d5b0046e3ddf8ea82a3eff74068b8fd2665b98db;p=thirdparty%2Fglibc.git ttydefaults.h: Fix CSTATUS to control-t 4.4BSD actually defaults CSTATUS to control-t, so our generic header should as well. --- diff --git a/sysdeps/generic/sys/ttydefaults.h b/sysdeps/generic/sys/ttydefaults.h index 683dc8d805c..41e691c4f8d 100644 --- a/sysdeps/generic/sys/ttydefaults.h +++ b/sysdeps/generic/sys/ttydefaults.h @@ -61,11 +61,7 @@ #endif #define CERASE 0177 #define CINTR CTRL('c') -#ifdef _POSIX_VDISABLE -# define CSTATUS _POSIX_VDISABLE -#else -# define CSTATUS ((unsigned char)'\377') /* XXX avoid _POSIX_VDISABLE */ -#endif +#define CSTATUS CTRL('t') #define CKILL CTRL('u') #define CMIN 1 #define CQUIT 034 /* FS, ^\ */