]> git.vpit.fr Git - perl/modules/re-engine-Plugin.git/commitdiff
RT#31635: add aTHX_ to Perl_croak call so it'll run on threaded perls
authorÆvar Arnfjörð Bjarmason <avar@cpan.org>
Tue, 19 Aug 2008 11:42:06 +0000 (11:42 +0000)
committerÆvar Arnfjörð Bjarmason <avar@cpan.org>
Tue, 19 Aug 2008 11:42:06 +0000 (11:42 +0000)
Plugin.xs

index 5e5452a5438d48d56b42fc7f60195d7756198287..32b2eae9d96c5950e130f9092241b852f9d31369 100644 (file)
--- a/Plugin.xs
+++ b/Plugin.xs
@@ -212,7 +212,7 @@ Plugin_free(pTHX_ REGEXP * const rx)
 void *
 Plugin_dupe(pTHX_ const REGEXP * rx, CLONE_PARAMS *param)
 {
-    Perl_croak("dupe not supported yet");
+    Perl_croak(aTHX_ "dupe not supported yet");
     return rx->pprivate;
 }