diff options
Diffstat (limited to 'Master/tlpkg/tlperl/lib/Archive')
-rw-r--r-- | Master/tlpkg/tlperl/lib/Archive/Tar.pm | 4 | ||||
-rw-r--r-- | Master/tlpkg/tlperl/lib/Archive/Tar/Constant.pm | 7 | ||||
-rw-r--r-- | Master/tlpkg/tlperl/lib/Archive/Tar/File.pm | 2 |
3 files changed, 8 insertions, 5 deletions
diff --git a/Master/tlpkg/tlperl/lib/Archive/Tar.pm b/Master/tlpkg/tlperl/lib/Archive/Tar.pm index 6a047a32d6c..d63e586317e 100644 --- a/Master/tlpkg/tlperl/lib/Archive/Tar.pm +++ b/Master/tlpkg/tlperl/lib/Archive/Tar.pm @@ -31,7 +31,7 @@ use vars qw[$DEBUG $error $VERSION $WARN $FOLLOW_SYMLINK $CHOWN $CHMOD $DEBUG = 0; $WARN = 1; $FOLLOW_SYMLINK = 0; -$VERSION = "2.04_01"; +$VERSION = "2.24"; $CHOWN = 1; $CHMOD = 1; $SAME_PERMISSIONS = $> == 0 ? 1 : 0; @@ -263,7 +263,7 @@ sub _get_handle { ### different reader/writer modules, different error vars... sigh if( MODE_READ->($mode) ) { - $fh = IO::Uncompress::Bunzip2->new( $file ) or do { + $fh = IO::Uncompress::Bunzip2->new( $file, MultiStream => 1 ) or do { $self->_error( qq[Could not read '$file': ] . $IO::Uncompress::Bunzip2::Bunzip2Error ); diff --git a/Master/tlpkg/tlperl/lib/Archive/Tar/Constant.pm b/Master/tlpkg/tlperl/lib/Archive/Tar/Constant.pm index f9557e90197..6488d653f98 100644 --- a/Master/tlpkg/tlperl/lib/Archive/Tar/Constant.pm +++ b/Master/tlpkg/tlperl/lib/Archive/Tar/Constant.pm @@ -3,7 +3,7 @@ package Archive::Tar::Constant; BEGIN { require Exporter; - $VERSION = '2.04_01'; + $VERSION = '2.24'; @ISA = qw[Exporter]; require Time::Local if $^O eq "MacOS"; @@ -11,6 +11,9 @@ BEGIN { @EXPORT = Archive::Tar::Constant->_list_consts( __PACKAGE__ ); +use strict; +use warnings; + use constant FILE => 0; use constant HARDLINK => 1; use constant SYMLINK => 2; @@ -50,7 +53,7 @@ use constant MODE => do { 0666 & (0777 & ~umask) }; use constant STRIP_MODE => sub { shift() & 0777 }; use constant CHECK_SUM => " "; -use constant UNPACK => 'A100 A8 A8 A8 a12 A12 A8 A1 A100 A6 A2 A32 A32 A8 A8 A155 x12'; # cdrake - size must be a12 - not A12 - or else screws up huge file sizes (>8gb) +use constant UNPACK => 'a100 a8 a8 a8 a12 a12 a8 a1 a100 A6 a2 a32 a32 a8 a8 a155 x12'; # cdrake - size must be a12 - not A12 - or else screws up huge file sizes (>8gb) use constant PACK => 'a100 a8 a8 a8 a12 a12 A8 a1 a100 a6 a2 a32 a32 a8 a8 a155 x12'; use constant NAME_LENGTH => 100; use constant PREFIX_LENGTH => 155; diff --git a/Master/tlpkg/tlperl/lib/Archive/Tar/File.pm b/Master/tlpkg/tlperl/lib/Archive/Tar/File.pm index 3ecad56fab2..dc4c4c77a01 100644 --- a/Master/tlpkg/tlperl/lib/Archive/Tar/File.pm +++ b/Master/tlpkg/tlperl/lib/Archive/Tar/File.pm @@ -13,7 +13,7 @@ use Archive::Tar::Constant; use vars qw[@ISA $VERSION]; #@ISA = qw[Archive::Tar]; -$VERSION = '2.04_01'; +$VERSION = '2.24'; ### set value to 1 to oct() it during the unpack ### |