> > High probability is all you have. Cosmic radiation hitting your
With the suggested samefile() interface you'd get a failure with just
about 100% reliability for any application which needs to compare a
more than a few files. The fact is open files are _very_ expensive,
no wonder they are limited in various ways.
What should 'tar' do when it runs out of open files, while searching
for hardlinks? Should it just give up? Then the samefile() interface
would be _less_ reliable than the st_ino one by a significant margin.
Miklos
-