diff options
author | Jim Meyering <jim@meyering.net> | 2006-09-29 16:52:48 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2006-09-29 16:52:48 +0000 |
commit | a38becce9752e67f71e79e8c230b327869802e70 (patch) | |
tree | dfcc3eb484617775b630eb08486ec656d88948c4 /ChangeLog | |
parent | 31c77a2fde27888aead246cde6eb88724450e5e1 (diff) | |
download | coreutils-a38becce9752e67f71e79e8c230b327869802e70.tar.xz |
* src/shuf.c (read_input): Fix an off-by-one error that
would cause an infloop for piped input of 8KB or more.
* NEWS: Mention the fix.
* tests/misc/shuf: Test for the above fix.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1,5 +1,10 @@ 2006-09-29 Jim Meyering <jim@meyering.net> + * src/shuf.c (read_input): Fix an off-by-one error that + would cause an infloop for piped input of 8KB or more. + * NEWS: Mention the fix. + * tests/misc/shuf: Test for the above fix. + Since any system may be affected by the Darwin readdir bug, perform the extra rewinddir unconditionally. The performance impact of rewinding a directory is negligible. |