From owner-freebsd-hackers Tue Feb 9 14:16:38 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA15403 for freebsd-hackers-outgoing; Tue, 9 Feb 1999 14:16:38 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from smtp02.primenet.com (smtp02.primenet.com [206.165.6.132]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA15398 for ; Tue, 9 Feb 1999 14:16:36 -0800 (PST) (envelope-from tlambert@usr02.primenet.com) Received: (from daemon@localhost) by smtp02.primenet.com (8.8.8/8.8.8) id PAA00950; Tue, 9 Feb 1999 15:16:29 -0700 (MST) Received: from usr02.primenet.com(206.165.6.202) via SMTP by smtp02.primenet.com, id smtpd000799; Tue Feb 9 15:16:15 1999 Received: (from tlambert@localhost) by usr02.primenet.com (8.8.5/8.8.5) id PAA07798; Tue, 9 Feb 1999 15:16:13 -0700 (MST) From: Terry Lambert Message-Id: <199902092216.PAA07798@usr02.primenet.com> Subject: Re: ldconfig and libraries To: jdp@polstra.com (John Polstra) Date: Tue, 9 Feb 1999 22:16:13 +0000 (GMT) Cc: wes@softweyr.com, hackers@FreeBSD.ORG In-Reply-To: from "John Polstra" at Feb 8, 99 12:00:06 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > So make the field ALWAYS PATH_MAX (+1 ??) characters in length, and > > stick a zero-terminated string within that buffer. Changing the length > > of the string won't change the length of the field, and therefore won't > > require fixing up addresses in the data (or any other) segment. > > And add 1K to the size of every executable and shared library file in > the system? Both on disk and in memory at execution time? That's too > much of a hack for my tastes. OK, next question: Why can't it be at the end of the data? Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message