--- Comment #7 from Sobirari Muhomori <> 2010-03-01 
07:04:11 PST ---
(In reply to comment #1)
> Thanks, I'll look into it. Just like you, I'm unclear whether isdir() vs.
> isfile() should automatically dereference the link. I think we should keep the
> current behavior and add an islink() test that tells whether the thing is
> actually a link.
Actually windows gone the same way: if you want to examine symlink, you should
state it explicitly.

(In reply to comment #2)
> The main problem with having isdir() and isfile() continuing to use stat, and
> having the programmer just call issymlink() to check whether it's a link is
> that that's a call to stat _and_ a call to lstat, and from what I understand
> stat and lstat are a bit expensive (presumably because they have to talk to
> disk).
They don't talk to disk, they talk to disk cache.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to