summaryrefslogtreecommitdiff
path: root/lib/perl5db.pl
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2004-07-13 13:29:54 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2004-07-13 13:29:54 +0000
commit47d3bbda55847f12d15b91e048e7fa55d4476a43 (patch)
tree29603ffd0c269942655a4062a19270a01853b3b5 /lib/perl5db.pl
parent0c13e809ed4d404a11e0397efa6d6cb6bbb30d3e (diff)
downloadperl-47d3bbda55847f12d15b91e048e7fa55d4476a43.tar.gz
Tweak to change #23089, as suggested by Tim Bunce
p4raw-link: @23089 on //depot/perl: ca28b541c9845a7610e3eca36472b9ee994eb64c p4raw-id: //depot/perl@23095
Diffstat (limited to 'lib/perl5db.pl')
-rw-r--r--lib/perl5db.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/perl5db.pl b/lib/perl5db.pl
index 7b443febb3..cb91066c9b 100644
--- a/lib/perl5db.pl
+++ b/lib/perl5db.pl
@@ -3191,7 +3191,7 @@ Return to any given position in the B<true>-history list
# hard. See "debugger 'R'estart and open database
# connections" on p5p.
- my $max_fd;
+ my $max_fd = 1024; # default if POSIX can't be loaded
if (eval { require POSIX }) {
$max_fd = POSIX::sysconf(POSIX::_SC_OPEN_MAX());
}