diff options
author | Pádraig Brady <P@draigBrady.com> | 2016-02-12 20:15:51 -0800 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2016-02-15 22:03:15 -0800 |
commit | f91f2bf951de16553ffdf88c116e722809341b5c (patch) | |
tree | 50a247b390d6ccf6c4377668511c72eeb529bd7a /.mailmap | |
parent | 222e83056d46593431b7a1be323d884032199cd7 (diff) | |
download | coreutils-f91f2bf951de16553ffdf88c116e722809341b5c.tar.xz |
split: adjust recent --number changes
* src/split.c (lines_rr): Reinstate the conditional
setting of the WROTE boolean, as otherwise split -n r/1 would
consume all input when all --filter commands are stopped.
There was a test in place to check for this, but
it was incorrect as detailed below.
(input_file_size): Immediately disallow --number with
non seekable inputs, as such an invocation is not currently
generally supported and will fail as the data overflows
the internal buffer.
* tests/split/l-chunk.sh: Adjust to again disallow -n /dev/zero.
Also change all '&& fail=1' checks to use the 'returns_ 1' form.
* tests/split/filter.sh: Change the no longer supported /dev/zero
case to a regular $OFF_T_MAX file (supported on XFS for example).
Also fix the timeout(1) commands so they're not subject to
pipefail issues.
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions