Subject: Re: Fix ".. " semantic project (Was =?WINDO..)
To: None <camjelemon@gmail.com>
From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
List: tech-kern
Date: 03/06/2007 07:45:37
> > I've finished to implement a "first draft" of a Plan 9-like getcwd as
> > described in Rob Pike's paper:
> > http://www.netbsd.org/contrib/projects.html#dotdot
i think it shouldn't be on the page in the first place. sorry for that.
> > It seems that this getcwd isn't POSIX compliant (But ksh uses a
> > builtin Plan 9-like pwd...):
> > http://www.opengroup.org/onlinepubs/000095399/functions/getcwd.html
> > "The pathname copied to the array shall contain no components that are
> > symbolic links."
> > Maybe creating a new getcwd function would be better ? (eg: getcwdd...)
> > Or aborting this project ?
please abort it.
i don't see any point to introduce confusions by changing well-known,
standard-defined behaviour. symlinks are symlinks.
plan9-like bind might be useful, but it's another topic.
YAMAMOTO Takashi