Ignore:
Timestamp:
Jan 29, 2008, 10:20:25 AM (12 years ago)
Author:
gb
Message:

Linux :stat.st_mtim is a timespec (seconds, nanoseconds), not a timeval.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/level-1/linux-files.lisp

    r8345 r8351  
    274274       (pref stat :stat.st_blksize)
    275275       #+linux-target
    276        (pref stat :stat.st_mtim.tv_usec)
     276       (round (pref stat :stat.st_mtim.tv_nsec) 1000)
    277277       #-linux-target
    278278       (round (pref stat :stat.st_mtimespec.tv_nsec) 1000)
Note: See TracChangeset for help on using the changeset viewer.