cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1998/10/19/07:18:41

Date: Mon, 19 Oct 1998 13:18:24 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: DJ Delorie <dj AT delorie DOT com>
cc: Andris Pavenis <pavenis AT lanet DOT lv>, 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: <Pine.SUN.3.91.981019131602.10842C-100000@is>
MIME-Version: 1.0
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
> 
> 
> 
> 

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019