delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/02/27/04:07:34

Date: Sun, 27 Feb 2000 10:10:34 +0200 (IST)
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 AT delorie DOT com
Subject: Re: why isn't the FSEXT hook implemented for dup in 2.03?
In-Reply-To: <ra2cbscnqr9n1e07cvl9u9u22aqlavrjsg@4ax.com>
Message-ID: <Pine.SUN.3.91.1000227095746.14604M-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: dj-admin AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Thu, 24 Feb 2000, Mark E. wrote:

> Bash does use
> dup and dup2 on that 'pipe' handle for redirections before spawning a child
> program.

I have re-read the discussion we had in the past about your pipe 
emulation, and I understand that it has something to do with a handle 
that did not original from an FSEXT, but rather a case of FSEXT machinery 
being used to customize the handling a of a real file handle.

If so, this is indeed one of those few ``tricky'' cases where a dup
hook could help.  But most FSEXT uses don't need this.

Anyway, your patches should be in the next release (whenever that
happens ;-).

- Raw text -


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