On Wed, Aug 19, 2026 at 01:43:57PM +0200, Vincent Lefevre wrote:
On 2026-08-19 13:21:18 +0200, Vincent Lefevre wrote:
Well, I'm assuming that in case of $edit_headers set, Mutt does
the call to time(NULL) *after* the creation of the new file, but
I haven't checked that. If this is not the case, this would be
an obvious explanation of the issue.

This is fine. However, I can reproduce the issue many times
every second with

Mutt isn't calling time() immediately in either case. It scans the file first in mutt_update_encoding(). But still this is a good find. It seems like a file system bug to me, but if it's affecting Mutt in Debian then we should do something.

Does changing the stamp to time(NULL) + 1 work? If not, then we can try changing it to invoke stat instead.

--
Kevin J. McCarthy
GPG Fingerprint: 8975 A9B3 3AA3 7910 385C  5308 ADEF 7684 8031 6BDA

Attachment: signature.asc
Description: PGP signature

Reply via email to