Skip Menu |

This queue is for tickets about the Plucene CPAN distribution.

Report information
The Basics
Id: 6453
Status: resolved
Priority: 0/
Queue: Plucene

People
Owner: Nobody in particular
Requestors:
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in:
  • 1.14
  • 1.17
Fixed in: 1.21



Subject: Plucene::Utils::do_locked needs to close FH
Plucene::Utils::do_locked needs to close FH otherwise it needs to carp out and sleep for no reason (on my machine about 5 times) before it can successfully unlink Also, on Mac you run out of filehandles http://rt.cpan.org/NoAuth/Bug.html?id=5815 Simply change line unlink $lock; to unlink $lock or close *FH and unlink $lock; i don't know if that will break anything, but I run the test suite on my win32 activeperl and all test pass and this time the test suite runs TONS faster
[guest - Fri May 28 12:21:13 2004]: Show quoted text
> Plucene::Utils::do_locked needs to close FH > otherwise it needs to carp out and sleep for no reason (on my machine > about 5 times) > before it can successfully unlink > Also, on Mac you run out of filehandles > > http://rt.cpan.org/NoAuth/Bug.html?id=5815 > > Simply change line > > unlink $lock; > to > unlink $lock or close *FH and unlink $lock; > > i don't know if that will break anything, but > I run the test suite on my win32 activeperl and all test pass > and this time the test suite runs TONS faster
this still broken :(
From: mintywalker [...] gmail.com
[guest - Wed Dec 22 03:43:12 2004]: Show quoted text
> > Simply change line > > unlink $lock; > > to > > unlink $lock or close *FH and unlink $lock;
> this still broken :(
In Plucene 1.21 (pos. earlier too), we have close *FH; unlink $lock; Which I assume fixes the problem. Is there any reason this bug cannot be closed?