Date: Thu, 20 May 1999 09:25:06 -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.990520092506.jdp@polstra.com> In-Reply-To: <19990520180643.A26759@internal>
next in thread | previous in thread | raw e-mail | index | archive | help
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); 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.990520092506.jdp>