From owner-freebsd-emulation Wed Aug 22 12:33:10 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by hub.freebsd.org (Postfix) with ESMTP id B9F2C37B412; Wed, 22 Aug 2001 12:33:02 -0700 (PDT) (envelope-from nate@yogotech.com) Received: from nomad.yogotech.com (nomad.yogotech.com [206.127.123.131]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id NAA12863; Wed, 22 Aug 2001 13:32:56 -0600 (MDT) (envelope-from nate@nomad.yogotech.com) Received: (from nate@localhost) by nomad.yogotech.com (8.8.8/8.8.8) id NAA11260; Wed, 22 Aug 2001 13:32:56 -0600 (MDT) (envelope-from nate) From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15236.2279.652526.100091@nomad.yogotech.com> Date: Wed, 22 Aug 2001 13:32:55 -0600 To: Andrew Gallatin Cc: marcel@FreeBSD.ORG, freebsd-emulation@FreeBSD.ORG Subject: Re: please review- linulator getcwd bugfix In-Reply-To: <15236.1706.531042.974240@grasshopper.cs.duke.edu> References: <15236.1706.531042.974240@grasshopper.cs.duke.edu> X-Mailer: VM 6.95 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > Currently, linux_getcwd() is broken. It calls __getcwd(). __getcwd() > is essentially an optimiziation on FreeBSD. If the cwd is in the > namei cache, then it returns it & saves libc a lot of trouble. > However, linux expects it to always succeed. When it fails, linux > apps end up with an error condition they don't expect, and strange and > bizzare things can happen (like trying to open files in / rather than > in /some/path/name). This happens often when running programs > compiled by the compaq linux/alpha Fortran compiler. I think this also bites the Linux-Java binaries as well, especially during bootstrapping issues compiling the native version. Thanks for fixing this Drew!!! Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message