summaryrefslogtreecommitdiff
path: root/tests/touch/read-only
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2005-09-26 23:02:14 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2005-09-26 23:02:14 +0000
commit2f897e72580eb68526972caf3ef815c5be50daba (patch)
tree1060decdf2fdb4e20562c150a787a9a763d47abc /tests/touch/read-only
parent80065b498ba12f0cc5326e08c2650104ae1d3081 (diff)
downloadcoreutils-2f897e72580eb68526972caf3ef815c5be50daba.tar.xz
(touch): Handle "touch -c - >&-" by checking for EBADF
and ENOSYS. Do not pass "-" to futimens; pass NULL instead. If close (STDIN_FILENO) fails, report the error separately instead of letting the 'close' pollute errno.
Diffstat (limited to 'tests/touch/read-only')
0 files changed, 0 insertions, 0 deletions