From owner-freebsd-stable Thu May 20 9: 6:49 1999 Delivered-To: freebsd-stable@freebsd.org Received: from david.siemens.de (david.siemens.de [192.35.17.14]) by hub.freebsd.org (Postfix) with ESMTP id 4319415177 for ; Thu, 20 May 1999 09:06:46 -0700 (PDT) (envelope-from andre.albsmeier@mchp.siemens.de) X-Envelope-Sender-Is: andre.albsmeier@mchp.siemens.de (at relayer david.siemens.de) Received: from mail1.siemens.de (mail1.siemens.de [139.23.33.14]) by david.siemens.de (8.9.3/8.9.3) with ESMTP id SAA24293 for ; Thu, 20 May 1999 18:06:45 +0200 (MET DST) Received: from curry.mchp.siemens.de (curry.mchp.siemens.de [139.25.42.7]) by mail1.siemens.de (8.9.3/8.9.3) with ESMTP id SAA02969 for ; Thu, 20 May 1999 18:06:45 +0200 (MET DST) Received: (from daemon@localhost) by curry.mchp.siemens.de (8.9.3/8.9.3) id SAA84921 for ; Thu, 20 May 1999 18:06:45 +0200 (CEST) Date: Thu, 20 May 1999 18:06:43 +0200 From: Andre Albsmeier To: John Polstra Cc: Andre Albsmeier , stable@freebsd.org Subject: Re: ld-elf.so.1 on 3.2-STABLE breaks yppush Message-ID: <19990520180643.A26759@internal> References: <19990520174631.A26506@internal> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: ; from John Polstra on Thu, May 20, 1999 at 08:52:38AM -0700 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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