Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: Plug some fd leaks in bin_print
- X-seq: zsh-workers 34157
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: PATCH: Plug some fd leaks in bin_print
- Date: Wed, 7 Jan 2015 09:06:42 +0100
- Cc: zsh workers <zsh-workers@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=86SmxtLm6bjinf+vUQxvoeGsGjVfOY+K0Mj05CPeNvM=; b=kkmRa7WiKxdMdyg1c8JM5NqQoEux+XCr03Hz3HtXmAiPda06MnwmoR8Wu86RFQcjw6 ZxdqAe6noyAuoKaUiO6T/NP//G/t1hZb/kJXRu4Qc6uW4m3Y4M8BuRJzcTAWQt+bZcke jkK1NyX5eHLpVYb13jeB0ansDwG/86CMc49TFiw/JGEbhots2JViOVf7WN7gySNu+78h gBzAiX/VDL2e4pXOHMiFzTtm6nPHbXb7aupi65WZGaSEyQ4nhP+sFL3J1h0ut11tYJat 2QiBofHVuaO66xh4ENfapjHNDs8ZSkqhpz5jRXEQnUJf0rNhGPija5cEkXCWmMFEFzaD wn6Q==
- In-reply-to: <CAHYJk3S3R+A9O6G6JD64XPUOK=gRo8YPqYacc04V3Li3CPhBxw@mail.gmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <1420590318-17047-1-git-send-email-mikachu@gmail.com> <150106223532.ZM1050@torch.brasslantern.com> <CAHYJk3S3R+A9O6G6JD64XPUOK=gRo8YPqYacc04V3Li3CPhBxw@mail.gmail.com>
On Wed, Jan 7, 2015 at 9:04 AM, Mikael Magnusson <mikachu@xxxxxxxxx> wrote:
> On Wed, Jan 7, 2015 at 7:35 AM, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
>> This needs to be looked at more closely.
>
> Okay, I'll resend a version that just does the fclose when things are
> actually leaking, and leave the others alone. I didn't realize
> fflush()ing stdout was somehow dangerous sometimes.
I should have looked at all new mails before replying to this one,
oops, never mind :).
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author