Mail Archives: djgpp-workers/1997/12/11/06:08:55
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 -