Re: [PATCH] Change attachment stamping to use stat st_mtime by default.

Oswald Buddenhagen via Mutt-dev <[email protected]>
Newsgroups gmane.mail.mutt.devel
Message-ID <[email protected]>
On Thu, Aug 20, 2026 at 12:44:29PM +0200, Vincent Lefevre wrote:
>On 2026-08-20 12:29:57 +0200, Oswald Buddenhagen via Mutt-dev wrote:
>> On Thu, Aug 20, 2026 at 10:54:23AM +0800, Kevin J. McCarthy wrote:
>> > This can result in time() being earlier than the mtime of a file
>> > just modified.
>> > 
>> it can't, as long as only the full seconds are compared.
>
>It can (even if you take the nanoseconds of st_mtim into account
>as they are non-negative[*]), as shown by the tests.
>
that's besides the point. the reasoning as given by the commit message 
is bogus.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.