Skip to content

Add support for pre-POSIX tar #204

Merged
sindresorhus merged 3 commits intosindresorhus:masterfrom
stroncium:fix76
Apr 19, 2019
Merged

Add support for pre-POSIX tar #204
sindresorhus merged 3 commits intosindresorhus:masterfrom
stroncium:fix76

Conversation

@stroncium
Copy link
Contributor

Fixes #76

Replaced ustar magic check with checksum magic check and checksum validation.
Attempts to add some more magic failed, tar implementations don't seem to respect pad wtih NUL policy even for legacy mode.
Recommendations from https://en.wikipedia.org/wiki/Tar_(computing)

@sindresorhus sindresorhus changed the title Add support for pre-posix tar Add support for pre-POSIX tar Apr 19, 2019
@sindresorhus
Copy link
Owner

Thanks. Looks good now :)

@sindresorhus sindresorhus merged commit fc9f973 into sindresorhus:master Apr 19, 2019
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.

Pre-POSIX.1-1988 (i.e. v7) tar header

2 participants