delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1997/12/11/06:08:55

Date: Thu, 11 Dec 1997 13:08:00 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Esa DOT Peuha AT Helsinki DOT FI
cc: djgpp-workers AT delorie DOT com
Subject: Re: Possible enhancements on v2.02
In-Reply-To: <Pine.OSF.3.96.971211095017.29069A-100000@vesuri.Helsinki.FI>
Message-ID: <Pine.SUN.3.91.971211130254.13859C-100000@is>
MIME-Version: 1.0

On Thu, 11 Dec 1997, Esa A E Peuha wrote:

> Well, since the program's name is not part of the dos command line,
> figuring out argv[0] is already very different from globbing the rest of
> command line (in src/libc/crt0/c1args.c), so dividing that wouldn't be
> very dramatic.

One of the things c1args do is to figure out what to use as argv[0].  The 
logic which decides this is dispersed all over the place (it depends on
where did we get the command line from and on _CRT0_FLAGS).  Separating 
them is not exactly rocket science, but isn't trivial either, at least 
for me.

- Raw text -


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