Date: Thu, 11 Dec 1997 10:09:55 +0200 (EET) From: Esa A E Peuha Reply-To: Esa DOT Peuha AT Helsinki DOT FI To: Eli Zaretskii 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 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/