[hurd,commited] ttydefaults.h: Fix CSTATUS to control-t

Samuel Thibault samuel.thibault@ens-lyon.org
Thu Jan 6 23:23:43 GMT 2022


4.4BSD actually defaults CSTATUS to control-t, so our generic header should
as well.
---
 sysdeps/generic/sys/ttydefaults.h | 6 +-----
 1 file changed, 1 insertion(+), 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, ^\ */
-- 
2.34.1



More information about the Libc-alpha mailing list