Mail Archives: djgpp-workers/2000/05/30/17:50:08
> From: "Mark E." <snowball3 AT bigfoot DOT com>
> Date: Tue, 30 May 2000 15:28:30 -0400
>
> Alright, here's a new idea (for Bash to use libc and not reinvent it):
> Create a flag, perhaps with the name __spawn_flags, that includes a flag
> indicating that no extension search should be tried if the filename as-is
> exists.
For _all_ files, even with .exe extension? I don't think that's a
good idea: at least for DJGPP programs we want the stubbed executable
in preference to raw COFF (e.g., because the stub has important info,
like the stack size etc.).
Is something wrong with adding a flag to the interpreters[] structure,
saying whether each one of the extensions should be looked for? It's
essentially your original idea, except that it doesn't assume that the
extensions are ordered in some particular way.
- Raw text -