Date: Thu, 20 May 1999 18:06:43 +0200 From: Andre Albsmeier <andre.albsmeier@mchp.siemens.de> To: John Polstra <jdp@polstra.com> Cc: Andre Albsmeier <andre.albsmeier@mchp.siemens.de>, stable@freebsd.org Subject: Re: ld-elf.so.1 on 3.2-STABLE breaks yppush Message-ID: <19990520180643.A26759@internal> In-Reply-To: <XFMail.990520085238.jdp@polstra.com>; from John Polstra on Thu, May 20, 1999 at 08:52:38AM -0700 References: <19990520174631.A26506@internal> <XFMail.990520085238.jdp@polstra.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 20-May-1999 at 08:52:38 -0700, John Polstra wrote: > 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); Same as before, zero or one work, both break... And this breaks as well: set_program_var("p", argv[0] != NULL ? basename(argv[0]) : ""); set_program_var("e", env); But: changing set_program_var("environ", env); to set_program_var("environ", "test"); works (leaving the first line enabled). Might be a space problem? I assume, env is rather big... -Andre 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?19990520180643.A26759>