util-linux/term-utils
Stanislav Brabec 8fdc064ac3 script: Fix mangled EOF and hang on big endian
On s390 and other big endian machines, doinput() sends NUL instead of
EOF to the tty master. NUL does not even reach the slave, and it is
waiting for more data forever.

If STDIN is not a tty, the bug caused "^@" being into the log, and since
commit 032228c it also causes hang.

Signed-off-by: Stanislav Brabec <sbrabec@suse.cz>
2015-05-15 12:56:46 +02:00
..
Makemodule.am build-sys: use -lutil for BSD only 2014-09-17 10:56:46 +02:00
agetty.8 agetty: support /usr/lib/os-release too 2015-03-05 12:25:28 +01:00
agetty.c agetty: reload issue on --autologin --login-pause too 2015-03-09 12:45:52 +01:00
mesg.1 docs: bring a few more man pages closer to standard formatting 2014-07-16 12:03:25 +02:00
mesg.c rpmatch: use symbolic value when evaluation return codes 2015-02-24 12:42:06 +01:00
reset reset: make scripts bourne sh compliant [checkbashisms] 2012-03-30 16:48:12 +02:00
reset.1 docs: bring a few more man pages closer to standard formatting 2014-07-16 12:03:25 +02:00
reset.033c reset: make scripts bourne sh compliant [checkbashisms] 2012-03-30 16:48:12 +02:00
script.1 script.1: Improve documentation of non-interactive behavior 2015-02-16 10:49:36 +01:00
script.c script: Fix mangled EOF and hang on big endian 2015-05-15 12:56:46 +02:00
scriptreplay.1 docs: fix some spelling errors and typos in man pages 2015-02-27 14:48:56 +01:00
scriptreplay.c textual: add a docstring to most of the utilities 2015-01-06 11:27:38 +01:00
setterm.1 docs: restore minus symbols in long opts 2015-01-20 18:15:30 -05:00
setterm.c lib/strutils: extend parse_switch() to accept more options 2015-02-24 12:04:22 +01:00
ttymsg.c term-utils: avoid error message string length couting errors 2014-05-12 13:37:35 +02:00
ttymsg.h ttymsg: fix compiler warnings and use EXIT_ 2011-04-12 11:19:15 +02:00
wall.1 docs: remove obsolete and unneeded comments from man-page files 2015-01-12 11:03:26 +01:00
wall.c wall: do not use a temporary file. 2015-04-03 11:44:24 +02:00
write.1 docs: remove obsolete and unneeded comments from man-page files 2015-01-12 11:03:26 +01:00
write.c textual: add a docstring to most of the utilities 2015-01-06 11:27:38 +01:00