Mail Archives: djgpp-workers/1996/08/11/08:49:45
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 -