Mail Archives: djgpp-workers/1998/10/19/07:18:41
On Mon, 19 Oct 1998, Andris Pavenis wrote:
> I see 2 possibilities:
> - adding one more extension "." (together with "") for
> unstubified COFF. That extension does not have this problem
> and it will be possible to run it even with weird extensions.
> However this may cause problems with make if somebody
> will try to use such filenames from make. However this is
> not only possible cause of similar problems in DOS as there
> are other unusable filenames (e.g. "prn")
>
> - patching only go32_exec() as suggested earlier (I don't like
> that and I'll perhaps keep my old patch currently before some
> new version will be released).
DJ, I like the second possibility better (see Andris's patch below), but
I'll leave it up to you to decide.
> I including patch here
> --------------------------------------------------
> *** dosexec.c~ Sun Jul 26 13:31:34 1998
> --- dosexec.c Mon Oct 19 11:09:00 1998
> ***************
> *** 539,545 ****
> /* Non-DJGPP programs cannot be run by !proxy. */
> if (!is_coff)
> {
> ! return direct_exec(program, argv, envp);
> }
>
> if (found_si)
> --- 539,548 ----
> /* Non-DJGPP programs cannot be run by !proxy. */
> if (!is_coff)
> {
> ! if (type->exec_format == _V2_EXEC_FORMAT_EXE)
> ! return direct_exec(program, argv, envp);
> ! else
> ! return __dosexec_command_exec (program, argv, envp);
> }
>
> if (found_si)
> --------------------------------------------------
>
> Andris
>
>
>
>
- Raw text -