[plt-scheme] Determine that two paths point to same file?

From: Eli Barzilay (eli at barzilay.org)
Date: Tue May 26 17:10:29 EDT 2009

On May 26, Thomas Chust wrote:
> Probably the best way to determine whether two paths are actually
> aliases for the same file on a POSIX system is to stat them and to
> compare both the device and inode numbers of the results for
> identity.
> However, I don't think PLT Scheme has any builtin procedures to do
> that.

See `port-file-identity' (which Matthew referred to in his reply).

          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                  http://www.barzilay.org/                 Maze is Life!

Posted on the users mailing list.