Re: getppid() in mod_perl 1.29 returns cached value

2004-08-20 Thread Stas Bekman
Geoffrey Young wrote: +/* starting from 5.8.1 perl caches ppids, so we need to maintain 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. real 5.8.0 doesn't + * have THREADS_HAVE_PIDS defined. + */ isn't THREADS_HAVE_PIDS en

Re: getppid() in mod_perl 1.29 returns cached value

2004-08-20 Thread Geoffrey Young
> +/* starting from 5.8.1 perl caches ppids, so we need to maintain 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. real 5.8.0 doesn't > + * have THREADS_HAVE_PIDS defined. > + */ isn't THREADS_HAVE_PIDS enough then,

Re: getppid() in mod_perl 1.29 returns cached value

2004-08-19 Thread Stas Bekman
Pratik wrote: I know that this has been problem with all the applications that embedd perl in it. The patch is available for mp2. Any pointers on how to solve this for mp1 ? Try this patch. It's untested (I just tested that it compiles): Index: src/modules/perl/perl_util.c =