diff options
author | Stanislav Brabec | 2015-05-14 17:55:56 +0200 |
---|---|---|
committer | Karel Zak | 2015-05-15 12:56:46 +0200 |
commit | 8fdc064ac3a0b302d8a90f1d80b2feb89ad7f064 (patch) | |
tree | 5a281fe37a5666a998cf673020643ca7f5499136 /include/strv.h | |
parent | Merge branch 'test-fixes' of https://github.com/rudimeier/util-linux (diff) | |
download | kernel-qcow2-util-linux-8fdc064ac3a0b302d8a90f1d80b2feb89ad7f064.tar.gz kernel-qcow2-util-linux-8fdc064ac3a0b302d8a90f1d80b2feb89ad7f064.tar.xz kernel-qcow2-util-linux-8fdc064ac3a0b302d8a90f1d80b2feb89ad7f064.zip |
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>
Diffstat (limited to 'include/strv.h')
0 files changed, 0 insertions, 0 deletions