Date: Mon, 19 Oct 1998 13:18:24 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: DJ Delorie cc: Andris Pavenis , djgpp-workers AT delorie DOT com Subject: Re: Patch for src/libc/dos/process/dosexec.c In-Reply-To: <199810191028.MAA121498@ieva06.lanet.lv> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp-workers AT delorie DOT com 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 > > > >