http://qs321.pair.com?node_id=859623


in reply to Re^2: Detecting whether two pathes refer to the same file
in thread Detecting whether two pathes refer to the same file

In what way could this affect me? I just have to compare the inode numbers (and device numbers, as you pointed out), as they are returned from stat,isn't it?

If your perl doesn't support 64 bits inodes, stat will fail in weird ways; in the worst case, it could return erroneous inodes and wrongly state different files as the same.

  • Comment on Re^3: Detecting whether two pathes refer to the same file