www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1996/08/11/08:49:45

Date: Sun, 11 Aug 1996 15:45:31 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: DJ Delorie <dj AT delorie DOT com>
Cc: djgpp-workers AT delorie DOT com
Subject: Re: `system' and wildcard expansion
In-Reply-To: <199608111156.HAA03925@delorie.com>
Message-Id: <Pine.SUN.3.91.960811154102.24678j-100000@is>
Mime-Version: 1.0

On Sun, 11 Aug 1996, DJ Delorie wrote:

> > variable called " !proxy" (lower-cased and with the leading blank) and are
> 
> Why not call it something more mnemonic, like DJGPP_ARGS ?

It makes the code smaller (same string is used).  I also wanted a variable
that cannot be set from the DOS prompt (hence lower case).  Does it really
matter what is it called?

> > 	2) The startup flags that deal with the way argv[0] will look 
> 
> If there is no !proxy, the flags affect argv[0] also, since we copy it
> from _dos_argv0 when we build argv[].

Sure, but what if there *is* !proxy?  This might potentially cause 
programs that, say, run under Make to get unexpected strings in argv[0].  
I thought I'll just move the code that deals with that after the final 
value of argv[0] is computed.  Any problems with that?

- Raw text -


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