On Sun, May 19, 2002 at 07:17:39PM +0000, J. Mallett wrote:
> On Sun, May 19, 2002 at 08:47:29PM +0200, Bernd Walter wrote:
> >
> > > Look at getcwd_logical() in pwd.c
> >
> > Aha - but that does mean trusting $PWD.
> >
>
> The only thing that can keep track of where we started vs. where we cd to
> is the shell, and so we'd have to trust what it says PWD is.
>
> A possible pseudo-solution would be to give our *build system* (note:
> NOT the make program) a .TOPDIR variable which would be intiailised to
> something sane to begin with, and build relative/logical paths on top
> of it, i.e.
> .TOPDIR + realpath(".") - (realpath(.TOPDIR) - .TOPDIR)
>
> To get the current directory.
>
> But damn that's messy, damn that's a lot of overhead, and I think at that
> point we're really stretching how much can be gained from such things.
We should simply forget my whole point.
I recognised that softlinks doesn't work that way I (and amd) hoped.
--
B.Walter COSMO-Project http://www.cosmo-project.de
[EMAIL PROTECTED] Usergroup [EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message