[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Nano-devel] [PATCH] just use a wait() instead
From: |
Benno Schulenberg |
Subject: |
[Nano-devel] [PATCH] just use a wait() instead |
Date: |
Sun, 19 Aug 2018 10:07:03 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 |
Op 19-08-18 om 01:17 schreef Marco Diego Aurélio Mesquita:
> On Fri, Aug 17, 2018 at 08:27:36PM +0200, Benno Schulenberg wrote:
>> But it is puzzling. I'd like to know what the filtering fork()
>> is doing wrong.
>
> I still don't know what causes it. Anyway, attached patch fixes it with
> addition of only 3 lines.
Attached patch also seems to fix it, and is much smaller.
(The error message is crap, of course, but the two lines were simply
copied from forty lines further down.)
The problem appears to be that send_data() process wasn't releasing
its resources/descriptors. The wait() takes care of that.
Does this patch solve the problem for you too?
Benno
0001-filtering-wait-for-the-sending-process-to-terminate.patch
Description: Text Data
signature.asc
Description: OpenPGP digital signature
- [Nano-devel] [PATCH] Replace fork with clone to share file descriptors between parent and child., Marco Diego Aurélio Mesquita, 2018/08/12
- Re: [Nano-devel] [PATCH] Replace fork with clone to share file descriptors between parent and child., Benno Schulenberg, 2018/08/16
- Re: [Nano-devel] [PATCH] Replace fork with clone to share file descriptors between parent and child., Marco Diego Aurélio Mesquita, 2018/08/16
- Re: [Nano-devel] [PATCH] Replace fork with clone to share file descriptors between parent and child., Benno Schulenberg, 2018/08/17
- Re: [Nano-devel] [PATCH] Replace fork with clone to share file descriptors between parent and child., Marco Diego Aurélio Mesquita, 2018/08/18
- [Nano-devel] [PATCH] just use a wait() instead,
Benno Schulenberg <=
- Re: [Nano-devel] [PATCH] just use a wait() instead, Marco Diego Aurélio Mesquita, 2018/08/19
- Re: [Nano-devel] [PATCH] just use a wait() instead, Benno Schulenberg, 2018/08/19
- Message not available
- Re: [Nano-devel] [PATCH] just use a wait() instead, Marco Diego Aurélio Mesquita, 2018/08/19
- Re: [Nano-devel] [PATCH] just use a wait() instead, Benno Schulenberg, 2018/08/20