Switch to side-by-side view
--- a/src/internfile/mh_mbox.cpp +++ b/src/internfile/mh_mbox.cpp @@ -267,6 +267,11 @@ fn.c_str())); return false; } +#if defined O_NOATIME && O_NOATIME != 0 + if (fcntl(fileno((FILE *)m_vfp), F_SETFL, O_NOATIME) < 0) { + // perror("fcntl"); + } +#endif fseek((FILE *)m_vfp, 0, SEEK_END); m_fsize = ftell((FILE*)m_vfp); fseek((FILE*)m_vfp, 0, SEEK_SET);