summaryrefslogtreecommitdiffstats
path: root/scripts/git-hooks/commit-msg
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2022-04-13 17:31:47 +0100
committerPádraig Brady <P@draigBrady.com>2022-04-13 20:10:14 +0100
commit87d5f1e17e32176b262a13262ac3ec16e1970596 (patch)
tree9d2da1cd8f3f235078d68d8a99ac8d0117dd82f3 /scripts/git-hooks/commit-msg
parent48e15cef45de108c803fd090e3123043da5f0a01 (diff)
downloadcoreutils-87d5f1e17e32176b262a13262ac3ec16e1970596.tar.gz
coreutils-87d5f1e17e32176b262a13262ac3ec16e1970596.zip
tail: detect closed stdout on Solaris
* src/tail.c (check_output_alive): Use poll() on Solaris. Also handle POLLHUP, which Solaris returns in this case. * tests/tail-2/pipe-f.sh: Use `head -n2` rather than `sed 2q` as Solaris sed does not exit in this case. * NEWS: Mention the improvement. Reported by Bruno Haible.
Diffstat (limited to 'scripts/git-hooks/commit-msg')
0 files changed, 0 insertions, 0 deletions