httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: libapreq-1: new 1.4 release?
Date Wed, 08 Dec 2004 15:12:16 GMT
David Wheeler wrote:
> On Dec 7, 2004, at 7:24 PM, Stas Bekman wrote:
> 
>> [looks like we have huge emails delay :(]
> 
> 
> Yeah, sorry, that's because I'm on the road. I wrote my reply on a plane 
> this morning, but wasn't able to send it out till this evening. :-(

ah :)

>> David Wheeler wrote:
>>
>>> On Dec 6, 2004, at 11:59 AM, Stas Bekman wrote:
>>>
>>>> (the args order was wrong now fixed, please update svn)
>>>>
>>>> that's strange, looks like printf is not working, please try:
>>>
>>> That does the trick:
>>
>>
>> Cool. So it's the "known" issue on MacOSX. Which of the two patches 
>> though?
> 
> 
> Uh, were there two?...this is the last one I tried:
> 
> Index: t/response/TestApReq/inherit.pm
> ===================================================================
> --- t/response/TestApReq/inherit.pm     (revision 109983)
> +++ t/response/TestApReq/inherit.pm     (working copy)
> @@ -7,7 +7,7 @@
>      $r->send_http_header('text/plain');
> 
>      my $apr = Apache::Request->new($r);
> -    printf "method => %s\n", $apr->method;
> +    $r->printf("method => %s\n", $apr->method);
>      return OK;
>  }

Committed. The other one was:

Index: t/response/TestApReq/inherit.pm
===================================================================
--- t/response/TestApReq/inherit.pm     (revision 109983)
+++ t/response/TestApReq/inherit.pm     (working copy)
@@ -7,7 +7,7 @@
      $r->send_http_header('text/plain');

      my $apr = Apache::Request->new($r);
-    printf "method => %s\n", $apr->method;
+    print "method => " . $apr->method . "\n";
      return OK;
  }

Thank David.

-- 
__________________________________________________________________
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

Mime
View raw message