artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
035d166
)
system + exit -> exec
author
espie
<espie@openbsd.org>
Mon, 6 Nov 2023 08:21:43 +0000
(08:21 +0000)
committer
espie
<espie@openbsd.org>
Mon, 6 Nov 2023 08:21:43 +0000
(08:21 +0000)
as noticed by afresh1@
(this should be all for now)
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
c814a71
..
0bfbfcb
100644
(file)
--- a/
gnu/usr.bin/perl/cpan/Term-Cap/Cap.pm
+++ b/
gnu/usr.bin/perl/cpan/Term-Cap/Cap.pm
@@
-276,8
+276,7
@@
sub Tgetent
warn "cannot run infocmp: $!" if !defined $child;
if (!$child) {
open(STDERR, ">", "/dev/null");
- system('infocmp', '-CTr', $tmp_term);
- exit(1);
+ exec('infocmp', '-CTr', $tmp_term);
}
} else {
open($fh, '<', $TERMCAP) || croak "open $TERMCAP: $!";