From 6835ac24561c15debaf92d2ec4bbe0b01d1b485b Mon Sep 17 00:00:00 2001 From: espie Date: Mon, 6 Nov 2023 13:40:39 +0000 Subject: [PATCH] eliminate discrepancies between termcap-generated info and infocmp results (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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/usr.bin/perl/cpan/Term-Cap/Cap.pm b/gnu/usr.bin/perl/cpan/Term-Cap/Cap.pm index 18cc57471c6..fa1a9a8859b 100644 --- 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', '-CTrx', '--', $tmp_term); exit(1); } } else { -- 2.20.1