summaryrefslogtreecommitdiff
path: root/package/network/utils/comgt/patches/003-no_XCASE.patch
blob: f2060a828821e70fad1f3dc12a9070f9c1e928a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- a/comgt.c
+++ b/comgt.c
@@ -1281,7 +1281,7 @@ void opengt(void) {
   parity=stbuf.c_cflag & (PARENB | PARODD);
   stbuf.c_iflag &= ~(IGNCR | ICRNL | IUCLC | INPCK | IXON | IXANY | IGNPAR );
   stbuf.c_oflag &= ~(OPOST | OLCUC | OCRNL | ONLCR | ONLRET);
-  stbuf.c_lflag &= ~(ICANON | XCASE | ECHO | ECHOE | ECHONL);
+  stbuf.c_lflag &= ~(ICANON | ECHO | ECHOE | ECHONL);
   stbuf.c_lflag &= ~(ECHO | ECHOE);
   stbuf.c_cc[VMIN] = 1;
   stbuf.c_cc[VTIME] = 0;
@@ -1336,7 +1336,7 @@ void opendevice(void) {
   parity=stbuf.c_cflag & (PARENB | PARODD);
   stbuf.c_iflag &= ~(IGNCR | ICRNL | IUCLC | INPCK | IXON | IXANY | IGNPAR );
   stbuf.c_oflag &= ~(OPOST | OLCUC | OCRNL | ONLCR | ONLRET);
-  stbuf.c_lflag &= ~(ICANON | XCASE | ECHO | ECHOE | ECHONL);
+  stbuf.c_lflag &= ~(ICANON | ECHO | ECHOE | ECHONL);
   stbuf.c_lflag &= ~(ECHO | ECHOE);
   stbuf.c_cc[VMIN] = 1;
   stbuf.c_cc[VTIME] = 0;