delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/05/30/04:13:11

Date: Tue, 30 May 2000 11:12:36 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: "Mark E." <snowball3 AT bigfoot DOT com>
cc: djgpp-workers AT delorie DOT com
Subject: Re: tmpfile in DJGPP
In-Reply-To: <39330F8E.32385.4BB8B1@localhost>
Message-ID: <Pine.SUN.3.91.1000530110856.905T-100000@is>
MIME-Version: 1.0
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

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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019