Ian Cass wrote:
What I would like to avoid is having InodeNames try to work on
any system for which device and file ids are 0
But surely on some weird systems that might be valid? If the stat call
fails, it will return undef. It should therefore be safe to assume that if
the stat call does not return undef, it has suceeded and the results are
valid?
Its not that the stat call would fail, but that the
dev/file inode portions returned on the stat call
would be meaningless, like 0,0 or undef,undef
I believe I saw this a long while back on some win32 perl,
so that is why I test for the inode numbers at all.
Regards,
Josh
________________________________________________________________
Josh Chamas, Founder phone:925-552-0128
Chamas Enterprises Inc. http://www.chamas.com
NodeWorks Link Checking http://www.nodeworks.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]