From owner-freebsd-current Sun May 19 9:26:20 2002 Delivered-To: freebsd-current@freebsd.org Received: from durham-ar1-4-64-252-019.durham.dsl-verizon.net (durham-ar1-4-64-252-019.durham.dsl-verizon.net [4.64.252.19]) by hub.freebsd.org (Postfix) with SMTP id 8FBEF37B411 for ; Sun, 19 May 2002 09:26:11 -0700 (PDT) Received: (qmail 15973 invoked by uid 1001); 19 May 2002 16:27:11 -0000 Date: Sun, 19 May 2002 16:27:10 +0000 From: "J. Mallett" To: Bernd Walter Cc: "J. Mallett" , freebsd-current@FreeBSD.ORG Subject: Re: make(1) patch to ReadMakefile() to use realpath(3) Message-ID: <20020519162710.GA19228@FreeBSD.ORG> References: <20020519100420.GA8356@FreeBSD.ORG> <20020519132159.GI44753@cicely5.cicely.de> <20020519140003.GA19399@FreeBSD.ORG> <20020519153428.GK44753@cicely5.cicely.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020519153428.GK44753@cicely5.cicely.de> User-Agent: Mutt/1.3.27i Organisation: The FreeBSD Project Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, May 19, 2002 at 05:34:28PM +0200, Bernd Walter wrote: > > I even can't buildworld on another machine without taking care of > realpath. > If I don't enshure that the source has the same realpath on the > machine to run installworld as it had on the machine where I did > the buildworld it break. installworld does? How? The only possibility I can see here is that dependency rules might be bad because the full paths may differ, but that wouldn't affect installworld. > And all that without a real benefit from blindly using realpath(3). Show me a canonpath(3) or something which will give the simplest symbolic i.e. a simplified full path given a relative or absolute path with all redundancies resolved, without resolving away any symbolic paths. I'm ``blindly'' using the only answer we have to a question: how can I get an absolute (thus unique) path to an object in the filesystem. I'm open to alternative ways of doing that, especially as I described canonpath(3) above. Thanks. -- jmallett@FreeBSD.org | C, MIPS, POSIX, UNIX, BSD, IRC Geek. http://www.FreeBSD.org | The Power to Serve Vote for me for FreeBSD core or the cute little bunny gets it. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message