Mail Archives: djgpp-workers/1997/12/11/03:11:35
On Wed, 10 Dec 1997, Eli Zaretskii wrote:
> The problem is that fixing this is not easy. DJGPP.ENV cannot be read
> before processing at least part of the command line (you need to know
> what argv[0] is, to get to the appropriate section of DJGPP.ENV), so
> this means either some serious changes in the way command line
> globbing works (divide it into two parts) or we need to do it again if
> DJGPP.ENV resets LFN.
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. In addition, programs that replace __crt0_setup_arguments()
wouldn't have to worry about setting argv[0] if they need variables
defined in DJGPP.ENV.
Esa Peuha
student of mathematics at the University of Helsinki
http://www.helsinki.fi/~peuha/
- Raw text -