Date: Wed, 27 Oct 1999 16:18:08 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Laurynas Biveinis cc: djgpp-workers AT delorie DOT com Subject: Re: Help with arg passing In-Reply-To: <3816F6CC.DE588CA2@softhome.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp-workers AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Wed, 27 Oct 1999, Laurynas Biveinis wrote: > 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. We could force the use of !proxy if the program is a symlink. (I'm guessing that you check whether the program is a symlink before the decision is made how to invoke it.) Do I understand that you don't intend to support symlinks to non-DJGPP programs, because of this? > Another reason - currently the same program with LFN .exe called > two times with and without long command line will see two different > argv[0]. That's true, but any program that looks at its argv[0] should be ready to deal with this anyhow, since it gets the 8+3 alias when invoked from the command line.