Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Aug 2001 13:32:55 -0600
From:      Nate Williams <nate@yogotech.com>
To:        Andrew Gallatin <gallatin@cs.duke.edu>
Cc:        marcel@FreeBSD.ORG, freebsd-emulation@FreeBSD.ORG
Subject:   Re: please review- linulator getcwd bugfix
Message-ID:  <15236.2279.652526.100091@nomad.yogotech.com>
In-Reply-To: <15236.1706.531042.974240@grasshopper.cs.duke.edu>
References:  <15236.1706.531042.974240@grasshopper.cs.duke.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15236.2279.652526.100091>