Mail Archives: djgpp-workers/1999/10/27/10:32:43
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.
- Raw text -