Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 May 1999 08:52:38 -0700 (PDT)
From:      John Polstra <jdp@polstra.com>
To:        Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
Cc:        stable@freebsd.org
Subject:   Re: ld-elf.so.1 on 3.2-STABLE breaks yppush
Message-ID:  <XFMail.990520085238.jdp@polstra.com>
In-Reply-To: <19990520174631.A26506@internal>

next in thread | previous in thread | raw e-mail | index | archive | help
Andre Albsmeier wrote:
> On Thu, 20-May-1999 at 08:32:12 -0700, John Polstra wrote:
>> One at a time, comment out these lines in rtld.c:
>> 
>>     set_program_var("__progname", argv[0] != NULL ? basename(argv[0]) : "");
>>     set_program_var("environ", env);
>> 
>> and try to find out which one is causing the problem.
> 
> Done, it works if at least _one_ of the two lines is commented out.
> Deleting both also works...

Even stranger still!  Please try leaving both lines in, but changing
the spelling of the variable names while leaving their lengths the
same (one at a time):

    set_program_var("__PrOgNaMe", argv[0] != NULL ? basename(argv[0]) : "");
    set_program_var("eNvIrOn", env);

Thanks,
John
---
  John Polstra                                               jdp@polstra.com
  John D. Polstra & Co., Inc.                        Seattle, Washington USA
  "Self-interest is the aphrodisiac of belief."           -- James V. DeLong



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.990520085238.jdp>