www.delorie.com/archives/browse.cgi | search |
From: | "Mark E." <snowball3 AT bigfoot DOT com> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: why isn't the FSEXT hook implemented for dup in 2.03? |
Date: | Thu, 24 Feb 2000 23:51:14 -0500 |
Organization: | Snowball's Web |
Message-ID: | <ra2cbscnqr9n1e07cvl9u9u22aqlavrjsg@4ax.com> |
References: | <890rpg$sf6$1 AT nnrp1 DOT deja DOT com> <Pine DOT SUN DOT 3 DOT 91 DOT 1000224122458 DOT 13848R-100000 AT is> |
X-Newsreader: | Forte Agent 1.7/32.534 |
MIME-Version: | 1.0 |
NNTP-Posting-Host: | 129.37.91.80 |
X-Trace: | 25 Feb 2000 04:50:24 GMT, 129.37.91.80 |
Lines: | 17 |
X-Complaints-To: | abuse AT prserv DOT net |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> wrote: > - When this was discussed, it seemed to be rather unnecessary to > hook dup. Can you explain under what circumstances do you need > this, and why? I can't speak for the poster's reasons, but I know why I want it. I have a pipe emulator that I hope to use with Bash that uses FSEXTs. Bash does use dup and dup2 on that 'pipe' handle for redirections before spawning a child program. Without FSEXTs for dup and dup2, the emulator doesn't work since Bash naturally expects to be able to dup and dup2 it like any other file handle.. -- Mark E.: snowball3 AT bigfoot DOT com http://snowball.frogspace.net/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |