diff options
author | Pádraig Brady <P@draigBrady.com> | 2013-06-22 03:37:51 +0100 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2013-06-22 04:02:19 +0100 |
commit | bc70095df2ea1bc4338ea7331d44b916e0c82258 (patch) | |
tree | 78c2d84095471279b6fb0b8c9d3a1a2fd0ede930 /src/ls.c | |
parent | b235223926c23f358df323fab4b368b46d0074af (diff) | |
download | coreutils-bc70095df2ea1bc4338ea7331d44b916e0c82258.tar.xz |
stdbuf: make it mandatory to specify a buffering option
This is consistent with the documented interface and
avoids any ambiguity in a user thinking that stdbuf without options
might reset to a "standard" buffering setup.
* src/stdbuf.c (set_libstdbuf_options): Indicate with the return value
whether any env variables were actually set.
(main): Fail unless some env variables were set.
* tests/misc/stdbuf.sh: Ensure this constraint is enforced.
* NEWS: Mention the small change in behavior.
Diffstat (limited to 'src/ls.c')
0 files changed, 0 insertions, 0 deletions