delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/10/27/09:02:36

Message-ID: <3816F6CC.DE588CA2@softhome.net>
Date: Wed, 27 Oct 1999 14:57:48 +0200
From: Laurynas Biveinis <lauras AT softhome DOT net>
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: <Pine DOT SUN DOT 3 DOT 91 DOT 991024093113 DOT 29385K-100000 AT is>
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019