Date: Tue, 30 May 2000 11:12:36 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: "Mark E." cc: djgpp-workers AT delorie DOT com Subject: Re: tmpfile in DJGPP In-Reply-To: <39330F8E.32385.4BB8B1@localhost> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Tue, 30 May 2000, Mark E. wrote: > I came up with a way, and I use it with Bash 2.04 to provide a function that > essentially marks a file handle as 'remove-on-close'. I then use this > function to implement a pipe() replacement. This all works, but it also > requires changes to dup and dup2 to handle FSEXTs. Using FSEXT is a possibility, but I'm not sure it's a good way for a library feature (as opposed to an application-level code). As discussed here on several opportunities, FSEXT needs some work to make it suitable for internal use by libc itself.