From owner-cvs-all Tue May 21 16: 0:51 2002 Delivered-To: cvs-all@freebsd.org Received: from treetop.robbins.dropbear.id.au (079.a.009.mel.iprimus.net.au [210.50.112.79]) by hub.freebsd.org (Postfix) with ESMTP id 6DF6337B411; Tue, 21 May 2002 16:00:26 -0700 (PDT) Received: from treetop.robbins.dropbear.id.au (localhost [127.0.0.1]) by treetop.robbins.dropbear.id.au (8.12.2/8.12.2) with ESMTP id g4LMx8YG026541; Wed, 22 May 2002 08:59:09 +1000 (EST) (envelope-from tim@treetop.robbins.dropbear.id.au) Received: (from tim@localhost) by treetop.robbins.dropbear.id.au (8.12.2/8.12.2/Submit) id g4LMx6nq026540; Wed, 22 May 2002 08:59:06 +1000 (EST) Date: Wed, 22 May 2002 08:59:06 +1000 From: "Tim J. Robbins" To: David Malone Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/bin/sh cd.c sh.1 Message-ID: <20020522085906.B19075@treetop.robbins.dropbear.id.au> References: <200205200754.g4K7se228359@freefall.freebsd.org> <20020521214253.GA673@walton.maths.tcd.ie> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020521214253.GA673@walton.maths.tcd.ie>; from dwmalone@maths.tcd.ie on Tue, May 21, 2002 at 10:42:53PM +0100 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, May 21, 2002 at 10:42:53PM +0100, David Malone wrote: > Since this change I'm not able to build world, I get random failures > saying "getcwd() failed: No such file or directory". This seems to > be comming from sh - the error should actually say "getpwd" not > "getcwd", as it is using an sh builtin to do the work. "getcwd() failed: No such file or directory" means that getcwd() couldn't follow the .. links back to the root. Odd. I can reproduce the problem here, though. > If I back out this change, then I can build world again. I can also > reproduce it by doing a "make cleandir". I'll back it out if I can't fix it soon. Either I've got my logic wrong, or make is making incorrect assumptions about /bin/sh. Tim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message