Re: how to get/set the atime of a file?

Tuomo Valkonen <[email protected]>
Newsgroups gmane.comp.window-managers.ion.general
Message-ID <[email protected]>
On 2008-02-19, sunway <[email protected]> wrote:
> mutt use atime/ctime to determine whether there is new mail, however,
> statusd_mail will change the actime periodly, that cause mutt always think there is no new mail.

Mutt is lame, if uses atime. It should use just ctime.

(It is possible to *lie* about the atime by setting it to
another value with the utimes syscall. I consider such
very bad behaviour rid with race conditions, that should
be avoided in normal circumstances.)

-- 
Tuomo
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.