Date: Tue, 10 Jul 2001 22:12:54 +0300 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: "Charles Sandmann" Message-Id: <8011-Tue10Jul2001221253+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 AT delorie DOT com In-reply-to: <3b4ae2fb.sandmann@clio.rice.edu> Subject: Re: /dev/null References: <3b4ae2fb DOT sandmann AT clio DOT rice DOT edu> 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 > From: "Charles Sandmann" > Newsgroups: comp.os.msdos.djgpp > Date: Tue, 10 Jul 2001 11:11:55 > > > > d:/> echo hi > /dev/null > > > bash: /dev/null: Permission denied (EACCES) > > > > This is another known problem with W2K which awaits its research and > > solution. Try this: > > > > echo hi >> /dev/null > > Under Win2000 SP2 it says > "The system cannot find the path specified." Inside Bash or from cmd.exe? The error message sounds like the latter. The command should be invoked from Bash, since cmd.exe doesn't support /dev/null. > > To resolve this, someone should step with a debugger into the relevant > > library functions and see what does W2K break there. > > > > Unfortunately, I don't have access to W2K, so I cannot dig into this. > > I'd be happy to run any test programs on Win2K (plain, SP1, SP2) and > report results. Thanks, I will see if I can come up with something. Hm, actually, here's one thing to try: c:\> make -f - all: echo hi > /dev/null echi hi >> /dev/null ^Z (Please make sure you don't have SHELL set in the environment, before you run this. I want the internal emulation of command.com built into libc.a, not Bash, to run the above two commands.) TIA