this is XEmacs 19.14. xemacs.info (said to correspont to 19.13) states:
The bit about hard-links is incorrect, files with the same inode canQuote:> If the variable `find-file-compare-truenames' value is non-`nil',
> the `find-file' command will check the `buffer-file-truename' of all
> visited files when deciding whether a given file is already in a
> buffer, instead of just `buffer-file-name'. If you attempt to visit
> another file which is a hard-link or symbolic-link to a file that is
> already in a buffer, the existing buffer will be found instead of a
> newly created one.
be visited twice. The variable description (C-h v) of
'find-file-compare-truenames' is right:
One could check not only for equal buffer-file-truename but also forQuote:> [...] This works if any component of the pathname (including a non-
> terminal component) is a symbolic link as well, but doesn't work with hard
> links (nothing does).
equal buffer-file-number in get-file-buffer to grok hard-links.