1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/dist
Joakim Nohlgård 369267863c ethos: Avoid EOF loops on detached stdin
Add a specific case of EOF on stdin to avoid situations where the
message `error reading from stdio. res=0` is repeated forever if stdin
is not a terminal. When ethos is started as a background process with
stdin redirected to /dev/null, e.g. `ethos ... < /dev/null &`, then
reading stdin will always result in a 0 length read (EOF).
If stdin is a tty we close the program on EOF (CTRL+D in the terminal),
otherwise, we stop reading from stdin after EOF was reached, but
continue tunneling traffic as usual.
2018-01-24 08:54:40 +01:00
..
testbed-support dist: make: iotlab: use target specific var assignment 2017-11-20 00:46:31 +01:00
tools ethos: Avoid EOF loops on detached stdin 2018-01-24 08:54:40 +01:00
ar-wrapper make: OSX: don't fail for empty .a archives 2014-06-24 20:29:32 +02:00
empty.a make: OSX: don't fail for empty .a archives 2014-06-24 20:29:32 +02:00
gdbinit-docker Makefile.include: Add docker target. 2015-04-24 16:03:52 +02:00
Makefile dist: adapt DEVELHELP switch 2017-11-28 10:51:50 +01:00