diff options
Diffstat (limited to 'src/shuf.c')
-rw-r--r-- | src/shuf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shuf.c b/src/shuf.c index 9db027c18..5a25e581c 100644 --- a/src/shuf.c +++ b/src/shuf.c @@ -273,7 +273,7 @@ read_input (FILE *in, char eolbyte, char ***pline) size_t n_lines; /* TODO: We should limit the amount of data read here, - to less than RESERVOIR_MIN_INPUT. I.E. adjust fread_file() to support + to less than RESERVOIR_MIN_INPUT. I.e., adjust fread_file() to support taking a byte limit. We'd then need to ensure we handle a line spanning this boundary. With that in place we could set use_reservoir_sampling when used==RESERVOIR_MIN_INPUT, and have read_input_reservoir_sampling() |