Hurd does not support 64-bit time_t internally.
{
file->size = st->st_size;
file->ino = st->st_ino;
- file->mtime = st->st_mtim;
- file->ctime = st->st_ctim;
+ file->mtime = (struct __timespec64) { st->st_mtim.tv_sec,
+ st->st_mtim.tv_nsec };
+ file->ctime = (struct __timespec64) { st->st_ctim.tv_sec,
+ st->st_ctim.tv_nsec };
}
}
libc_hidden_def (__file_change_detection_for_stat)
static inline void
save_gaiconf_mtime (const struct __stat64_t64 *st)
{
- gaiconf_mtime = st->st_mtim;
+ gaiconf_mtime = (struct __timespec64) { st->st_mtim.tv_sec,
+ st->st_mtim.tv_nsec };
}
static inline bool