perl-docs-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r123760 - /perl/modperl/docs/trunk/src/docs/2.0/api/Apache/compat.pod /perl/modperl/docs/trunk/src/docs/2.0/user/porting/compat.pod /perl/modperl/docs/trunk/src/docs/2.0/user/porting/porting.pod
Date Fri, 31 Dec 2004 02:10:14 GMT
Author: stas
Date: Thu Dec 30 18:10:12 2004
New Revision: 123760

URL: http://svn.apache.org/viewcvs?view=rev&rev=123760
Log:
s/APR::SocketAddr/APR::SockAddr/


Modified:
   perl/modperl/docs/trunk/src/docs/2.0/api/Apache/compat.pod
   perl/modperl/docs/trunk/src/docs/2.0/user/porting/compat.pod
   perl/modperl/docs/trunk/src/docs/2.0/user/porting/porting.pod

Modified: perl/modperl/docs/trunk/src/docs/2.0/api/Apache/compat.pod
Url: http://svn.apache.org/viewcvs/perl/modperl/docs/trunk/src/docs/2.0/api/Apache/compat.pod?view=diff&rev=123760&p1=perl/modperl/docs/trunk/src/docs/2.0/api/Apache/compat.pod&r1=123759&p2=perl/modperl/docs/trunk/src/docs/2.0/api/Apache/compat.pod&r2=123760
==============================================================================
--- perl/modperl/docs/trunk/src/docs/2.0/api/Apache/compat.pod	(original)
+++ perl/modperl/docs/trunk/src/docs/2.0/api/Apache/compat.pod	Thu Dec 30 18:10:12 2004
@@ -65,7 +65,7 @@
 should be adjusted to be:
 
   require Apache::Connection;
-  require APR::SocketAddr;
+  require APR::SockAddr;
   my $sockaddr = $c->local_addr;
   my ($local_port, $local_addr) = ($sockaddr->port, $sockaddr->ip_get);
 
@@ -73,7 +73,7 @@
 
 As you can see in mod_perl 1.0 API local_addr() was returning a
 SOCKADDR_IN object (see the Socket perl manpage), in mod_perl 2.0 API
-it returns an C<L<APR::SocketAddr|docs::2.0::api::APR::SocketAddr>>
+it returns an C<L<APR::SockAddr|docs::2.0::api::APR::SockAddr>>
 object, which is a totally different beast. If Apache::compat
 overrides the function C<local_addr()> to be back-compatible with
 mod_perl 1.0 API. Any code that relies on this function to work as it

Modified: perl/modperl/docs/trunk/src/docs/2.0/user/porting/compat.pod
Url: http://svn.apache.org/viewcvs/perl/modperl/docs/trunk/src/docs/2.0/user/porting/compat.pod?view=diff&rev=123760&p1=perl/modperl/docs/trunk/src/docs/2.0/user/porting/compat.pod&r1=123759&p2=perl/modperl/docs/trunk/src/docs/2.0/user/porting/compat.pod&r2=123760
==============================================================================
--- perl/modperl/docs/trunk/src/docs/2.0/user/porting/compat.pod	(original)
+++ perl/modperl/docs/trunk/src/docs/2.0/user/porting/compat.pod	Thu Dec 30 18:10:12 2004
@@ -1230,8 +1230,8 @@
 =head2 C<$connection-E<gt>remote_addr>
 
 C<$connection-E<gt>local_addr> and C<$connection-E<gt>remote_addr>
-return an C<L<APR::SocketAddr|docs::2.0::api::APR::SocketAddr>> object
-and you can use this object's methods to retrieve the wanted bits of
+return an C<L<APR::SockAddr|docs::2.0::api::APR::SockAddr>> object and
+you can use this object's methods to retrieve the wanted bits of
 information, so if you had a code like:
 
   use Socket 'sockaddr_in';

Modified: perl/modperl/docs/trunk/src/docs/2.0/user/porting/porting.pod
Url: http://svn.apache.org/viewcvs/perl/modperl/docs/trunk/src/docs/2.0/user/porting/porting.pod?view=diff&rev=123760&p1=perl/modperl/docs/trunk/src/docs/2.0/user/porting/porting.pod&r1=123759&p2=perl/modperl/docs/trunk/src/docs/2.0/user/porting/porting.pod&r2=123760
==============================================================================
--- perl/modperl/docs/trunk/src/docs/2.0/user/porting/porting.pod	(original)
+++ perl/modperl/docs/trunk/src/docs/2.0/user/porting/porting.pod	Thu Dec 30 18:10:12 2004
@@ -781,9 +781,9 @@
 entry|docs::2.0::user::porting::compat/C__connection_E_gt_remote_addr_>
 on these two functions. Indeed the API have changed. Instead of
 returning a packed C<SOCKADDR_IN> string, Apache now returns an
-C<L<APR::SocketAddr|docs::2.0::api::APR::SocketAddr>> object, which I
-can query to get the bits of information I'm interested in. So I
-applied this patch:
+C<L<APR::SockAddr|docs::2.0::api::APR::SockAddr>> object, which I can
+query to get the bits of information I'm interested in. So I applied
+this patch:
 
   --- Apache/MP3.pm.3     2003-06-06 15:36:15.000000000 +1000
   +++ Apache/MP3.pm       2003-06-06 15:56:32.000000000 +1000
@@ -1466,6 +1466,8 @@
 
   % lynx --source http://localhost:8002/method2
   mp2: MyApache::Method2 was called
+
+
 
 
 

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


Mime
View raw message