diff options
| author | Pádraig Brady <P@draigBrady.com> | 2017-08-30 20:14:22 -0700 |
|---|---|---|
| committer | Pádraig Brady <P@draigBrady.com> | 2017-08-30 20:46:49 -0700 |
| commit | 173bee1bdffa53cd6c6f572fea46411eaec38b17 (patch) | |
| tree | 3d0fbf6f5897fae8348ff506e08e47740c84d7ee /scripts/git-hooks/commit-msg | |
| parent | tests: avoid printf '0*d' construct unsupported by ash (diff) | |
| download | coreutils-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
