diff options
author | Marcus Holland-Moritz <mhx-perl@gmx.net> | 2004-09-08 19:18:06 +0000 |
---|---|---|
committer | Marcus Holland-Moritz <mhx-perl@gmx.net> | 2004-09-08 19:18:06 +0000 |
commit | a745474a9337d45b59bfb4efa581fcb3999c4ab3 (patch) | |
tree | aab2a35890360cde605da591e7be1c2c375094a1 | |
parent | 8fba5d14715902515f3d1a2ba75483f168b44cbb (diff) | |
download | perl-a745474a9337d45b59bfb4efa581fcb3999c4ab3.tar.gz |
Upgrade to Devel::PPPort 3.02.
p4raw-id: //depot/perl@23280
28 files changed, 183 insertions, 42 deletions
diff --git a/ext/Devel/PPPort/Changes b/ext/Devel/PPPort/Changes index 0c97bf9d81..ca0a6c0396 100755 --- a/ext/Devel/PPPort/Changes +++ b/ext/Devel/PPPort/Changes @@ -1,3 +1,14 @@ +3.02 - 2004-09-08 + + * added support for the following API: + END_EXTERN_C + EXTERN_C + MY_CXT_CLONE + PERL_GCC_BRACE_GROUPS_FORBIDDEN + START_EXTERN_C + STMT_END + STMT_START + 3.01 - 2004-08-23 * patchlevel.h tweak diff --git a/ext/Devel/PPPort/META.yml b/ext/Devel/PPPort/META.yml index 0ebb1622d7..638c7d8728 100644 --- a/ext/Devel/PPPort/META.yml +++ b/ext/Devel/PPPort/META.yml @@ -1,7 +1,7 @@ # http://module-build.sourceforge.net/META-spec.html #XXXXXXX This is a prototype!!! It will change in the future!!! XXXXX# name: Devel-PPPort -version: 3.01 +version: 3.02 version_from: PPPort_pm.PL installdirs: perl requires: diff --git a/ext/Devel/PPPort/PPPort.pm b/ext/Devel/PPPort/PPPort.pm index ac035d6694..68a5b06f77 100644 --- a/ext/Devel/PPPort/PPPort.pm +++ b/ext/Devel/PPPort/PPPort.pm @@ -143,9 +143,11 @@ in older Perl releases: dTHXa dTHXoa dUNDERBAR + END_EXTERN_C ERRSV eval_pv eval_sv + EXTERN_C get_av get_cv get_hv @@ -183,6 +185,7 @@ in older Perl releases: mXPUSHp mXPUSHu MY_CXT + MY_CXT_CLONE MY_CXT_INIT newCONSTSUB newRV_inc @@ -196,6 +199,7 @@ in older Perl releases: NVgf NVTYPE PERL_BCDVERSION + PERL_GCC_BRACE_GROUPS_FORBIDDEN PERL_INT_MAX PERL_INT_MIN PERL_LONG_MAX @@ -305,7 +309,10 @@ in older Perl releases: PUSHmortal PUSHu SAVE_DEFSV + START_EXTERN_C START_MY_CXT + STMT_END + STMT_START sv_2pv_nolen sv_2pvbyte sv_2uv @@ -866,7 +873,7 @@ require DynaLoader; use strict; use vars qw($VERSION @ISA $data); -$VERSION = do { my @r = '$Snapshot: /Devel-PPPort/3.01 $' =~ /(\d+\.\d+(?:_\d+)?)/; @r ? $r[0] : '9.99' }; +$VERSION = do { my @r = '$Snapshot: /Devel-PPPort/3.02 $' =~ /(\d+\.\d+(?:_\d+)?)/; @r ? $r[0] : '9.99' }; @ISA = qw(DynaLoader); @@ -1300,9 +1307,11 @@ CvPADLIST||| CvSTASH||| CvWEAKOUTSIDE||| DEFSV|5.004050||p +END_EXTERN_C|5.005000||p ENTER||| ERRSV|5.004050||p EXTEND||| +EXTERN_C|5.005000||p FREETMPS||| GIMME_V||5.004000|n GIMME|||n @@ -1343,6 +1352,7 @@ IVdf|5.006000||p LEAVE||| LVRET||| MARK||| +MY_CXT_CLONE|5.009002||p MY_CXT_INIT|5.007003||p MY_CXT|5.007003||p MoveD|5.009002||p @@ -1379,6 +1389,7 @@ PAD_SET_CUR||| PAD_SVl||| PAD_SV||| PERL_BCDVERSION|5.009002||p +PERL_GCC_BRACE_GROUPS_FORBIDDEN|5.008001||p PERL_INT_MAX|5.004000||p PERL_INT_MIN|5.004000||p PERL_LONG_MAX|5.004000||p @@ -1452,34 +1463,34 @@ PL_compiling|5.004050||p PL_copline|5.005000||p PL_curcop|5.004050||p PL_curstash|5.004050||p -PL_debstash|||p +PL_debstash|5.004050||p PL_defgv|5.004050||p -PL_diehook|||p +PL_diehook|5.004050||p PL_dirty|5.004050||p PL_dowarn|||pn -PL_errgv|||p +PL_errgv|5.004050||p PL_hexdigit|5.005000||p PL_hints|5.005000||p PL_last_in_gv|||n PL_modglobal||5.005000|n PL_na|5.004050||pn -PL_no_modify|||p +PL_no_modify|5.006000||p PL_ofs_sv|||n -PL_perl_destruct_level|||p +PL_perl_destruct_level|5.004050||p PL_perldb|5.004050||p -PL_ppaddr|||p +PL_ppaddr|5.006000||p PL_rsfp_filters|5.004050||p PL_rsfp|5.004050||p PL_rs|||n -PL_stack_base|||p -PL_stack_sp|||p +PL_stack_base|5.004050||p +PL_stack_sp|5.004050||p PL_stdingv|5.004050||p -PL_sv_arenaroot|||p +PL_sv_arenaroot|5.004050||p PL_sv_no|5.004050||pn PL_sv_undef|5.004050||pn PL_sv_yes|5.004050||pn -PL_tainted|||p -PL_tainting|||p +PL_tainted|5.004050||p +PL_tainting|5.004050||p POPi|||n POPl|||n POPn|||n @@ -1533,7 +1544,10 @@ SAVETMPS||| SAVE_DEFSV|5.004050||p SPAGAIN||| SP||| +START_EXTERN_C|5.005000||p START_MY_CXT|5.007003||p +STMT_END|||p +STMT_START|||p ST||| SVt_IV||| SVt_NV||| @@ -3915,6 +3929,40 @@ typedef NVTYPE NV; # endif #endif /* !INT2PTR */ + +#undef START_EXTERN_C +#undef END_EXTERN_C +#undef EXTERN_C +#ifdef __cplusplus +# define START_EXTERN_C extern "C" { +# define END_EXTERN_C } +# define EXTERN_C extern "C" +#else +# define START_EXTERN_C +# define END_EXTERN_C +# define EXTERN_C extern +#endif + +#ifndef PERL_GCC_BRACE_GROUPS_FORBIDDEN +# if defined(__STRICT_ANSI__) && defined(PERL_GCC_PEDANTIC) +# define PERL_GCC_BRACE_GROUPS_FORBIDDEN +# endif +#endif + +#undef STMT_START +#undef STMT_END +#if defined(__GNUC__) && !defined(PERL_GCC_BRACE_GROUPS_FORBIDDEN) && !defined(__cplusplus) +# define STMT_START (void)( /* gcc supports ``({ STATEMENTS; })'' */ +# define STMT_END ) +#else +# if defined(VOIDFLAGS) && (VOIDFLAGS) && (defined(sun) || defined(__sun__)) && !defined(__GNUC__) +# define STMT_START if (1) +# define STMT_END else (void)0 +# else +# define STMT_START do +# define STMT_END while (0) +# endif +#endif #ifndef boolSV # define boolSV(b) ((b) ? &PL_sv_yes : &PL_sv_no) #endif @@ -4297,6 +4345,13 @@ DPPP_(my_newCONSTSUB)(HV *stash, char *name, SV *sv) Zero(my_cxtp, 1, my_cxt_t); \ sv_setuv(my_cxt_sv, PTR2UV(my_cxtp)) +/* Clones the per-interpreter data. */ +#define MY_CXT_CLONE \ + dMY_CXT_SV; \ + my_cxt_t *my_cxtp = (my_cxt_t*)SvPVX(newSV(sizeof(my_cxt_t)-1));\ + Copy(INT2PTR(my_cxt_t*, SvUV(my_cxt_sv)), my_cxtp, 1, my_cxt_t);\ + sv_setuv(my_cxt_sv, PTR2UV(my_cxtp)) + /* This macro must be used to access members of the my_cxt_t structure. * e.g. MYCXT.some_data */ #define MY_CXT (*my_cxtp) @@ -4316,6 +4371,7 @@ DPPP_(my_newCONSTSUB)(HV *stash, char *name, SV *sv) #define dMY_CXT_SV dNOOP #define dMY_CXT dNOOP #define MY_CXT_INIT NOOP +#define MY_CXT_CLONE NOOP #define MY_CXT my_cxt #define pMY_CXT void diff --git a/ext/Devel/PPPort/PPPort_pm.PL b/ext/Devel/PPPort/PPPort_pm.PL index fa270f7b87..ce935770d3 100644 --- a/ext/Devel/PPPort/PPPort_pm.PL +++ b/ext/Devel/PPPort/PPPort_pm.PL @@ -473,7 +473,7 @@ require DynaLoader; use strict; use vars qw($VERSION @ISA $data); -$VERSION = do { my @r = '$Snapshot: /Devel-PPPort/3.01 $' =~ /(\d+\.\d+(?:_\d+)?)/; @r ? $r[0] : '9.99' }; +$VERSION = do { my @r = '$Snapshot: /Devel-PPPort/3.02 $' =~ /(\d+\.\d+(?:_\d+)?)/; @r ? $r[0] : '9.99' }; @ISA = qw(DynaLoader); diff --git a/ext/Devel/PPPort/devel/scanprov b/ext/Devel/PPPort/devel/scanprov index 7c88b10f8d..934e816c46 100644 --- a/ext/Devel/PPPort/devel/scanprov +++ b/ext/Devel/PPPort/devel/scanprov @@ -5,9 +5,9 @@ # ################################################################################ # -# $Revision: 3 $ +# $Revision: 4 $ # $Author: mhx $ -# $Date: 2004/08/13 12:50:11 +0200 $ +# $Date: 2004/09/08 21:08:46 +0200 $ # ################################################################################ # @@ -23,7 +23,8 @@ use strict; require 'parts/ppptools.pl'; -my $file = 'provided.c'; +die "Usage: $0 [check|write]\n" unless @ARGV && $ARGV[0] =~ /^(check|write)$/; +my $mode = $1; my %embed = map { ( $_->{name} => 1 ) } parse_embed(qw(parts/embed.fnc parts/apidoc.fnc)); @@ -47,6 +48,7 @@ shift @perls; my %v; for my $p (@perls) { + print "checking perl $p->{version}...\n"; my $archlib = `$p->{path} -MConfig -l -e 'print \$Config{archlib}'`; chomp $archlib; local @ARGV = glob "$archlib/CORE/*.h"; @@ -56,13 +58,20 @@ for my $p (@perls) { } my $out = 'parts/base'; +my $todo = parse_todo($out); for my $v (keys %v) { + my @new = sort grep { !exists $todo->{$_} } keys %{$v{$v}}; + @new or next; my $file = $v; $file =~ s/\.//g; $file = "$out/$file"; -e $file or die "non-existent: $file\n"; - open F, ">>$file" or die "$file: $!\n"; - printf F "%-30s # added by $0\n", $_ for sort keys %{$v{$v}}; - close F; + print "-- $file --\n"; + $mode eq 'write' and (open F, ">>$file" or die "$file: $!\n"); + for (@new) { + print "adding $_\n"; + $mode eq 'write' and printf F "%-30s # added by $0\n", $_; + } + $mode eq 'write' and close F; } diff --git a/ext/Devel/PPPort/mktests.PL b/ext/Devel/PPPort/mktests.PL index 19423c291e..cbe9a9851e 100644 --- a/ext/Devel/PPPort/mktests.PL +++ b/ext/Devel/PPPort/mktests.PL @@ -4,9 +4,9 @@ # ################################################################################ # -# $Revision: 17 $ +# $Revision: 18 $ # $Author: mhx $ -# $Date: 2004/08/16 11:31:29 +0200 $ +# $Date: 2004/08/30 20:49:12 +0200 $ # ################################################################################ # @@ -68,7 +68,7 @@ BEGIN { @INC = ('../lib', '../ext/Devel/PPPort/t') if -d '../lib' && -d '../ext'; require Config; import Config; use vars '%Config'; - if (" $Config{'extensions'} " !~ m[ Devel/PPPort ] ) { + if (" $Config{'extensions'} " !~ m[ Devel/PPPort ]) { print "1..0 # Skip -- Perl configured without Devel::PPPort module\n"; exit 0; } diff --git a/ext/Devel/PPPort/parts/base/5004050 b/ext/Devel/PPPort/parts/base/5004050 index 64129c5348..4b43177c8c 100644 --- a/ext/Devel/PPPort/parts/base/5004050 +++ b/ext/Devel/PPPort/parts/base/5004050 @@ -18,3 +18,12 @@ PL_rsfp_filters # added by devel/scanprov PL_stdingv # added by devel/scanprov SAVE_DEFSV # added by devel/scanprov dTHR # added by devel/scanprov +PL_debstash # added by devel/scanprov +PL_diehook # added by devel/scanprov +PL_errgv # added by devel/scanprov +PL_perl_destruct_level # added by devel/scanprov +PL_stack_base # added by devel/scanprov +PL_stack_sp # added by devel/scanprov +PL_sv_arenaroot # added by devel/scanprov +PL_tainted # added by devel/scanprov +PL_tainting # added by devel/scanprov diff --git a/ext/Devel/PPPort/parts/base/5005000 b/ext/Devel/PPPort/parts/base/5005000 index 14773673fd..f0bfeed5a2 100644 --- a/ext/Devel/PPPort/parts/base/5005000 +++ b/ext/Devel/PPPort/parts/base/5005000 @@ -5,3 +5,6 @@ PL_Sv # added by devel/scanprov PL_copline # added by devel/scanprov PL_hexdigit # added by devel/scanprov PL_hints # added by devel/scanprov +END_EXTERN_C # added by devel/scanprov +EXTERN_C # added by devel/scanprov +START_EXTERN_C # added by devel/scanprov diff --git a/ext/Devel/PPPort/parts/base/5006000 b/ext/Devel/PPPort/parts/base/5006000 index 05bb08375d..6705683ed3 100644 --- a/ext/Devel/PPPort/parts/base/5006000 +++ b/ext/Devel/PPPort/parts/base/5006000 @@ -500,3 +500,5 @@ dTHXa # added by devel/scanprov dTHXoa # added by devel/scanprov pTHX # added by devel/scanprov pTHX_ # added by devel/scanprov +PL_no_modify # added by devel/scanprov +PL_ppaddr # added by devel/scanprov diff --git a/ext/Devel/PPPort/parts/base/5008001 b/ext/Devel/PPPort/parts/base/5008001 index dc4dd79495..cc274f482a 100644 --- a/ext/Devel/PPPort/parts/base/5008001 +++ b/ext/Devel/PPPort/parts/base/5008001 @@ -17,3 +17,4 @@ PERL_MAGIC_utf8 # added by devel/scanprov PERL_MAGIC_vstring # added by devel/scanprov PERL_SCAN_SILENT_ILLDIGIT # added by devel/scanprov XST_mUV # added by devel/scanprov +PERL_GCC_BRACE_GROUPS_FORBIDDEN # added by devel/scanprov diff --git a/ext/Devel/PPPort/parts/base/5009002 b/ext/Devel/PPPort/parts/base/5009002 index aca22df21c..2b66b272cc 100644 --- a/ext/Devel/PPPort/parts/base/5009002 +++ b/ext/Devel/PPPort/parts/base/5009002 @@ -18,3 +18,4 @@ mXPUSHp # U mXPUSHu # U vnormal # E PERL_BCDVERSION # added by devel/scanprov +MY_CXT_CLONE # added by devel/scanprov diff --git a/ext/Devel/PPPort/parts/inc/MY_CXT b/ext/Devel/PPPort/parts/inc/MY_CXT index dd315bc26a..12858fdb8d 100644 --- a/ext/Devel/PPPort/parts/inc/MY_CXT +++ b/ext/Devel/PPPort/parts/inc/MY_CXT @@ -1,8 +1,8 @@ ################################################################################ ## -## $Revision: 7 $ +## $Revision: 8 $ ## $Author: mhx $ -## $Date: 2004/08/13 12:45:55 +0200 $ +## $Date: 2004/09/08 21:12:15 +0200 $ ## ################################################################################ ## @@ -21,6 +21,7 @@ START_MY_CXT dMY_CXT_SV dMY_CXT MY_CXT_INIT +MY_CXT_CLONE MY_CXT pMY_CXT pMY_CXT_ @@ -86,6 +87,13 @@ _aMY_CXT Zero(my_cxtp, 1, my_cxt_t); \ sv_setuv(my_cxt_sv, PTR2UV(my_cxtp)) +/* Clones the per-interpreter data. */ +#define MY_CXT_CLONE \ + dMY_CXT_SV; \ + my_cxt_t *my_cxtp = (my_cxt_t*)SvPVX(newSV(sizeof(my_cxt_t)-1));\ + Copy(INT2PTR(my_cxt_t*, SvUV(my_cxt_sv)), my_cxtp, 1, my_cxt_t);\ + sv_setuv(my_cxt_sv, PTR2UV(my_cxtp)) + /* This macro must be used to access members of the my_cxt_t structure. * e.g. MYCXT.some_data */ #define MY_CXT (*my_cxtp) @@ -105,6 +113,7 @@ _aMY_CXT #define dMY_CXT_SV dNOOP #define dMY_CXT dNOOP #define MY_CXT_INIT NOOP +#define MY_CXT_CLONE NOOP #define MY_CXT my_cxt #define pMY_CXT void diff --git a/ext/Devel/PPPort/parts/inc/misc b/ext/Devel/PPPort/parts/inc/misc index a00bd6e008..c8d63fdce3 100644 --- a/ext/Devel/PPPort/parts/inc/misc +++ b/ext/Devel/PPPort/parts/inc/misc @@ -1,8 +1,8 @@ ################################################################################ ## -## $Revision: 16 $ +## $Revision: 17 $ ## $Author: mhx $ -## $Date: 2004/08/17 13:49:30 +0200 $ +## $Date: 2004/09/08 21:10:12 +0200 $ ## ################################################################################ ## @@ -19,6 +19,7 @@ __UNDEFINED__ PERL_UNUSED_DECL +PERL_GCC_BRACE_GROUPS_FORBIDDEN NVTYPE INT2PTR PTRV @@ -27,6 +28,11 @@ PTR2IV PTR2UV PTR2NV PTR2ul +START_EXTERN_C +END_EXTERN_C +EXTERN_C +STMT_START +STMT_END /PL_\w+/ =implementation @@ -116,6 +122,40 @@ typedef NVTYPE NV; #endif /* !INT2PTR */ +#undef START_EXTERN_C +#undef END_EXTERN_C +#undef EXTERN_C +#ifdef __cplusplus +# define START_EXTERN_C extern "C" { +# define END_EXTERN_C } +# define EXTERN_C extern "C" +#else +# define START_EXTERN_C +# define END_EXTERN_C +# define EXTERN_C extern +#endif + +#ifndef PERL_GCC_BRACE_GROUPS_FORBIDDEN +# if defined(__STRICT_ANSI__) && defined(PERL_GCC_PEDANTIC) +# define PERL_GCC_BRACE_GROUPS_FORBIDDEN +# endif +#endif + +#undef STMT_START +#undef STMT_END +#if defined(__GNUC__) && !defined(PERL_GCC_BRACE_GROUPS_FORBIDDEN) && !defined(__cplusplus) +# define STMT_START (void)( /* gcc supports ``({ STATEMENTS; })'' */ +# define STMT_END ) +#else +# if defined(VOIDFLAGS) && (VOIDFLAGS) && (defined(sun) || defined(__sun__)) && !defined(__GNUC__) +# define STMT_START if (1) +# define STMT_END else (void)0 +# else +# define STMT_START do +# define STMT_END while (0) +# endif +#endif + __UNDEFINED__ boolSV(b) ((b) ? &PL_sv_yes : &PL_sv_no) /* DEFSV appears first in 5.004_56 */ diff --git a/ext/Devel/PPPort/t/MY_CXT.t b/ext/Devel/PPPort/t/MY_CXT.t index ed25928efa..f2c4e2d17a 100644 --- a/ext/Devel/PPPort/t/MY_CXT.t +++ b/ext/Devel/PPPort/t/MY_CXT.t @@ -12,7 +12,7 @@ BEGIN { @INC = ('../lib', '../ext/Devel/PPPort/t') if -d '../lib' && -d '../ext'; require Config; import Config; use vars '%Config'; - if (" $Config{'extensions'} " !~ m[ Devel/PPPort ] ) { + if (" $Config{'extensions'} " !~ m[ Devel/PPPort ]) { print "1..0 # Skip -- Perl configured without Devel::PPPort module\n"; exit 0; } diff --git a/ext/Devel/PPPort/t/SvPV.t b/ext/Devel/PPPort/t/SvPV.t index c63974cc78..5e6009c3a4 100644 --- a/ext/Devel/PPPort/t/SvPV.t +++ b/ext/Devel/PPPort/t/SvPV.t @@ -12,7 +12,7 @@ BEGIN { @INC = ('../lib', '../ext/Devel/PPPort/t') if -d '../lib' && -d '../ext'; require Config; import Config; use vars '%Config'; - if (" $Config{'extensions'} " !~ m[ Devel/PPPort ] ) { + if (" $Config{'extensions'} " !~ m[ Devel/PPPort ]) { print "1..0 # Skip -- Perl configured without Devel::PPPort module\n"; exit 0; } diff --git a/ext/Devel/PPPort/t/call.t b/ext/Devel/PPPort/t/call.t index f50e7844c5..ffcfcc4b2d 100644 --- a/ext/Devel/PPPort/t/call.t +++ b/ext/Devel/PPPort/t/call.t @@ -12,7 +12,7 @@ BEGIN { @INC = ('../lib', '../ext/Devel/PPPort/t') if -d '../lib' && -d '../ext'; require Config; import Config; use vars '%Config'; - if (" $Config{'extensions'} " !~ m[ Devel/PPPort ] ) { + if (" $Config{'extensions'} " !~ m[ Devel/PPPort ]) { print "1..0 # Skip -- Perl configured without Devel::PPPort module\n"; exit 0; } diff --git a/ext/Devel/PPPort/t/cop.t b/ext/Devel/PPPort/t/cop.t index 00d97462cf..1bcc9996e3 100644 --- a/ext/Devel/PPPort/t/cop.t +++ b/ext/Devel/PPPort/t/cop.t @@ -12,7 +12,7 @@ BEGIN { @INC = ('../lib', '../ext/Devel/PPPort/t') if -d '../lib' && -d '../ext'; require Config; import Config; use vars '%Config'; - if (" $Config{'extensions'} " !~ m[ Devel/PPPort ] ) { + if (" $Config{'extensions'} " !~ m[ Devel/PPPort ]) { print "1..0 # Skip -- Perl configured without Devel::PPPort module\n"; exit 0; } diff --git a/ext/Devel/PPPort/t/grok.t b/ext/Devel/PPPort/t/grok.t index 12ef9a2d3b..8766b353d6 100644 --- a/ext/Devel/PPPort/t/grok.t +++ b/ext/Devel/PPPort/t/grok.t @@ -12,7 +12,7 @@ BEGIN { @INC = ('../lib', '../ext/Devel/PPPort/t') if -d '../lib' && -d '../ext'; require Config; import Config; use vars '%Config'; - if (" $Config{'extensions'} " !~ m[ Devel/PPPort ] ) { + if (" $Config{'extensions'} " !~ m[ Devel/PPPort ]) { print "1..0 # Skip -- Perl configured without Devel::PPPort module\n"; exit 0; } diff --git a/ext/Devel/PPPort/t/limits.t b/ext/Devel/PPPort/t/limits.t index 5925ee1513..1ccb8b1df0 100644 --- a/ext/Devel/PPPort/t/limits.t +++ b/ext/Devel/PPPort/t/limits.t @@ -12,7 +12,7 @@ BEGIN { @INC = ('../lib', '../ext/Devel/PPPort/t') if -d '../lib' && -d '../ext'; require Config; import Config; use vars '%Config'; - if (" $Config{'extensions'} " !~ m[ Devel/PPPort ] ) { + if (" $Config{'extensions'} " !~ m[ Devel/PPPort ]) { print "1..0 # Skip -- Perl configured without Devel::PPPort module\n"; exit 0; } diff --git a/ext/Devel/PPPort/t/mPUSH.t b/ext/Devel/PPPort/t/mPUSH.t index 09f7031b39..66c62f9b61 100644 --- a/ext/Devel/PPPort/t/mPUSH.t +++ b/ext/Devel/PPPort/t/mPUSH.t @@ -12,7 +12,7 @@ BEGIN { @INC = ('../lib', '../ext/Devel/PPPort/t') if -d '../lib' && -d '../ext'; require Config; import Config; use vars '%Config'; - if (" $Config{'extensions'} " !~ m[ Devel/PPPort ] ) { + if (" $Config{'extensions'} " !~ m[ Devel/PPPort ]) { print "1..0 # Skip -- Perl configured without Devel::PPPort module\n"; exit 0; } diff --git a/ext/Devel/PPPort/t/magic.t b/ext/Devel/PPPort/t/magic.t index 6d4efcde1d..8f73dc69d1 100644 --- a/ext/Devel/PPPort/t/magic.t +++ b/ext/Devel/PPPort/t/magic.t @@ -12,7 +12,7 @@ BEGIN { @INC = ('../lib', '../ext/Devel/PPPort/t') if -d '../lib' && -d '../ext'; require Config; import Config; use vars '%Config'; - if (" $Config{'extensions'} " !~ m[ Devel/PPPort ] ) { + if (" $Config{'extensions'} " !~ m[ Devel/PPPort ]) { print "1..0 # Skip -- Perl configured without Devel::PPPort module\n"; exit 0; } diff --git a/ext/Devel/PPPort/t/misc.t b/ext/Devel/PPPort/t/misc.t index bd9154a090..20f53a799b 100644 --- a/ext/Devel/PPPort/t/misc.t +++ b/ext/Devel/PPPort/t/misc.t @@ -12,7 +12,7 @@ BEGIN { @INC = ('../lib', '../ext/Devel/PPPort/t') if -d '../lib' && -d '../ext'; require Config; import Config; use vars '%Config'; - if (" $Config{'extensions'} " !~ m[ Devel/PPPort ] ) { + if (" $Config{'extensions'} " !~ m[ Devel/PPPort ]) { print "1..0 # Skip -- Perl configured without Devel::PPPort module\n"; exit 0; } diff --git a/ext/Devel/PPPort/t/newCONSTSUB.t b/ext/Devel/PPPort/t/newCONSTSUB.t index 37b05268bf..c40fc49631 100644 --- a/ext/Devel/PPPort/t/newCONSTSUB.t +++ b/ext/Devel/PPPort/t/newCONSTSUB.t @@ -12,7 +12,7 @@ BEGIN { @INC = ('../lib', '../ext/Devel/PPPort/t') if -d '../lib' && -d '../ext'; require Config; import Config; use vars '%Config'; - if (" $Config{'extensions'} " !~ m[ Devel/PPPort ] ) { + if (" $Config{'extensions'} " !~ m[ Devel/PPPort ]) { print "1..0 # Skip -- Perl configured without Devel::PPPort module\n"; exit 0; } diff --git a/ext/Devel/PPPort/t/newRV.t b/ext/Devel/PPPort/t/newRV.t index c7a6c37267..e5baf9e894 100644 --- a/ext/Devel/PPPort/t/newRV.t +++ b/ext/Devel/PPPort/t/newRV.t @@ -12,7 +12,7 @@ BEGIN { @INC = ('../lib', '../ext/Devel/PPPort/t') if -d '../lib' && -d '../ext'; require Config; import Config; use vars '%Config'; - if (" $Config{'extensions'} " !~ m[ Devel/PPPort ] ) { + if (" $Config{'extensions'} " !~ m[ Devel/PPPort ]) { print "1..0 # Skip -- Perl configured without Devel::PPPort module\n"; exit 0; } diff --git a/ext/Devel/PPPort/t/ppphtest.t b/ext/Devel/PPPort/t/ppphtest.t index e856f184e3..f23cfa8829 100644 --- a/ext/Devel/PPPort/t/ppphtest.t +++ b/ext/Devel/PPPort/t/ppphtest.t @@ -12,7 +12,7 @@ BEGIN { @INC = ('../lib', '../ext/Devel/PPPort/t') if -d '../lib' && -d '../ext'; require Config; import Config; use vars '%Config'; - if (" $Config{'extensions'} " !~ m[ Devel/PPPort ] ) { + if (" $Config{'extensions'} " !~ m[ Devel/PPPort ]) { print "1..0 # Skip -- Perl configured without Devel::PPPort module\n"; exit 0; } diff --git a/ext/Devel/PPPort/t/sv_xpvf.t b/ext/Devel/PPPort/t/sv_xpvf.t index 13c9182092..33e203dde9 100644 --- a/ext/Devel/PPPort/t/sv_xpvf.t +++ b/ext/Devel/PPPort/t/sv_xpvf.t @@ -12,7 +12,7 @@ BEGIN { @INC = ('../lib', '../ext/Devel/PPPort/t') if -d '../lib' && -d '../ext'; require Config; import Config; use vars '%Config'; - if (" $Config{'extensions'} " !~ m[ Devel/PPPort ] ) { + if (" $Config{'extensions'} " !~ m[ Devel/PPPort ]) { print "1..0 # Skip -- Perl configured without Devel::PPPort module\n"; exit 0; } diff --git a/ext/Devel/PPPort/t/threads.t b/ext/Devel/PPPort/t/threads.t index c80ea37367..7243d8dda6 100644 --- a/ext/Devel/PPPort/t/threads.t +++ b/ext/Devel/PPPort/t/threads.t @@ -12,7 +12,7 @@ BEGIN { @INC = ('../lib', '../ext/Devel/PPPort/t') if -d '../lib' && -d '../ext'; require Config; import Config; use vars '%Config'; - if (" $Config{'extensions'} " !~ m[ Devel/PPPort ] ) { + if (" $Config{'extensions'} " !~ m[ Devel/PPPort ]) { print "1..0 # Skip -- Perl configured without Devel::PPPort module\n"; exit 0; } diff --git a/ext/Devel/PPPort/t/uv.t b/ext/Devel/PPPort/t/uv.t index 6b10ddd858..1272be7733 100644 --- a/ext/Devel/PPPort/t/uv.t +++ b/ext/Devel/PPPort/t/uv.t @@ -12,7 +12,7 @@ BEGIN { @INC = ('../lib', '../ext/Devel/PPPort/t') if -d '../lib' && -d '../ext'; require Config; import Config; use vars '%Config'; - if (" $Config{'extensions'} " !~ m[ Devel/PPPort ] ) { + if (" $Config{'extensions'} " !~ m[ Devel/PPPort ]) { print "1..0 # Skip -- Perl configured without Devel::PPPort module\n"; exit 0; } |