On Wednesday, October 15, 2003, at 11:13 PM, Guest via RT wrote:
Show quoted text> Using $tar->write to return a string with the tar data, it doesn't pad
> the data to the blocksize, but it does if you user write() to write to
> a file
you are right... i have fixed this in the development branch, and the
fix will be in 1.07, which should be released shortly.
If you need the patch right now, find it below the signature.
--
Jos Boumans
"You know you are never more indignant in life than when you're
shopping at a store you feel is beneath you and one of the other
customers mistakes you for one of the employees of that store."
- Dennis Miller
CPANPLUS
http://cpanplus.sf.net
==== //member/kane/archive-tar-new/lib/Archive/Tar.pm#44 (text) ====
730c730,732
< push @rv, $entry->data if $entry->has_content;
---
Show quoted text > push @rv, $entry->data if
$entry->has_content;
Show quoted text > push @rv, TAR_PAD->( $entry->size ) if
$entry->has_content &&
Show quoted text > $entry->size
% BLOCK;
741c743,745
< push @rv, $entry->data if $entry->has_content;
---
Show quoted text > push @rv, $entry->data if
$entry->has_content;
Show quoted text > push @rv, TAR_PAD->( $entry->size ) if
$entry->has_content &&
Show quoted text > $entry->size %
BLOCK;