Mail Archives: djgpp-workers/2001/12/12/03:29:27
On Tue, 11 Dec 2001, Charles Sandmann wrote:
> > You are right, it probably is unsafe to make this change in the 2.03
> > refresh, since it's a needle in a haystack of other changes, and that
> > area is tricky to change without breaking.
>
> > The problem with v2.03's dosexec is that if both foo and foo.exe are
> > present, it runs foo via go32-v2 instead of running foo.exe.
>
> If someone knew the exact change that fixed this it might not be
> hard to implement - but it's not in the comments of the code or the
> cvs commits.
I already looked at the code and the changes trying to figure that
out, but couldn't. IIRC, there were several changes which did that,
and they also changed other things, so it's hard to point out a single
isolated change which would do.
IIRC, the addition of the no-extension-search flag to the
interpreters[] array was part of it, and another part was in the code
in __spawnve (which now has parts of its code extracted into another
function). It's possible that go32_exec was also changed a bit.
I realize that the above probably doesn't help, but that's what I
could glean from my feeble memory and the code in CVS. Perhaps Mark
remembers the details: he did most of the work, while I just talked
about that.
As another possible source of info, you could browse the archives of
this list; these issues were discussed at length at the time.
- Raw text -