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

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to