This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Term::Readline patch for AmigaOS
[perl5.git]
/
lib
/
FileCache.pm
diff --git
a/lib/FileCache.pm
b/lib/FileCache.pm
index
3d01371
..
4fd6331
100644
(file)
--- 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+)/;