Skip Menu |

This queue is for tickets about the File-Cache CPAN distribution.

Report information
The Basics
Id: 39751
Status: rejected
Priority: 0/
Queue: File-Cache

People
Owner: Nobody in particular
Requestors: stro [...] cpan.org
Cc:
AdminCc:

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



Subject: "closedir() attempted on invalid dirhandle DIR" in Perl 5.10
Hello DeWitt. File::Cache produces a lot if warnings "closedir() attempted on invalid dirhandle DIR" in Perl 5.10, probably because of recursive calls. It can be fixed by calling "closedir(DIR)" right after "readdir(DIR)". I've attached a patch, that fixes this problem. -- Serguei Trouchelle
Subject: Cache.pm.diff
1231a1232,1233 > closedir(DIR); > 1287,1288d1288 < closedir(DIR); < 1342a1343,1344 > closedir(DIR); > 1390,1391d1391 < closedir(DIR); < 1668a1669,1670 > closedir(DIR); > 1683,1684d1684 < < closedir(DIR);
Cache::Cache is no longer being maintained. It has been replaced with CHI (https://metacpan.org/module/CHI).