Hi Weixie,
thanks for the patch and sorry for the delay.
On 3/4/26 14:09, Weixie Cui wrote:
-anewer was incorrectly using mtime for both the reference file and
the comparison.
what makes you think that this would be incorrect?
The manpage states:
-anewer reference
Like -newer, but test if the time of the last access of the current file
is more
recent than that of the last data modification of the reference file.
and the Texinfo manual is even more clear:
[...] As such, ‘-anewer’ is equivalent to ‘-neweram’, ‘-cnewer’ to ‘-newercm’,
and ‘-newer’ to ‘-newermm’.
Therefore, I think the behavior is correct and as documented.
Have a nice day,
Berny