Bug in ls.c
| Newsgroups | gmane.comp.gnu.fileutils.bugs |
|---|---|
| Message-ID | <[email protected]> |
Hello there.
I don't know if anyone has reported this yet, but
if not, ls.c in the GNU fileutils package (v4.1 and
all older versions) has a bug on line 2534.
The line, reading:
"output_block_size < 0 ? output_block_size : 1));"
Should almost certainly read:
"output_block_size < 0 ? 1 : output_block_size));"
This fixes the use of the "-k" option (among other things)
when listing files using the "-l" format.
- Ben