diff options
author | Paul Schoenfelder <[email protected]> | 2017-01-31 17:40:34 -0600 |
---|---|---|
committer | Paul Schoenfelder <[email protected]> | 2017-02-16 08:55:15 -0500 |
commit | aa0c4b0df7cdc750450906aff4e8c81627d80605 (patch) | |
tree | 1dddc195225011bb7fefd1094bc6852629b44f21 /lib/stdlib/test/tar_SUITE_data | |
parent | cce3120dd0021c5ab5bf8d5b4088e7364f678dda (diff) | |
download | otp-aa0c4b0df7cdc750450906aff4e8c81627d80605.tar.gz otp-aa0c4b0df7cdc750450906aff4e8c81627d80605.tar.bz2 otp-aa0c4b0df7cdc750450906aff4e8c81627d80605.zip |
Update erl_tar to support PAX format, etc.
This commit introduces the following key changes:
- Support for reading tar archives in formats currently in common use,
such as v7, STAR, USTAR, PAX, and GNU tar's extensions to the
STAR/USTAR format.
- Support for writing PAX archives, only when necessary, using USTAR
when possible for greater portability.
These changes result in lifting of some prior restrictions:
- Support for reading archives produced by modern tar implementations
when other restrictions described below are present.
- Support for filenames which exceed 100 bytes in length, or paths which
exceed 255 bytes (see USTAR format specification for more details on
this restriction).
- Support for filenames of arbitrary length
- Support for unicode metadata (the previous behaviour of erl_tar was
actually violating the spec, by writing unicode-encoded data to fields
which are defined to be 7-bit ASCII, even though this technically
worked when using erl_tar at source and destination, it may not have
worked with other tar utilities, and this implementation now conforms
to the spec).
- Support for uid/gid values which cannot be converted to octal
integers.
Diffstat (limited to 'lib/stdlib/test/tar_SUITE_data')
-rw-r--r-- | lib/stdlib/test/tar_SUITE_data/bsd.tar | bin | 0 -> 9216 bytes |
-rw-r--r-- | lib/stdlib/test/tar_SUITE_data/gnu.tar | bin | 0 -> 30720 bytes |
-rw-r--r-- | lib/stdlib/test/tar_SUITE_data/pax_mtime.tar | bin | 0 -> 10240 bytes |
-rw-r--r-- | lib/stdlib/test/tar_SUITE_data/sparse00.tar | bin | 0 -> 61440 bytes |
-rw-r--r-- | lib/stdlib/test/tar_SUITE_data/sparse01.tar | bin | 0 -> 61440 bytes |
-rw-r--r-- | lib/stdlib/test/tar_SUITE_data/sparse01_empty.tar | bin | 0 -> 10240 bytes |
-rw-r--r-- | lib/stdlib/test/tar_SUITE_data/sparse10.tar | bin | 0 -> 61440 bytes |
-rw-r--r-- | lib/stdlib/test/tar_SUITE_data/sparse10_empty.tar | bin | 0 -> 10240 bytes |
-rw-r--r-- | lib/stdlib/test/tar_SUITE_data/star.tar | bin | 0 -> 10240 bytes |
-rw-r--r-- | lib/stdlib/test/tar_SUITE_data/v7.tar | bin | 0 -> 10240 bytes |
10 files changed, 0 insertions, 0 deletions
diff --git a/lib/stdlib/test/tar_SUITE_data/bsd.tar b/lib/stdlib/test/tar_SUITE_data/bsd.tar Binary files differnew file mode 100644 index 0000000000..8c31864be0 --- /dev/null +++ b/lib/stdlib/test/tar_SUITE_data/bsd.tar diff --git a/lib/stdlib/test/tar_SUITE_data/gnu.tar b/lib/stdlib/test/tar_SUITE_data/gnu.tar Binary files differnew file mode 100644 index 0000000000..60268065c1 --- /dev/null +++ b/lib/stdlib/test/tar_SUITE_data/gnu.tar diff --git a/lib/stdlib/test/tar_SUITE_data/pax_mtime.tar b/lib/stdlib/test/tar_SUITE_data/pax_mtime.tar Binary files differnew file mode 100644 index 0000000000..1b6e80ffac --- /dev/null +++ b/lib/stdlib/test/tar_SUITE_data/pax_mtime.tar diff --git a/lib/stdlib/test/tar_SUITE_data/sparse00.tar b/lib/stdlib/test/tar_SUITE_data/sparse00.tar Binary files differnew file mode 100644 index 0000000000..61a04de90b --- /dev/null +++ b/lib/stdlib/test/tar_SUITE_data/sparse00.tar diff --git a/lib/stdlib/test/tar_SUITE_data/sparse01.tar b/lib/stdlib/test/tar_SUITE_data/sparse01.tar Binary files differnew file mode 100644 index 0000000000..61a04de90b --- /dev/null +++ b/lib/stdlib/test/tar_SUITE_data/sparse01.tar diff --git a/lib/stdlib/test/tar_SUITE_data/sparse01_empty.tar b/lib/stdlib/test/tar_SUITE_data/sparse01_empty.tar Binary files differnew file mode 100644 index 0000000000..efa6d060f4 --- /dev/null +++ b/lib/stdlib/test/tar_SUITE_data/sparse01_empty.tar diff --git a/lib/stdlib/test/tar_SUITE_data/sparse10.tar b/lib/stdlib/test/tar_SUITE_data/sparse10.tar Binary files differnew file mode 100644 index 0000000000..61a04de90b --- /dev/null +++ b/lib/stdlib/test/tar_SUITE_data/sparse10.tar diff --git a/lib/stdlib/test/tar_SUITE_data/sparse10_empty.tar b/lib/stdlib/test/tar_SUITE_data/sparse10_empty.tar Binary files differnew file mode 100644 index 0000000000..efa6d060f4 --- /dev/null +++ b/lib/stdlib/test/tar_SUITE_data/sparse10_empty.tar diff --git a/lib/stdlib/test/tar_SUITE_data/star.tar b/lib/stdlib/test/tar_SUITE_data/star.tar Binary files differnew file mode 100644 index 0000000000..b0631e3b13 --- /dev/null +++ b/lib/stdlib/test/tar_SUITE_data/star.tar diff --git a/lib/stdlib/test/tar_SUITE_data/v7.tar b/lib/stdlib/test/tar_SUITE_data/v7.tar Binary files differnew file mode 100644 index 0000000000..9918e006bb --- /dev/null +++ b/lib/stdlib/test/tar_SUITE_data/v7.tar |