You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@perl.apache.org by Randy Kobes <ra...@theoryx5.uwinnipeg.ca> on 2004/07/07 06:17:59 UTC

[mp2] bad argspec

With the current mp2 cvs, I get a warning
  bad argspec: mpxs_Apache__RequestRec_add_config (path)
at the 'perl Makefile.PL' stage. This diff:
====================================================
Index: xs/maps/modperl_functions.map
===================================================================
RCS file: /home/cvs/modperl-2.0/xs/maps/modperl_functions.map,v
retrieving revision 1.75
diff -u -r1.75 modperl_functions.map
--- xs/maps/modperl_functions.map	2 Jul 2004 22:43:17 -0000	1.75
+++ xs/maps/modperl_functions.map	7 Jul 2004 04:13:51 -0000
@@ -32,7 +32,7 @@
  mpxs_Apache__RequestRec_location
  mpxs_Apache__RequestRec_as_string
  mpxs_Apache__RequestRec_pnotes | | r, key=Nullsv, val=Nullsv
- mpxs_Apache__RequestRec_add_config | | r, lines, path=r->filename, override=OR_AUTHCFG
+ mpxs_Apache__RequestRec_add_config | | r, lines, override=OR_AUTHCFG

  #protocol module helpers
  mpxs_Apache__RequestRec_location_merge

====================================================================
gets rid of the warning.

-- 
best regards,
randy

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Re: [mp2] bad argspec

Posted by Stas Bekman <st...@stason.org>.
Randy Kobes wrote:
> With the current mp2 cvs, I get a warning
>   bad argspec: mpxs_Apache__RequestRec_add_config (path)
> at the 'perl Makefile.PL' stage. This diff:
> ====================================================
> Index: xs/maps/modperl_functions.map
> ===================================================================
> RCS file: /home/cvs/modperl-2.0/xs/maps/modperl_functions.map,v
> retrieving revision 1.75
> diff -u -r1.75 modperl_functions.map
> --- xs/maps/modperl_functions.map	2 Jul 2004 22:43:17 -0000	1.75
> +++ xs/maps/modperl_functions.map	7 Jul 2004 04:13:51 -0000
> @@ -32,7 +32,7 @@
>   mpxs_Apache__RequestRec_location
>   mpxs_Apache__RequestRec_as_string
>   mpxs_Apache__RequestRec_pnotes | | r, key=Nullsv, val=Nullsv
> - mpxs_Apache__RequestRec_add_config | | r, lines, path=r->filename, override=OR_AUTHCFG
> + mpxs_Apache__RequestRec_add_config | | r, lines, override=OR_AUTHCFG
> 
>   #protocol module helpers
>   mpxs_Apache__RequestRec_location_merge
> 
> ====================================================================
> gets rid of the warning.

+1, thanks for the catch Randy!


-- 
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org