Le 29 janv. 2012 à 19:22, Jim Meyering a écrit :

> This is incomplete in that I haven't added a test for it
> and haven't updated NEWS -- since its effect is limited,
> I'm not sure it's worthy of a NEWS entry.
> 
> Before:
> 
>    $ bison --print-datadir > /dev/full
>    $ bison --print-datadir >&-
>    $
> 
> After:
> 
>    $ bison --print-datadir > /dev/full
>    bison: write error: No space left on device
>    [Exit 1]
>    $ bison --print-datadir >&-
>    bison: write error: Bad file descriptor
>    [Exit 1]
>    $

Hi Jim!

Well, simple and efficient.  And yet another change with more
metadata than genuine content :)

Please install.  I wouldn't add it to NEWS either.

For my education: why not closing stderr too?  Sure, it's
then hard to decide where to send the error message, but at least
the exit status would change.


Reply via email to