[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] stdbuf: make it mandatory to specify a buffering option
From: |
Pádraig Brady |
Subject: |
Re: [PATCH] stdbuf: make it mandatory to specify a buffering option |
Date: |
Sat, 22 Jun 2013 03:52:54 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 |
On 06/22/2013 03:48 AM, Pádraig Brady wrote:
> 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.
Since this is a minor interface change I'll also update NEWS before pushing.
thanks,
Pádraig.