[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Nano-devel] [PATCH] Replace fork with clone to share file descriptors b
From: |
Marco Diego Aurélio Mesquita |
Subject: |
[Nano-devel] [PATCH] Replace fork with clone to share file descriptors between parent and child. |
Date: |
Sun, 12 Aug 2018 13:51:42 -0300 |
User-agent: |
NeoMutt/20170113 (1.7.2) |
The attached patch replces the call to fork in execute_command with clone. This
way, file descriptors can be shared between parent and child effectively fixing
https://savannah.gnu.org/bugs/?54499 .
A dup2 was removed since it was not having any effect.
Please note that I have not tested it extensively.
0001-filter-replace-fork-with-clone-so-that-file-descript.patch
Description: Text Data
- [Nano-devel] [PATCH] Replace fork with clone to share file descriptors between parent and child.,
Marco Diego Aurélio Mesquita <=
- 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, 2018/08/19
- 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