Page MenuHomeFreeBSD

D44525.diff
No OneTemporary

D44525.diff

diff --git a/sys/compat/linux/linux_ioctl.h b/sys/compat/linux/linux_ioctl.h
--- a/sys/compat/linux/linux_ioctl.h
+++ b/sys/compat/linux/linux_ioctl.h
@@ -462,6 +462,7 @@
#define LINUX_IXOFF 0x0001000
#define LINUX_IMAXBEL 0x0002000
+#define LINUX_IUTF8 0x0004000
/* Linux c_oflag masks */
#define LINUX_OPOST 0x0000001
diff --git a/sys/compat/linux/linux_ioctl.c b/sys/compat/linux/linux_ioctl.c
--- a/sys/compat/linux/linux_ioctl.c
+++ b/sys/compat/linux/linux_ioctl.c
@@ -421,6 +421,8 @@
lios->c_iflag |= LINUX_IXOFF;
if (bios->c_iflag & IMAXBEL)
lios->c_iflag |= LINUX_IMAXBEL;
+ if (bios->c_iflag & IUTF8)
+ lios->c_iflag |= LINUX_IUTF8;
lios->c_oflag = 0;
if (bios->c_oflag & OPOST)
@@ -538,6 +540,8 @@
bios->c_iflag |= IXOFF;
if (lios->c_iflag & LINUX_IMAXBEL)
bios->c_iflag |= IMAXBEL;
+ if (lios->c_iflag & LINUX_IUTF8)
+ bios->c_iflag |= IUTF8;
bios->c_oflag = 0;
if (lios->c_oflag & LINUX_OPOST)

File Metadata

Mime Type
text/plain
Expires
Sun, Jan 19, 6:34 PM (19 h, 42 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14301888
Default Alt Text
D44525.diff (950 B)

Event Timeline