Skip to content

Writer: ensure ModTime is at least Unix epoch#15

Merged
chrisnovakovic merged 1 commit intoplease-build:masterfrom
chrisnovakovic:writer-min-modtime
Oct 8, 2025
Merged

Writer: ensure ModTime is at least Unix epoch#15
chrisnovakovic merged 1 commit intoplease-build:masterfrom
chrisnovakovic:writer-min-modtime

Conversation

@chrisnovakovic
Copy link

Modification times before the Unix epoch cannot meaningfully be represented in ar file headers, which store times as stringified Unix times - ensure the modification time in the header that is passed to WriteHeader is at least the epoch.

Modification times before the Unix epoch cannot meaningfully be
represented in ar file headers, which store times as stringified Unix
times - ensure the modification time in the header that is passed to
`WriteHeader` is at least the epoch.
@chrisnovakovic chrisnovakovic merged commit 6bbc97e into please-build:master Oct 8, 2025
2 checks passed
@chrisnovakovic chrisnovakovic deleted the writer-min-modtime branch October 8, 2025 12:44
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.

2 participants