From: afresh1 Date: Wed, 18 Oct 2023 01:49:26 +0000 (+0000) Subject: Increase max depth for termcaps X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=124f957514ea57d1fe9ebcb6173dac54545f62a6;p=openbsd 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@ --- 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) {