Message-ID: <3816F6CC.DE588CA2@softhome.net> Date: Wed, 27 Oct 1999 14:57:48 +0200 From: Laurynas Biveinis X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: lt,en MIME-Version: 1.0 To: djgpp-workers AT delorie DOT com Subject: Re: Help with arg passing References: Content-Type: text/plain; charset=iso-8859-4 Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com Eli Zaretskii wrote: > > On Thu, 21 Oct 1999, Laurynas Biveinis wrote: > > > Because I want > > to see my patch in libc sources, I have a question regarding above: > > is it acceptable to turn on !proxy method for calling all DJGPP programs > > in 2.04 ? > > We could do that. But could you first explain why is this required > for symlink support? IMHO, it's not a good idea to have differences > in functionality that depend on the way programs are called. > (Differences in how argv[0] looks are bad, but at least they don't > change anything in how the program is invoked and run.) The reason - incorrect argv[0] if program is called through symlink. I can't make called program to see the name of symlink in its argv[0], it will see its exe name instead. Another reason - currently the same program with LFN .exe called two times with and without long command line will see two different argv[0]. Laurynas Biveinis