Date: Thu, 11 Dec 1997 13:08:00 +0200 (IST) From: Eli Zaretskii 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: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk 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.