• Timo Teräs's avatar
    db: fix refreshing index if time is zero · 258519b1
    Timo Teräs authored
    During netboot on systems without RTC, time() will be near zero,
    and the index fill not exist. Thus the plain test of st.st_mtime
    against system time failed. Verify that fstatat() succeeds.
database.c 77.8 KB