Date: Thu, 14 Jun 2001 14:56:56 +0200 From: "H.Merijn Brand" To: Eli Zaretskii Subject: Re: Gnu compiler for Perl Cc: djgpp AT delorie DOT com In-Reply-To: References: <20010614133028 DOT EFDE DOT H DOT M DOT BRAND AT hccnet DOT nl> X-Mailer-Plugin: Cliche Inserter for Becky!2 Ver.0.03 Rev.0 Message-Id: <20010614145506.EFE4.H.M.BRAND@hccnet.nl> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Becky! ver. 2.00.07 X-Hops: 1 Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Thu 14 Jun 2001 14:46, Eli Zaretskii wrote: > > One simple failing snippet on Win2kNL/sp1: > > > > C:\Tmp> cat test.sh > > if (PATH=.; alias -x) >/dev/null 2>&1; then > > inksh=true > > fi > > C:\Tmp> sh test.sh > > test.sh: /dev/null: Permission denied (EACCESS) > > Does a simple "echo foo > /dev/null" fails as well? How about > "echo foo >> /dev/null"? > > If it does, please write a short test program that does imilar things, > and step into the I/O functions with a debugger. We must understand > what's wrong there to devise a solution or a work-around. C:\Tmp> sh sh-2.03$ echo Help Help sh-2.03$ echo Help >/dev/null sh: /dev/null: Permission denied (EACCESS) sh-2.03$ echo Help >>/dev/null sh-2.03$ HTH -- H.Merijn Brand Amsterdam Perl Mongers (http://www.amsterdam.pm.org/) using perl-5.6.1, 5.7.1 & 626 on HP-UX 10.20 & 11.00, AIX 4.2, AIX 4.3, WinNT 4, Win2K pro & WinCE 2.11 often with Tk800.022 &/| DBD-Unify ftp://ftp.funet.fi/pub/languages/perl/CPAN/authors/id/H/HM/HMBRAND/