Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: Plug some fd leaks in bin_print



On Wed, Jan 7, 2015 at 2:21 AM, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> On Jan 7,  1:25am, Mikael Magnusson wrote:
> } Subject: PATCH: Plug some fd leaks in bin_print
> }
> } Found by Coverity (Issue 439120).
>
> Adding a whole bunch of "goto" is really the best way to fix this?

It seemed nicer than copying that four line mess of ternary operators
to 10 different places.

-- 
Mikael Magnusson



Messages sorted by: Reverse Date, Date, Thread, Author