From owner-freebsd-stable Thu May 20 9:25: 9 1999 Delivered-To: freebsd-stable@freebsd.org Received: from wall.polstra.com (rtrwan160.accessone.com [206.213.115.74]) by hub.freebsd.org (Postfix) with ESMTP id A4F581520B for ; Thu, 20 May 1999 09:25:07 -0700 (PDT) (envelope-from jdp@polstra.com) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.9.3/8.9.1) with ESMTP id JAA19306; Thu, 20 May 1999 09:25:06 -0700 (PDT) (envelope-from jdp@polstra.com) Received: (from jdp@localhost) by vashon.polstra.com (8.9.3/8.9.1) id JAA41666; Thu, 20 May 1999 09:25:06 -0700 (PDT) (envelope-from jdp@polstra.com) Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <19990520180643.A26759@internal> Date: Thu, 20 May 1999 09:25:06 -0700 (PDT) Organization: Polstra & Co., Inc. From: John Polstra To: Andre Albsmeier Subject: Re: ld-elf.so.1 on 3.2-STABLE breaks yppush Cc: stable@freebsd.org Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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