[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: file-equal-p

From: Andreas Schwab
Subject: Re: file-equal-p
Date: Fri, 17 Feb 2023 11:02:48 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)

On Feb 16 2023, Richard Stallman wrote:

> If so, can Emacs examine it using that other way?

The right way to solve the issue is to only compare the inode and device
numbers.  The other attributes (other than the type) can change any time
for unrelated reasons, and do not define the identity of a file.

Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."

reply via email to

[Prev in Thread] Current Thread [Next in Thread]