aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFelix Janda <felix.janda@posteo.de>2015-10-17 16:53:58 +0200
committerAleksander Morgado <aleksander@aleksander.es>2015-11-27 15:11:40 +0100
commit2a99bdfa00c8b26266049e2c760ec7705c0ae739 (patch)
treeccd4c747bae2dcf1f602bbfef74ff43a75126389 /src
parent3129516736bb6eb49458ece7df86f57fce51200e (diff)
Do not use obsolete XCASE terminal mode flag
The XCASE terminal mode flag because is no longer specified by POSIX and has no effect on linux. Because of the latter fact we can remove it. This fixes a compilation error with musl libc.
Diffstat (limited to 'src')
-rw-r--r--src/mm-port-serial.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mm-port-serial.c b/src/mm-port-serial.c
index 3af1b8e2..7dd25933 100644
--- a/src/mm-port-serial.c
+++ b/src/mm-port-serial.c
@@ -455,7 +455,7 @@ real_config_fd (MMPortSerial *self, int fd, GError **error)
stbuf.c_iflag &= ~(IGNCR | ICRNL | IUCLC | INPCK | IXON | IXANY );
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;