To alter just the atime of the mailspool, use utimensat()+UTIME_OMIT instead
authorguenther <guenther@openbsd.org>
Tue, 13 Oct 2015 08:49:51 +0000 (08:49 +0000)
committerguenther <guenther@openbsd.org>
Tue, 13 Oct 2015 08:49:51 +0000 (08:49 +0000)
commit77fba80380b06808f4f4034f83899ffb0fe9f6c5
tree488890112a7221c8b5e54c3b9981b29606a749e9
parent3ca712841839e6920a1f61718daf134ee188a648
To alter just the atime of the mailspool, use utimensat()+UTIME_OMIT instead
of stat()+utimes().  Prefer clock_gettime() over gettimeofday() to avoid
timeval->timespec conversion

ok millert@
usr.bin/mail/aux.c
usr.bin/mail/def.h