Age | Commit message (Collapse) | Author |
|
* src/shuf.c (main): Move declaration of input_lines to
function scope, and initialize to NULL, so we can free it.
[lint]: Free all malloc'd memory.
* tests/misc/shuf: Also test shuf's -e and -i options.
|
|
would cause an infloop for piped input of 8KB or more.
* NEWS: Mention the fix.
* tests/misc/shuf: Test for the above fix.
|
|
invalid one, rather than just the part that contained the error.
|
|
(read_input): Use it, to avoid relying on GCC-specific behavior
with void * arithmetic.
|
|
|