Date: Thu, 20 May 1999 18:35:49 +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: <19990520183549.A26838@internal> In-Reply-To: <XFMail.990520092506.jdp@polstra.com>; from John Polstra on Thu, May 20, 1999 at 09:25:06AM -0700 References: <19990520180643.A26759@internal> <XFMail.990520092506.jdp@polstra.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 20-May-1999 at 09:25:06 -0700, John Polstra wrote: > > Andre Albsmeier wrote: > > >> 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... > > Well, it is supposed to be doing the same thing that > "src/lib/csu/i386-elf/crt1.c" already did before the change. It just > does it a little bit sooner. > > I have to put this aside until later (hopefully tonight). Meanwhile, > another interesting test would be this: > > set_program_var("__progname", NULL); > set_program_var("environ", NULL); Works. I am happy to do further tests, but I have to go home now and I don't want to try things like these via my dialup line :-) Tomorrow we can go on, of course. Thanks a lot, -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?19990520183549.A26838>