Commit Graph

14 Commits

Author SHA1 Message Date
Kim Woelders 2fe0428d92 Use struct termios in ttynvt_t and drop static one.
Also set termios on pty slave on init.
2018-10-17 08:11:03 +02:00
Kim Woelders af3c3d4162 Always set POLLOUT on slave poll 2018-10-17 08:11:03 +02:00
Kim Woelders 540ddd5659 Fix polling of pty slave 2018-10-17 08:11:03 +02:00
Kim Woelders 6dc40e44e2 Enable debug logging data too 2018-10-17 08:11:03 +02:00
Kim Woelders 08e7fb1d7e More debug 2018-10-17 08:11:03 +02:00
Kim Woelders d85251400f Optionally print debug to stdout 2018-10-17 08:11:03 +02:00
Kim Woelders e8913f62af Logging cleanups
- Consistently use %m instead of strerror(errno)
- Add some missing \n's
2018-10-17 08:11:03 +02:00
Kim Woelders 44ddf67386 Avoid (s)size_t for portability 2018-10-17 08:11:03 +02:00
Kim Woelders 2d993212c5 Cosmetics 2018-10-17 08:11:03 +02:00
Kim Woelders 00430e5f64 ttynvt version 0.11 v0.11 2018-10-04 09:38:24 +02:00
Kim Woelders 1ded3b11d2 ICS-664: Fix "cu problem"
In ttynvt_read(), the "interrupted" signal may be delivered after
installing the handler (fuse_req_interrupt_func()) but before calling
read().
If this happens the signal intended to be delivered while in the read()
function call (SIGUSR2) is handled before the read(), and we may hang
indefinitely.
2018-10-04 09:32:02 +02:00
Kim Woelders bf21ada8c7 Indent 2018-10-03 15:06:52 +02:00
Frank Rolsted Jensen e68e140ef0 ttynvt version 0.10 2018-09-12 14:04:23 +02:00
Frank Rolsted Jensen 02a2149c1f Add LICENSE 2018-06-07 11:37:24 +00:00