Mail Archives: djgpp/2001/06/14/10:15:37
On Thu 14 Jun 2001 15:08, Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> wrote:
>
> On Thu, 14 Jun 2001, H.Merijn Brand wrote:
>
> > > 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
>
> So, what happens if you edit Configure and replace all ">" with ">>" when
> the target is /dev/null? Does the script succeed to run then?
I can read your mind!
I just did. (And also submitted a patch to change '>/dev/null', '> /dev/null',
'>>/dev/null' and '>> /dev/null' all to '>>/dev/null' for consistency)
For the moment it passes all /dev/null issues, but now croacks on touch and tr
issues. Should I persue or wait for possible bash changes? (This takes a lot of
time, which - as usual - I'm not overloaded with)
--
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/
- Raw text -