Skip Menu |

This queue is for tickets about the Archive-Tar CPAN distribution.

Report information
The Basics
Id: 2891
Status: resolved
Priority: 0/
Queue: Archive-Tar

People
Owner: Nobody in particular
Requestors: Ronald.hill [...] plms-eds.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.03
Fixed in: (no value)



Subject: unable to generate a usable archive on Win32 platform binary files
Hello, I am running activestate 5.6.1 and am having problems with generating a usable archive with this module(compression off and on). As far as I can tell , the module has problems with binary files. Here is the script I used for testing. use strict; use Archive::Tar; opendir(IN,'h:/test') or die"Can't open dir for reading\n"; my @test; while (defined (my $file = readdir IN) ) { next if $file =~ /^\.\.?$/; my $test = "h:/test/$file"; push (@test, $test); } Archive::Tar->create_archive('g:/hillr/test.tar',0, @test); In the test directory, If I have only txt file located there the archive is generated correctly. However, if I put a binary file in the directory the archive is generated but I am unable to extract all of the files in the archive. It's like the module will stop at the binary file and lose anything after that! I hope I have explained this well enough. perl version is as follows: This is perl, v5.6.1 built for MSWin32-x86-multi-thread (with 1 registered patch, see perl -V for more detail) Copyright 1987-2001, Larry Wall Binary build 629 provided by ActiveState Tool Corp. http://www.ActiveState.com Built 12:27:04 Aug 20 2001 Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using `man perl' or `perldoc perl'. If you have access to the Internet, point your browser at http://www.perl.com/, the Perl Home Page. I have also similar problems with version 5.8.0 If you have any questions Pls e-mail me!! Thanks Ron Hill
Date: Thu, 3 Jul 2003 19:24:46 +0200
Subject: Re: [cpan #2890] unable to generate a usable archive on Win32 platform binary files
From: "Jos I. Boumans" <kane [...] dwim.org>
To: bug-Archive-Tar [...] rt.cpan.org
RT-Send-Cc:
On Thursday, Jul 3, 2003, at 18:37 Europe/Amsterdam, Guest via RT wrote: Show quoted text
> I am running activestate 5.6.1 and am having problems with generating > a usable archive with this module(compression off and on). As far as I > can tell , the module has problems with binary files. Here is the > script I used for testing. > > use strict; > use Archive::Tar;
and what version are you running of archive::tar? -- Jos Boumans How do I prove I am not crazy to people who are? CPANPLUS http://cpanplus.sf.net
Subject: unable to generate a usable archive on Win32 platform binary files
Hello, I am running activestate 5.6.1 and am having problems with generating a usable archive with this module(compression off and on). As far as I can tell , the module has problems with binary files. Here is the script I used for testing. use strict; use Archive::Tar; opendir(IN,'h:/test') or die"Can't open dir for reading\n"; my @test; while (defined (my $file = readdir IN) ) { next if $file =~ /^\.\.?$/; my $test = "h:/test/$file"; push (@test, $test); } Archive::Tar->create_archive('g:/hillr/test.tar',0, @test); In the test directory, If I have only txt file located there the archive is generated correctly. However, if I put a binary file in the directory the archive is generated but I am unable to extract all of the files in the archive. It's like the module will stop at the binary file and lose anything after that! I hope I have explained this well enough. perl version is as follows: This is perl, v5.6.1 built for MSWin32-x86-multi-thread (with 1 registered patch, see perl -V for more detail) Copyright 1987-2001, Larry Wall Binary build 629 provided by ActiveState Tool Corp. http://www.ActiveState.com Built 12:27:04 Aug 20 2001 Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using `man perl' or `perldoc perl'. If you have access to the Internet, point your browser at http://www.perl.com/, the Perl Home Page. I have also similar problems with version 5.8.0 If you have any questions Pls e-mail me!! Thanks Ron Hill
release 1.07 fixes this problem -- sorry for the long wait