diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2022-01-07 00:19:42 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2022-01-07 00:23:05 +0100 |
commit | d5b0046e3ddf8ea82a3eff74068b8fd2665b98db (patch) | |
tree | e8349eccffd4adda9e8247b15b2ff4f09ddf4b0a /sysdeps/generic | |
parent | e5fa62b8db546f8792ec9e5c61e6419f4f8e3f4d (diff) | |
download | glibc-d5b0046e3ddf8ea82a3eff74068b8fd2665b98db.tar.gz glibc-d5b0046e3ddf8ea82a3eff74068b8fd2665b98db.tar.xz glibc-d5b0046e3ddf8ea82a3eff74068b8fd2665b98db.zip |
ttydefaults.h: Fix CSTATUS to control-t
4.4BSD actually defaults CSTATUS to control-t, so our generic header should as well.
Diffstat (limited to 'sysdeps/generic')
-rw-r--r-- | sysdeps/generic/sys/ttydefaults.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sysdeps/generic/sys/ttydefaults.h b/sysdeps/generic/sys/ttydefaults.h index 683dc8d805..41e691c4f8 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, ^\ */ |