aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/git-hooks/commit-msg
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2017-08-30 00:55:34 -0700
committerPádraig Brady <P@draigBrady.com>2017-08-30 01:29:53 -0700
commitd95294982960a4a81889722fd79f1fedc04c8ee5 (patch)
tree05292d5a7493b9a2db27bee5528cb76fb92aea59 /scripts/git-hooks/commit-msg
parentruncon: revert "disable use of the TIOCSTI ioctl" (diff)
downloadcoreutils-d95294982960a4a81889722fd79f1fedc04c8ee5.tar.gz
coreutils-d95294982960a4a81889722fd79f1fedc04c8ee5.zip
tty: fix exit code with EINVAL
* src/tty.c (main): All systems mention that isatty() man return EINVAL as well as (the POSIX compliant) ENOTTY. Also Centos 6 was seen to return EINVAL from ttyname(). * tests/misc/tty.sh: Fix a test issue where we assume standard input is always a valid tty. Reported by Assaf Gordon on OpenSolaris 5.10 and 5.11, and Centos 6.5
Diffstat (limited to 'scripts/git-hooks/commit-msg')
0 files changed, 0 insertions, 0 deletions