stas 2003/11/07 00:31:18
Modified: src/modules/perl modperl_perl.h Log: guessing that this is the right fix for the fake 5.8.0 on RH (which is really semi-5.8.1) Revision Changes Path 1.13 +5 -1 modperl-2.0/src/modules/perl/modperl_perl.h Index: modperl_perl.h =================================================================== RCS file: /home/cvs/modperl-2.0/src/modules/perl/modperl_perl.h,v retrieving revision 1.12 retrieving revision 1.13 diff -u -u -r1.12 -r1.13 --- modperl_perl.h 3 Nov 2003 23:31:19 -0000 1.12 +++ modperl_perl.h 7 Nov 2003 08:31:18 -0000 1.13 @@ -1,8 +1,12 @@ #ifndef MODPERL_PERL_H #define MODPERL_PERL_H +/* starting from 5.8.1 perl caches ppids, so we need to main our + * own. some distros fetch fake 5.8.0 with changes from 5.8.1, so we + * need to do that for those fake 5.8.0 as well + */ #if PERL_REVISION == 5 && \ - (PERL_VERSION == 8 && PERL_SUBVERSION >= 1 || PERL_VERSION >= 9) && \ + (PERL_VERSION == 8 && PERL_SUBVERSION >= 0 || PERL_VERSION >= 9) && \ THREADS_HAVE_PIDS #define MP_MAINTAIN_PPID #endif