--- File.pm Sat Sep 2 00:21:17 2000 +++ File.pm-patched Sat Mar 30 10:38:54 2002 @@ -133,7 +133,7 @@ my @files = readdir(DIR); foreach my $file (@files) { if ($file =~ /^Apache-Session.*\.lock$/) { - if ((stat($dir.'/'.$file))[8] - $now >= $time) { + if ($now - (stat($dir.'/'.$file))[8] >= $time) { open(FH, "+>$dir/".$file) || next; flock(FH, LOCK_EX) || next; unlink($dir.'/'.$file) || next;