emacs-devel
[Top][All Lists]
Advanced

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

Re: file-equal-p


From: Eli Zaretskii
Subject: Re: file-equal-p
Date: Thu, 16 Feb 2023 10:18:17 +0200

> From: Po Lu <luangruo@yahoo.com>
> Date: Thu, 16 Feb 2023 09:30:58 +0800
> 
> Someone says that Haiku changes the file access time every time `stat'
> is called on a file, and as a result `file-equal-p' doesn't work, as it
> compares the file attributes of both operands.
> 
> Ideas?  Thanks.

Fix Haiku?  A 'stat' call accesses the directory and file's meta-data,
not the file itself, so what Haiku does makes no sense, IMO.

But if you cannot fix Haiku, a suitable haiku-only change in
file-equal-p, whereby the access times are exempt from comparison, is
a possibility.



reply via email to

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