Skip Menu |

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

Report information
The Basics
Id: 115913
Status: new
Priority: 0/
Queue: Archive-Zip

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

Bug Information
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