
25 Jan
2005
25 Jan
'05
2:22 p.m.
Jules Bean wrote:
[...] it is an extension of the notion that "/foo/" and "/foo" refer to the same directory. (Except, apparently, in the presence of symbolic links... or so I have some vague memory)
Yes, "/foo/" is equivalent to "/foo/.", which is not always the same as "/foo". If "/foo" is a symlink, then lstat("/foo/", ...) will stat the directory at the other end, not the symlink. -- Ben