perl-asp mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Josh Chamas <>
Subject Re: "bug" in FileId() ?
Date Thu, 21 Nov 2002 19:22:49 GMT
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.


Josh Chamas, Founder                   phone:925-552-0128
Chamas Enterprises Inc.      
NodeWorks Link Checking      

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message