summaryrefslogtreecommitdiffstats
path: root/secure/usr.sbin
diff options
context:
space:
mode:
authortrociny <trociny@FreeBSD.org>2011-10-15 19:08:22 +0000
committertrociny <trociny@FreeBSD.org>2011-10-15 19:08:22 +0000
commit5edcf5899db7cc6cdce03abaa26bda3fadf4548a (patch)
tree1e1f6ecd10cf7a74d4aaef9b1144ec2a7bd197dc /secure/usr.sbin
parent5bfe25432f47fc51db50d501a15474b6dadf73af (diff)
downloadFreeBSD-src-5edcf5899db7cc6cdce03abaa26bda3fadf4548a.zip
FreeBSD-src-5edcf5899db7cc6cdce03abaa26bda3fadf4548a.tar.gz
In r225809 the intention was to send VEOF only once if STDIN was not a
terminal. Unfortunately the fix was incorrect and for flushtime > 0 it keept sending VEOF. Sent VEOF generates ^D\b\b echoed by the terminal, which was reported in bin/161526. Note, we still send VEOF at least once. Otherwise commands like below would hang forever: echo 1 |script /tmp/script.out cat PR: bin/161526 Reported by: Adrian Wontroba <aw1@stade.co.uk>, Stefan Bethke <stb@lassitu.de> Tested by: Stefan Bethke <stb@lassitu.de> MFC after: 3 days
Diffstat (limited to 'secure/usr.sbin')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud