- src/modules/perl/modperl_common_util.c (modperl_table_magic_copy): Use I32 rather than int for ‘namelen’ argument, fixing an incompatible function pointer error/warning in a 32-bit build:
modperl_common_util.c:57:53: error: initialization of ‘int (*)(PerlInterpreter *, SV *, MAGIC *, SV *, const char , I32)’ {aka ‘int ()(struct interpreter *, struct sv *, struct magic *, struct sv *, const char , long int)’} from incompatible pointer type ‘int ()(PerlInterpreter *, SV *, MAGIC *, SV *, const char , int)’ {aka ‘int ()(struct interpreter *, struct sv *, struct magic *, struct sv *, const char *, int)’} [-Wincompatible-pointer-types] 57 | modperl_table_magic_copy}; | ^~~~~~~~~~~~~~~~~~~~~~~~
Checked back to Perl 5.14.x which has I32 (a typedef of long int on i686) rather than int in the prototype for the svt_copy function pointer in MGVTBL, so I32 appears to have been always correct here:
int (*svt_copy)(SV sv, MAGIC mg, SV *nsv, const char *name, I32 namlen);
per https://perldoc.perl.org/5.14.0/perlguts
git-svn-id: https://svn.apache.org/repos/asf/perl/modperl/trunk@1915593 13f79535-47bb-0310-9956-ffa450edef68
版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9
京公网安备 11010802032778号
This is mod_perl version 2.0
*** Prerequisites ***
Apache: Dynamic mod_perl (DSO): Apache 2.0.47 - 2.4.57. Static mod_perl: Apache 2.0.51 - 2.4.57.
Newer Apache versions may work with this version of mod_perl. If not, the svn version likely will, which can be obtained from: http://perl.apache.org/download/source.html#Development_mod_perl_2_0_Source_Distribution
Perl: Any stable version of Perl currently in support by the Perl community, as described in recent Perl distributions’ “perlpolicy.pod” document.
Newer Perl versions may work with this version of mod_perl. If not, the svn version likely will (see above).
Many older Perl versions also work with this version of mod_perl: Perls back to version 5.8.2 (and possibly earlier in some build configurations) are currently believed to work, but this is not guaranteed to be the case, either now or in the future.
*** Status ***
mod_perl is currently considered stable.
The following test failures are known (see CPAN RT #118919):
t/filter/in_bbs_inject_header.t (Fails tests 22, 26 and 30)
There is currently a known test failure on Windows when using Perls built with the PERL_IMPLICIT_SYS build option enabled (which it is by default):
t/modperl/env.t (Fails many tests)
Various other tests are also known to fail in certain configurations on Windows, including but not limited to:
t/modperl/setupenv.t (Fails tests 8, 22, 29, 36, 50 and 57) t/preconnection/note.t (Fails test 1)
*** Documentation ***
Documentation can be found in the docs/ directory. Currently they don’t get installed on ‘make install’. Certain API documentation can be found in docs/api/. The online version is at http://perl.apache.org/docs/2.0/.
*** Todo ***
mod_perl-2.0 is not 100% feature complete with the 1.xx version. See the files in the todo/ directory for what remains to be done. Some of those features will be implemented after 2.0 is released. The goal is to empty the file todo/release and document/test/verify the API that’s going to be supported by 2.0. More API will be supported post 2.0 release.
*** Support ***
For comments, questions, bug-reports, etc., join the mod_perl users list by sending mail to modperl-subscribe@perl.apache.org.
Bugs can also be reported at: https://rt.cpan.org/Dist/Display.html?Name=mod_perl which can be accessed from the “Issues” link in the left-hand menu on the metacpan.org page, https://metacpan.org/pod/mod_perl2 . (Note: You will need to log in to https://rt.cpan.org in order to get the “Report a new bug” button on the bug tracker page.)
When reporting bugs please follow the instructions at: http://perl.apache.org/docs/2.0/user/help/help.html#Reporting_Problems
For announcements join the mod_perl announce list by sending mail to announce-subscribe@perl.apache.org.
*** Developers ***
Development discussion takes place on dev (at) perl.apache.org
*** Authors ***
mod_perl-2.0 was designed and written by Doug MacEachern, with contributions from many others (see Changes files).