summaryrefslogtreecommitdiffstats
path: root/scripts/git-hooks/commit-msg
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2017-08-30 20:14:22 -0700
committerPádraig Brady <P@draigBrady.com>2017-08-30 20:46:49 -0700
commit173bee1bdffa53cd6c6f572fea46411eaec38b17 (patch)
tree3d0fbf6f5897fae8348ff506e08e47740c84d7ee /scripts/git-hooks/commit-msg
parent5ee9c8f7a6d3f2cec5eb4b086f05a60f67c8b052 (diff)
downloadcoreutils-173bee1bdffa53cd6c6f572fea46411eaec38b17.tar.gz
coreutils-173bee1bdffa53cd6c6f572fea46411eaec38b17.zip
tty: don't distinguish input errors
* src/tty.c (main): Don't distinguish ENOTTY from other errors, because isatty() doesn't portably distinguish errors. Solaris returns ENOENT for all input errors for example. Musl also returns ENOENT, and ENODEV may be returned as disscussed at: http://openwall.com/lists/musl/2017/04/06/6 * tests/misc/tty.sh: Adjust accordingly.
Diffstat (limited to 'scripts/git-hooks/commit-msg')
0 files changed, 0 insertions, 0 deletions