nano-devel
[Top][All Lists]
Advanced

[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

Attachment: 0001-filtering-wait-for-the-sending-process-to-terminate.patch
Description: Text Data

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]