validate_old_timelog
if (validate_old_timelog(dir_fd, dp, base, &tm) == 0)
if (validate_old_timelog(dir_fd, dp, logfname, &tm) == 0)