Curille Lefrvre wrote:

> David Korn a écrit:
> {snip]
> > 2.  I eliminate duplicates based on device,i-node.
> 
> how about check file permissions too, since autoloaded functions
> usualy aren't executable.

I would not advocate using the eXecute bits for determining if a file is a
function or not.  The whole set of permissions can indeed be compared from
two filepaths in order to help determine if the two files are actually the
same (as comparing 'mtime' would also help do), but using the eXecute bit
to determine whether a file is an executable or function is not advised
(IMHO) since this would break backwards compatibility.

David Morano
[EMAIL PROTECTED]


_______________________________________________
ast-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-users

Reply via email to