Skip Menu |

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

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

Owner: Nobody in particular
Requestors: praveenray [...]

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

Subject: extractMembers failing across fork on Windows
Download (untitled) / with headers
text/plain 255b
Calling extractTree in the child 'process' - which is obtained after doing a 'fork', doesn't work in Windows XP. It does work if no fork business is happening so something special with the fork semantics on Windows (it's really a thread - not a process).
text/x-perl 316b
use strict; use Archive::Zip qw(:ERROR_CODES); my $child = fork(); if ($child == 0) { my $path = q[c:/temp/raw-data/]; chdir (q[c:/temp]); my $z = Archive::Zip->new; die "failed to read\n" unless $z->read($path) == AZ_OK; die "failed to extract\n" unless AZ_OK == $z->extractTree(); exit; }

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to