summaryrefslogtreecommitdiff
path: root/lib/FileCache.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/FileCache.pm')
-rw-r--r--lib/FileCache.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/FileCache.pm b/lib/FileCache.pm
index 3d01371b3b..4fd63315f9 100644
--- a/lib/FileCache.pm
+++ b/lib/FileCache.pm
@@ -53,7 +53,7 @@ sub cacheout {
($file) = @_;
unless (defined $cacheout_maxopen) {
if (open(PARAM,'/usr/include/sys/param.h')) {
- local $.;
+ local ($_, $.);
while (<PARAM>) {
$cacheout_maxopen = $1 - 4
if /^\s*#\s*define\s+NOFILE\s+(\d+)/;