Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

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

Report information
The Basics
Id:
115913
Status:
new
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
Emmanuel.SCIEUR [...] prestataire.sihm.fr
Cc:
AdminCc:

BugTracker
Severity:
(no value)
Broken in:
(no value)
Fixed in:
(no value)



Subject: Feature : modification time on directories
Date: Wed, 6 Jul 2016 10:24:24 +0000
To: "bug-Archive-Zip@rt.cpan.org" <bug-Archive-Zip@rt.cpan.org>
From: SCIEUR Emmanuel <Emmanuel.SCIEUR@prestataire.sihm.fr>

Hi

 

It’s would be great if extractTree keep the modification Time of directories as it keep on files.

 

This is the suggest code :  on file  Archive\Zip\Archive.pm ligne 866 add :

 

utime($member->lastModTime(), $member->lastModTime(), $fileName);

 

that’s done :

my $status = $member->extractToFileNamed($fileName);

                               utime($member->lastModTime(), $member->lastModTime(), $fileName);

                                return $status if $status != AZ_OK;

 

 

regards



This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.