aboutsummaryrefslogtreecommitdiff
path: root/toys/pending/file.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2021-07-04 12:24:32 -0500
committerRob Landley <rob@landley.net>2021-07-04 12:24:32 -0500
commit98613d454671ebc3e1a761788453542cd93e6ada (patch)
treec903447a46a16b77b6fe9b398a302da23a47e4dc /toys/pending/file.c
parentba242e08ee83910596420f42830fd3d6fc1868d0 (diff)
downloadtoybox-98613d454671ebc3e1a761788453542cd93e6ada.tar.gz
Fix tail -F with no arguments.
fstat() doesn't fail on stdin, so check for fd 0 explicitly so we don't try to access zero length array when optc was zero. (Plus can't reopen '-'.)
Diffstat (limited to 'toys/pending/file.c')
0 files changed, 0 insertions, 0 deletions