https://bugs.freedesktop.org/show_bug.cgi?id=44982

--- Comment #5 from Michael Meeks <[email protected]> 2012-03-08 
03:50:46 PST ---
Good question, I -guess- that most 'isFile' calls that return false for linked
files are sucky bugs that will bust symlinks ;-)

Perhaps we need 'isRegularFile()' ;-) as a name instead of isFile - to denote
that it is not a link.

Anything else would be slower - walking an entire stat chain, and coping with
broken / circular symlinks etc. is a bit of a pain really :-) And of course
links can point to directories or files - so ... I'd just go with the rename
above :-)

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to