Ticket #58045: patch-logrotate.c.diff

File patch-logrotate.c.diff, 445 bytes (added by Schamschula (Marius Schamschula), 5 years ago)
  • logrotate.c

    old new  
    688688    /* If we can't change atime/mtime, it's not a disaster.  It might
    689689       possibly fail under SELinux. But do try to preserve the
    690690       fractional part if we have utimensat(). */
    691 #ifdef HAVE_UTIMENSAT
     691#if defined HAVE_UTIMENSAT && !defined(__APPLE__)
    692692    struct timespec ts[2];
    693693
    694694    ts[0] = sb->st_atim;