[PATCH] IUTF8 added
Thorsten Kukuk
kukuk@suse.de
Wed Mar 31 00:16:00 GMT 2004
Hi,
Kernel 2.6.4 adds IUTF8 to asm-*/termbits.h.
Here is a patch which adds this define to glibc headers, too:
2004-03-30 Thorsten Kukuk <kukuk@suse.de>
* sysdeps/unix/sysv/linux/alpha/bits/termios.h: Add IUTF8.
* sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
--- sysdeps/unix/sysv/linux/alpha/bits/termios.h
+++ sysdeps/unix/sysv/linux/alpha/bits/termios.h 2004/03/30 15:19:25
@@ -77,6 +77,7 @@
# define IXANY 0004000
# define IUCLC 0010000
# define IMAXBEL 0020000
+# define IUTF8 0040000
#endif
/* c_oflag bits */
--- sysdeps/unix/sysv/linux/bits/termios.h
+++ sysdeps/unix/sysv/linux/bits/termios.h 2004/03/30 15:11:37
@@ -75,6 +75,7 @@
#define IXANY 0004000
#define IXOFF 0010000
#define IMAXBEL 0020000
+#define IUTF8 0040000
/* c_oflag bits */
#define OPOST 0000001
--- sysdeps/unix/sysv/linux/mips/bits/termios.h
+++ sysdeps/unix/sysv/linux/mips/bits/termios.h 2004/03/30 15:18:51
@@ -73,6 +73,7 @@
#define IXANY 0004000 /* Any character will restart after stop. */
#define IXOFF 0010000 /* Enable start/stop input control. */
#define IMAXBEL 0020000 /* Ring bell when input queue is full. */
+#define IUTF8 0040000 /* Input is UTF8. */
/* c_oflag bits */
#define OPOST 0000001 /* Perform output processing. */
--- sysdeps/unix/sysv/linux/powerpc/bits/termios.h
+++ sysdeps/unix/sysv/linux/powerpc/bits/termios.h 2004/03/30 15:24:27
@@ -79,6 +79,7 @@
#define IXANY 0004000
#define IUCLC 0010000
#define IMAXBEL 0020000
+#define IUTF8 0040000
/* c_oflag bits */
#define OPOST 0000001
--- sysdeps/unix/sysv/linux/sparc/bits/termios.h
+++ sysdeps/unix/sysv/linux/sparc/bits/termios.h 2004/03/30 15:23:57
@@ -73,6 +73,7 @@
#define IXANY 0x00000800
#define IXOFF 0x00001000
#define IMAXBEL 0x00002000
+#define IUTF8 0x00004000
/* c_oflag bits */
#define OPOST 0x00000001
--
Thorsten Kukuk http://www.suse.de/~kukuk/ kukuk@suse.de
SuSE Linux AG Maxfeldstr. 5 D-90409 Nuernberg
--------------------------------------------------------------------
Key fingerprint = A368 676B 5E1B 3E46 CFCE 2D97 F8FD 4E23 56C6 FB4B
More information about the Libc-hacker
mailing list