Mail Archives: djgpp/2001/07/10/15:14:36
> From: "Charles Sandmann" <sandmann AT clio DOT rice DOT edu>
> 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
- Raw text -