Date: Tue, 11 Sep 2001 21:02:39 +0300 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: "Tim Van Holder" Message-Id: <9003-Tue11Sep2001210239+0300-eliz@is.elta.co.il> X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.9 CC: djgpp-workers AT delorie DOT com, perl5-porters AT perl DOT org In-reply-to: <000001c13ae5$3a1d3900$6e7c76d5@pandora.be> (tim DOT van DOT holder AT pandora DOT be) Subject: Re: Win2k + djgpp References: <000001c13ae5$3a1d3900$6e7c76d5 AT pandora DOT be> 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 > From: "Tim Van Holder" > Date: Tue, 11 Sep 2001 19:14:33 +0200 > > > > Yes, but I cannot figure out what does this have to do with the test > > program you posted. To reproduce this failure, a test program should > > have called open/dup/dup2 in a typical redirection paradigm, > > preferably similar to the code that is actually executed by Bash when > > it sees a command such as the one above. Your test program didn't do > > that, it just opened files. > I know; I merely wanted to show that closing those in Perl made them > available as regular FDs to spawned programs This is expected: a typical filesystem allocates file handles from the lowest available one. > I just rebuilt perl 5.7.2 with the closing of stdaux and stdprn > disabled (and with CVS libc like before), and now autom4te is working > happily. So I'd recommend having perl.c use > > #if defined(MSDOS) || !defined(__DJGPP__) > > around those two lines. I'd recommend to actually dig into this and find the real reason for the problem.