nano-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nano-devel] posix_spawn()


From: Barath Aron
Subject: Re: [Nano-devel] posix_spawn()
Date: Wed, 6 Jun 2018 15:27:54 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0

Hello again,

Sorry, I just noticed that nano 2.9.8 was released. Find the corrected patch in the attachment. Correction includes: adjusted to the new version; fixed coding style to the existing code. It might be a little-bit messy, because I had to adjust to the new version quite fast. :)

Aron


On 06/06/2018 01:53 PM, Barath Aron wrote:
Hello nano list,

I have made some changes to nano: I replaced two fork() calls with posix_spawn(). I know, it is not complete, this is just a quick solution to get rid of forks remained after ./configure --disable-speller
Later I can continue to work on the other forks, in need.

For now, my request is to integrate something into configure to detect whether fork is available or an explicit switch, for instance --with-posix_spawn. The OS that I use lacks fork, so posix_spawn (and the pthread stuff) is the only option. More info: https://threos.io

Aron


Attachment: src_text.c.patch
Description: Text Data


reply via email to

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