diff options
author | Rob Landley <rob@landley.net> | 2013-08-08 02:46:45 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2013-08-08 02:46:45 -0500 |
commit | 035f27ae4df2b973b8974730bb1b23a25f6160e8 (patch) | |
tree | 12d1520dec29c404882fe915ea94ce76df8e4467 /toys/posix/ls.c | |
parent | 1aa75118c46c8fbe0eeead18974d25e5f13274d5 (diff) | |
download | toybox-035f27ae4df2b973b8974730bb1b23a25f6160e8.tar.gz |
Achille Fouilleul pointed out that fdlength wasn't returning the right length in the binary search case.
(This code was originally written for mke2fs, and applies to block devices. The regular file case should just return the length from stat. The ioctl is left commented out in case I want to add back code to check the size of CDROMs without spinning them up again; not sure the sector size is always right these days.)
Diffstat (limited to 'toys/posix/ls.c')
0 files changed, 0 insertions, 0 deletions