summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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());
}