This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f87c37b
)
Use croak_sv in threads
author
Pali
<pali@cpan.org>
Sun, 3 Dec 2017 16:01:10 +0000
(17:01 +0100)
committer
Tony Cook
<tony@develop-help.com>
Mon, 15 Jan 2018 23:26:59 +0000
(10:26 +1100)
Now when croak_sv is available, there is no need to use croak() with SV* to
char* conversion.
dist/Devel-PPPort/parts/inc/threads
patch
|
blob
|
blame
|
history
diff --git
a/dist/Devel-PPPort/parts/inc/threads
b/dist/Devel-PPPort/parts/inc/threads
index
830fadf
..
9a8f6ac
100644
(file)
--- a/
dist/Devel-PPPort/parts/inc/threads
+++ b/
dist/Devel-PPPort/parts/inc/threads
@@
-57,9
+57,9
@@
no_THX_arg(sv)
void
with_THX_arg(error)
-
char
*error
+
SV
*error
PPCODE:
-
Perl_croak(aTHX_ "%s",
error);
+
croak_sv(
error);
=tests plan => 2