summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorAndrew Fresh <afresh1@cvs.openbsd.org>2023-10-18 01:49:27 +0000
committerAndrew Fresh <afresh1@cvs.openbsd.org>2023-10-18 01:49:27 +0000
commita272cb756ddb68b14cb4c9c1f307deb18dc0a0a1 (patch)
treed36219dc65084cac5fc1a2bc9b6c492dc71dc128 /gnu
parent7ee756533e063bf2bade4e79d0b3a8c700c0b051 (diff)
Increase max depth for termcaps
With the update to ncurses 6.4-20230826 /etc/termcap now needs at least a 36 deep search. Instead, we'll just bump to 64. It seems 32 has been enough since perl 5.001 in 1995, so hopefully this buys us at least another 28 years. "please commit that" deraadt@
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/perl/cpan/Term-Cap/Cap.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/perl/cpan/Term-Cap/Cap.pm b/gnu/usr.bin/perl/cpan/Term-Cap/Cap.pm
index 12d8299a3a4..4ad9dd21e0a 100644
--- a/gnu/usr.bin/perl/cpan/Term-Cap/Cap.pm
+++ b/gnu/usr.bin/perl/cpan/Term-Cap/Cap.pm
@@ -280,7 +280,7 @@ sub Tgetent
$first = 0; # first entry (keeps term name)
- $max = 32; # max :tc=...:'s
+ $max = 64; # max :tc=...:'s
if ($entry)
{