Mail Archives: djgpp-workers/2002/04/14/12:08:04
Hello.
Eli Zaretskii wrote:
>
> On Sun, 14 Apr 2002, Richard Dawe wrote:
[snip]
> > Also test
> > suite hasn't been modified to work on DOS (lots of tests use <stem>.$$ for
> > temporary filenames, which clearly doesn't work on DOS for PIDs > 999.)
>
> The canonical way of solving this is to create a directory $TMPDIR/tmp$$ (up
> to 8 characters for a 16-bit PID, so fits into DOS 8+3 limitations), and
> then create temporary files in that directory.
That's exactly what I did for Fileutils 4.0 (but thanks for the suggestion).
Some of the tests may have been patched in the same way as the DJGPP port of
4.0 - I can't remember. But there are several more tests in 4.1, so I need to
re-evaluate them.
> Jim, will you accept patches for such an approach?
I have a bunch of patches to feed back, now I've caught up with the latest
stable release. ;) The primary set is to the test suite to cope with DJGPP
programs reporting their names as e.g.: 'c:/djgpp/bin/cp' instead of just
'cp'. (We discussed this before.)
Bye, Rich =]
--
Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]
- Raw text -