about summary refs log tree commit diff
path: root/sysdeps/generic
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2022-01-07 00:19:42 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2022-01-07 00:23:05 +0100
commitd5b0046e3ddf8ea82a3eff74068b8fd2665b98db (patch)
treee8349eccffd4adda9e8247b15b2ff4f09ddf4b0a /sysdeps/generic
parente5fa62b8db546f8792ec9e5c61e6419f4f8e3f4d (diff)
downloadglibc-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.h6
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, ^\ */