artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7ce2e7
)
Increase max depth for termcaps
author
afresh1
<afresh1@openbsd.org>
Wed, 18 Oct 2023 01:49:26 +0000
(
01:49
+0000)
committer
afresh1
<afresh1@openbsd.org>
Wed, 18 Oct 2023 01:49:26 +0000
(
01:49
+0000)
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@
gnu/usr.bin/perl/cpan/Term-Cap/Cap.pm
patch
|
blob
|
history
diff --git
a/gnu/usr.bin/perl/cpan/Term-Cap/Cap.pm
b/gnu/usr.bin/perl/cpan/Term-Cap/Cap.pm
index
12d8299
..
4ad9dd2
100644
(file)
--- 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)
{