Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid zero-mtime files #250

Merged
merged 1 commit into from May 27, 2021
Merged

Avoid zero-mtime files #250

merged 1 commit into from May 27, 2021

Commits on May 26, 2021

  1. Avoid zero-mtime files

    With rust-lang/cargo#9512 discovered this is, uh, odd fallout of the
    "deterministic" header mode in this crate. This is an unintended
    consequence of the deterministic header mode which should ideally be
    fixable. This commit changes the `tar` crate to use a different constant
    than 0 when creating archives with the deterministic header mode
    (specifically 123456789: Nov 29, 1973). It also will now refuse to
    create files with a 0 mtime, instead resetting the mtime to 1 which
    should help the mtime be nonzero so tools like lldb don't accidentally
    think it's zero.
    alexcrichton committed May 26, 2021
    Copy the full SHA
    d32bbf5 View commit details
    Browse the repository at this point in the history