<<< Date Index >>>     <<< Thread Index >>>

Re: [Mutt] #3271: mutt 1.5.20 regression: not updating time fields



#3271: mutt 1.5.20 regression: not updating time fields on mbox
-------------------------------+--------------------------------------------
  Reporter:  antonio@xxxxxxxx  |       Owner:  pdmef   
      Type:  defect            |      Status:  accepted
  Priority:  minor             |   Milestone:  1.6     
 Component:  mutt              |     Version:  1.5.20  
Resolution:                    |    Keywords:          
-------------------------------+--------------------------------------------

Comment(by pdmef):

 I've updated the patch to really not mangle atime by resetting it back to
 where it was before the changing the file. This is what the old working
 code did. The atime is modified if and only if the mailbox has at least
 one new mail and atime is newer than mtime. The last version errorneously
 also set atime=mtime if no new message was found.

-- 
Ticket URL: <http://dev.mutt.org/trac/ticket/3271#comment:9>
Mutt <http://www.mutt.org/>
The Mutt mail user agent