aboutsummaryrefslogtreecommitdiff
path: root/toys/posix/wc.c
diff options
context:
space:
mode:
authorChris Sarra <chrissarra@google.com>2020-09-15 10:10:20 -0700
committerRob Landley <rob@landley.net>2020-09-23 06:44:05 -0500
commit204f8c56d69a858eb3455da798c63f6477e1f3b7 (patch)
tree1ed264d61f7e62c6c13f08a964046dd795fb4ef7 /toys/posix/wc.c
parent3c534fdc78e1d9d7914017bfcd5ff579bb754c70 (diff)
downloadtoybox-204f8c56d69a858eb3455da798c63f6477e1f3b7.tar.gz
Add ftruncate logic to handle non-regular files
ftruncate was failing on device files, leading to whole dd.c failures. This patch allows us to dump device files.
Diffstat (limited to 'toys/posix/wc.c')
0 files changed, 0 insertions, 0 deletions