* utimecmp.c: Include stat-time.h.
[pspp] / lib / ChangeLog
index 3304fa06c19ecd9d2195468c19fe4d48a25bbe51..1786690b9f5a7e78b177b2f7bb371da913c03a65 100644 (file)
@@ -1,10 +1,14 @@
-2005-09-15  Paul Eggert  <eggert@cs.ucla.edu>
+2005-09-16  Paul Eggert  <eggert@cs.ucla.edu>
 
        * stat-time.h: New file.
        * timespec.h (ST_TIME_CMP_NS, ST_TIME_CMP, ATIME_CMP, CTIME_CMP):
        (MTIME_CMP, TIMESPEC_NS): Remove.  Now done by stat-time.h,
        in a different way.
        (timespec_cmp): New function.
+       * utimecmp.c: Include stat-time.h.
+       (SYSCALL_RESOLUTION): Depend on whether various struct stat
+       members exist, not on the obsolescent ST_MTIM_NSEC.
+       (utimecmp): Use the new stat-time functions rater than TIMESPEC_NS.
 
 2005-09-15  Derek Price  <derek@ximbiot.com>
            Paul Eggert  <eggert@cs.ucla.edu>