Mail Archives: djgpp-workers/1999/01/13/08:58:03
On Wed, 13 Jan 1999, Gary V. Vaughan wrote:
> > Ugh! Better avoid it. /dev/null is so abused that we'd die before
> > we could replace all uses of it with the result of the configure
> > test.
>
> I don't want to die. Lets not mess with configure then. Perhaps the
> win95 failure modes are pathological... and we can ignore the problem
> for the general case?
Sorry, you cannot ignore this. Neither MS-DOS nor Windows 9X can handle
a file being renamed under their feet while it is open. DOS just goes
amok (how much amok depends on how large the file being renamed is, and
what optional software, like a disk cache, is installed); Windows 9X
simply fails the call. Only Windows NT handles these cases like Unix
does.
If /dev/null is verboten, maybe what Andris suggested with 1>&2 is
better?
- Raw text -