Skip to content

Initialize earliest timestamps with file_time_type::min()#52

Merged
cwbaker merged 1 commit into
mainfrom
initialize-timestamps-with-minimum-time
Jun 1, 2026
Merged

Initialize earliest timestamps with file_time_type::min()#52
cwbaker merged 1 commit into
mainfrom
initialize-timestamps-with-minimum-time

Conversation

@cwbaker

@cwbaker cwbaker commented Jun 1, 2026

Copy link
Copy Markdown
Owner

On some system the earliest file time type is a negative value so initializing to 0 is incorrect. This causes the build to repeat over and over again because the default of 0 is always in the future compared with the latest write time of the files.

Fixed by initializing default timestamp, last write time, and earliest write times to file_time_type::min() in Target.

On some system the earliest file time type is a negative value so
initializing to 0 is incorrect.  This causes the build to repeat over
and over again because the default of 0 is always in the future compared
with the latest write time of the files.

Fixed by initializing default timestamp, last write time, and earliest
write times to file_time_type::min() in Target.
@cwbaker cwbaker self-assigned this Jun 1, 2026
@cwbaker cwbaker merged commit 9f6ff19 into main Jun 1, 2026
3 checks passed
@cwbaker cwbaker deleted the initialize-timestamps-with-minimum-time branch June 1, 2026 04:23
@cwbaker cwbaker temporarily deployed to github-pages June 1, 2026 04:24 — with GitHub Pages Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant