Exports and PERL_GLOBAL_STRUCT

G/E
In makedef.pl, removal of PL_sh_path if PERL_GLBAL_STRUCT, but IIUC, 
this symbol is redefined in perlapi.h and hence it should also be 
removed when making the exports .imp file...(?)
HTH

> if ($define{'PERL_GLOBAL_STRUCT'})
> {
> 	readvar('perlvars.h', \%skip);
> 	# This seems like the least ugly way to cope with the fact that PL_sh_path
> 	# is mentioned in perlvar.h and globvar.sym, and always exported.
> 	delete $skip{PL_sh_path};
>++ 	delete $skip{PL_Gsh_path_ptr};
> 	++$export{Perl_GetVars};
> 	try_symbols(qw(PL_Vars PL_VarsPtr))
> 	  unless $ARGS{CCTYPE} eq 'GCC' || $define{PERL_GLOBAL_STRUCT_PRIVATE};
> }
> else
0
normw
5/19/2018 11:14:22 AM
perl.perl5.porters 47211 articles. 0 followers. Follow

0 Replies
10 Views

Similar Articles

[PageSpeed] 21

Reply: