[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: eval doesn't close file descriptor?
From: |
Chet Ramey |
Subject: |
Re: eval doesn't close file descriptor? |
Date: |
Sun, 17 Feb 2013 19:12:44 -0500 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/17.0 Thunderbird/17.0 |
On 2/13/13 12:44 PM, Matei David wrote:
> Another thing I tried was to open a fd with <() and use it later in a shell
> function. Surprisingly, the fd disappears (is closed) if the shell executes
> something unrelated in subshell:
This was reported a while back
http://lists.gnu.org/archive/html/bug-bash/2011-08/msg00003.html
and fixed soon after. The fix has been in the devel branch of the savannah
git tree ever since.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/
- Re: eval doesn't close file descriptor?, (continued)
- Re: eval doesn't close file descriptor?, Matei David, 2013/02/12
- Re: eval doesn't close file descriptor?, Pierre Gaston, 2013/02/12
- Re: eval doesn't close file descriptor?, Matei David, 2013/02/12
- Re: eval doesn't close file descriptor?, Chet Ramey, 2013/02/12
- Re: eval doesn't close file descriptor?, Matei David, 2013/02/12
- Re: eval doesn't close file descriptor?, Ken Irving, 2013/02/12
- Re: eval doesn't close file descriptor?, Chet Ramey, 2013/02/12
- Re: eval doesn't close file descriptor?, Chet Ramey, 2013/02/12
- Re: eval doesn't close file descriptor?, Matei David, 2013/02/13
- Re: eval doesn't close file descriptor?, Matei David, 2013/02/13
- Re: eval doesn't close file descriptor?,
Chet Ramey <=