artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9bbbacf
)
eliminate discrepancies between termcap-generated info and infocmp results
author
espie
<espie@openbsd.org>
Mon, 6 Nov 2023 13:40:39 +0000
(13:40 +0000)
committer
espie
<espie@openbsd.org>
Mon, 6 Nov 2023 13:40:39 +0000
(13:40 +0000)
(see user_caps(5))
also obviously protects the term name just in case someone wants to have
fun with it..
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
18cc574
..
fa1a9a8
100644
(file)
--- a/
gnu/usr.bin/perl/cpan/Term-Cap/Cap.pm
+++ b/
gnu/usr.bin/perl/cpan/Term-Cap/Cap.pm
@@
-276,7
+276,7
@@
sub Tgetent
warn "cannot run infocmp: $!" if !defined $child;
if (!$child) {
open(STDERR, ">", "/dev/null");
- exec('infocmp', '-CTr', $tmp_term);
+ exec('infocmp', '-CTr
x', '--
', $tmp_term);
exit(1);
}
} else {