[patch] slurp_filename

2001-10-20 Thread Stas Bekman
- slurp_filename port Index: lib/Apache/compat.pm === RCS file: /home/cvs/modperl-2.0/lib/Apache/compat.pm,v retrieving revision 1.22 diff -u -r1.22 compat.pm --- lib/Apache/compat.pm2001/10/09 05:42:49 1.22 +++ lib/Apach

Re: porting slurp_filename question

2001-10-20 Thread Stas Bekman
On Sat, 20 Oct 2001, Doug MacEachern wrote: > On Sun, 21 Oct 2001, Stas Bekman wrote: > > > I'm porting the slurp_filename method from 1.x but I cannot figure out > > what's rs in save_item? Thanks! > > s/(rs|sv_undef)/PL_$1/g; Hoho, now it's much easier to grep :) =item PL_rs The input record

Re: porting slurp_filename question

2001-10-20 Thread Doug MacEachern
On Sun, 21 Oct 2001, Stas Bekman wrote: > I'm porting the slurp_filename method from 1.x but I cannot figure out > what's rs in save_item? Thanks! s/(rs|sv_undef)/PL_$1/g; - To unsubscribe, e-mail: [EMAIL PROTECTED] For addit

porting slurp_filename question

2001-10-20 Thread Stas Bekman
I'm porting the slurp_filename method from 1.x but I cannot figure out what's rs in save_item? Thanks! SV *mod_perl_slurp_filename(request_rec *r) { dTHR; PerlIO *fp; SV *insv; ENTER; save_item(rs); sv_setsv(rs, &sv_undef); fp = PerlIO_open(r->filename, "r"); ins

Re: Apache-Test and Win32

2001-10-20 Thread Doug MacEachern
On Sat, 20 Oct 2001, Randy Kobes wrote: > I was wondering about what approach to use in generating the > Makefile for the mod_perl dll ... Right now the Makefile targets > don't completely fit for VC++ Win32 (eg, '-out:' is used to specify the > target name, rather than '-o'). One could either m

Re: Apache-Test and Win32

2001-10-20 Thread Randy Kobes
On Sat, 20 Oct 2001, Doug MacEachern wrote: > On Sat, 20 Oct 2001, Randy Kobes wrote: > > > but it fails at the link stage - the symbols > >apr_os_dso_handle_put (from modperl_util.c) > > this is implemented now. > > >Perl_magic_setenv (from modperl_env.c) > > i've commented out this refe

Re: Apache-Test and Win32

2001-10-20 Thread Randy Kobes
On Sat, 20 Oct 2001, Doug MacEachern wrote: > some win32 ease.. > perl Makefile.PL MP_GENERATE_XS MP_AP_PREFIX=d:/Apache2 > > apxs values (INCLUDEDIR, etc.) will be derived from MP_AP_PREFIX > so ../httpd-2.0 is not required to exist. That'll help a great deal, especially with finding the Apache

Re: Apache-Test and Win32

2001-10-20 Thread Doug MacEachern
some win32 ease.. perl Makefile.PL MP_GENERATE_XS MP_AP_PREFIX=d:/Apache2 apxs values (INCLUDEDIR, etc.) will be derived from MP_AP_PREFIX so ../httpd-2.0 is not required to exist. - To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: Apache-Test and Win32

2001-10-20 Thread Doug MacEachern
On Sat, 20 Oct 2001, Randy Kobes wrote: > That sounds good - actually, it looks easier just to generate the > Makefile. I've got one that works in building a modperl dll, great! > but it fails at the link stage - the symbols >apr_os_dso_handle_put (from modperl_util.c) this is implemented

Re: Apache-Test and Win32

2001-10-20 Thread Randy Kobes
On Sun, 14 Oct 2001, Doug MacEachern wrote: > i was hoping we could have something like the > Apache::Build::write_src_makefile for win32. to generate one or both of a > .dsp or Makefile for nmake. this is why all the source files and such are > stored in variables so hopefully we don't have to