Mail Archives: djgpp-workers/1999/10/27/09:02:36
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
- Raw text -