You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl-cvs@perl.apache.org by ge...@apache.org on 2004/01/23 16:01:01 UTC

cvs commit: modperl-2.0/xs/Apache/RequestUtil Apache__RequestUtil.h

geoff       2004/01/23 07:01:01

  Modified:    xs/Apache/ServerUtil Apache__ServerUtil.h
               xs/Apache/RequestUtil Apache__RequestUtil.h
  Log:
  remove unnecessary escape sequence that prevented compilation
  
  Revision  Changes    Path
  1.16      +1 -1      modperl-2.0/xs/Apache/ServerUtil/Apache__ServerUtil.h
  
  Index: Apache__ServerUtil.h
  ===================================================================
  RCS file: /home/cvs/modperl-2.0/xs/Apache/ServerUtil/Apache__ServerUtil.h,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- Apache__ServerUtil.h	22 Jan 2004 23:25:54 -0000	1.15
  +++ Apache__ServerUtil.h	23 Jan 2004 15:01:01 -0000	1.16
  @@ -58,7 +58,7 @@
   {
       const char *errmsg = modperl_config_insert_server(aTHX_ s, lines);
       if (errmsg) {
  -        Perl_croak(aTHX_ "\$s->add_config() has failed: %s", errmsg);
  +        Perl_croak(aTHX_ "$s->add_config() has failed: %s", errmsg);
       }
   }
   
  
  
  
  1.21      +1 -1      modperl-2.0/xs/Apache/RequestUtil/Apache__RequestUtil.h
  
  Index: Apache__RequestUtil.h
  ===================================================================
  RCS file: /home/cvs/modperl-2.0/xs/Apache/RequestUtil/Apache__RequestUtil.h,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- Apache__RequestUtil.h	22 Jan 2004 23:25:54 -0000	1.20
  +++ Apache__RequestUtil.h	23 Jan 2004 15:01:01 -0000	1.21
  @@ -261,7 +261,7 @@
       const char *errmsg = modperl_config_insert_request(aTHX_ r, lines,
                                                          path, override);
       if (errmsg) {
  -        Perl_croak(aTHX_ "\$r->add_config() has failed: %s", errmsg);
  +        Perl_croak(aTHX_ "$r->add_config() has failed: %s", errmsg);
       }
   }
   
  
  
  

Re: cvs commit: modperl-2.0/xs/Apache/RequestUtil Apache__RequestUtil.h

Posted by Stas Bekman <st...@stason.org>.
geoff@apache.org wrote:
> geoff       2004/01/23 07:01:01
> 
>   Modified:    xs/Apache/ServerUtil Apache__ServerUtil.h
>                xs/Apache/RequestUtil Apache__RequestUtil.h
>   Log:
>   remove unnecessary escape sequence that prevented compilation

Thanks Geoff. Perl, C, C, Perl, #, //, /* */, $, no $ ;)

>   -        Perl_croak(aTHX_ "\$s->add_config() has failed: %s", errmsg);
>   +        Perl_croak(aTHX_ "$s->add_config() has failed: %s", errmsg);


__________________________________________________________________
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