<<On Mon, 18 Jun 2001 21:35:17 +0400, "Andrey A. Chernov" <[EMAIL PROTECTED]> said: >> > ./foo/ .// >> > ./foo/bar .//bar >> >> No, because the ``resulting filename'' begins with a slash. > It seems resulting filename (pathname?) begins with "./" (not a slash). No, it doesn't. The ``resulting filename'' is "/" in the first case, and "/bar" in the second case. Both begin with a slash, and so are resolved relative to the root. There is no "./" involved anywhere in the process. The value of the symbolic link is not somehow inserted into the path being resolved. Once a symbolic link is encountered, pathname resolution *starts over* with the last directory searched in the old path used as the current working directory. -GAWollman To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
- Ok, try this patch. (was Re: symlink(2) [Was: Re: tcsh.c... Matt Dillon
- Re: Ok, try this patch. (was Re: symlink(2) [Was: R... Bruce Evans
- Re: Ok, try this patch. (was Re: symlink(2) [Was: R... Garrett Wollman
- Re: Ok, try this patch. (was Re: symlink(2) [Was: R... Andrey A. Chernov
- Re: Ok, try this patch. (was Re: symlink(2) [Was: R... Bakul Shah
- Re: Ok, try this patch. (was Re: symlink(2) [Was: R... Garrett Wollman
- Re: Ok, try this patch. (was Re: symlink(2) [Was: R... Andrey A. Chernov
- Re: Ok, try this patch. (was Re: symlink(2) [Was: R... Garrett Wollman
- Re: Ok, try this patch. (was Re: symlink(2) [Was: R... Matt Dillon
- Re: Ok, try this patch. (was Re: symlink(2) [Wa... Garrett Wollman
- Re: Ok, try this patch. (was Re: symlink(2) [Was: R... Bruce Evans
- Re: Ok, try this patch. (was Re: symlink(2) [Was: R... Matt Dillon
- Re: Ok, try this patch. (was Re: symlink(2) [Was: R... Bruce Evans