develooper Front page | perl.perl5.porters | Postings from June 2008

[patch@33971]Archive::Tar was building corrupt archives on VMS

From:
John E. Malmberg
Date:
June 1, 2008 09:24
Subject:
[patch@33971]Archive::Tar was building corrupt archives on VMS
Message ID:
4842CD17.2010005@qsl.net
The main reason that Module/Build/t/ppm.t is failing on VMS is because 
Archive::Tar was building a corrupt archive on VMS.

This patch fixes it so that Archive::Tar uses the amount of data read in 
from a file to set the size if it is larger than the value given from lstat.

It also fixes an issue where Archive::Tar was storing the wrong value in 
the UID field for the Archives, so it is compatible with the GNV GNU Tar 
1.19 on VMS.

Todo:

   Chase down a similar bug in GNV GNU TAR for VMS format binary files.

   Come up with a way to store/restore VMS file attributes for
   both Archive::Tar and GNV GNU Tar.

   ppm.t is expecting the case of files to be preserved and needs to
   do case insensitive compares.

-John
wb8tyw@qsl.net
Personal Opinion Only





nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About