Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Parallel-ForkManager CPAN distribution.

Report information
The Basics
Id: 89590
Status: resolved
Priority: 0/
Queue: Parallel-ForkManager

People
Owner: Nobody in particular
Requestors: skaji [...] outlook.com
Cc:
AdminCc:

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



Subject: Remove temporary directory only if it was NOT an automatically generated one!
Date: Thu, 17 Oct 2013 22:35:29 +0900
To: bug-Parallel-ForkManager [...] rt.cpan.org
From: Shoichi Kaji <skaji [...] outlook.com>
Hi, I'm using Parallel-ForkManager-1.05. Changes file states: 1.05 Wed Sep 18 10:53:33 2013 - Remove temporary directory only if it was an automatically generated one. (reported by Manuel Jeckelmann) But, Parallel-ForkManager-1.05 works in quite the opposite way: Remove temporary directory only if it was NOT an automatically generated one! The following patch would fix this issue: diff --git a/lib/Parallel/ForkManager.pm b/lib/Parallel/ForkManager.pm index 92b2f68..1219da5 100644 --- a/lib/Parallel/ForkManager.pm +++ b/lib/Parallel/ForkManager.pm @@ -453,7 +453,7 @@ sub new { processes => {}, in_child => 0, parent_pid => $$, - auto_cleanup => ($tempdir ? 1 : 0), + auto_cleanup => ($tempdir ? 0 : 1), }; Thank you. Shoichi Kaji
Subject: [rt.cpan.org #89590]
Date: Mon, 23 Dec 2013 12:43:59 -0600
To: bug-Parallel-ForkManager [...] rt.cpan.org
From: "johantheolive [...] gmail.com" <johantheolive [...] gmail.com>
Just wanting to '1up' this issue. I was having temporary directories left behind. Just rolled back to 1.04 and the problem is no longer there.
fixed in 1.06. Thanks for reporting.