You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@perl.apache.org by Stas Bekman <st...@stason.org> on 2002/08/16 05:24:43 UTC

[PATCH] adjusting for API renaming

This patch adjusts the renames made in Apache 2.0 on:

date: 2002/07/06 20:04:38;  author: ianh;  state: Exp;  lines: +2 -2
Renames Pending:
  This clears the list of renames pending in apr-util.
  Parts of this list was alreadu done, but the pending list hadn't been 
updated.

  apr_hook_debug_current     from apr_current_hooking_module
  apr_hook_debug_show        from apr_show_hook

  apr_hook_global_pool       from apr_global_hook_pool
  apr_hook_sort_all          from apr_sort_hooks

  apr_uri_port_of_scheme     from apr_uri_default_port_for_scheme
  apr_uri_unparse            from apr_uri_unparse_components
  apr_uri_parse              from apr_uri_parse_components
  apr_uri_parse_hostinfo     from apr_uri_parse_hostinfo_components

  apr_uri_t                  from apr_uri_components

  All APR_URI_*              from all APU_URI_* symbols
  All APR_UNP_*              from all UNP_* symbols


Index: lib/Apache/ParseSource.pm
===================================================================
RCS file: /home/cvs/modperl-2.0/lib/Apache/ParseSource.pm,v
retrieving revision 1.40
diff -u -r1.40 ParseSource.pm
--- lib/Apache/ParseSource.pm	15 Aug 2002 02:44:08 -0000	1.40
+++ lib/Apache/ParseSource.pm	16 Aug 2002 03:16:12 -0000
@@ -366,7 +366,7 @@
      my %seen;
      my $wanted = $self->wanted_structures;
      my $other  = join '|', qw(_rec module
-                              piped_log uri_components htaccess_result
+                              piped_log uri_t htaccess_result
                                cmd_parms cmd_func cmd_how);

      my @structures;
Index: t/response/TestAPI/rutil.pm
===================================================================
RCS file: /home/cvs/modperl-2.0/t/response/TestAPI/rutil.pm,v
retrieving revision 1.3
diff -u -r1.3 rutil.pm
--- t/response/TestAPI/rutil.pm	11 Apr 2002 11:08:43 -0000	1.3
+++ t/response/TestAPI/rutil.pm	16 Aug 2002 03:16:12 -0000
@@ -43,7 +43,7 @@
      ok $r->get_limit_req_body || 1;

      while(my($scheme, $port) = each %default_ports) {
-        my $apr_port = APR::URI::default_port_for_scheme($scheme);
+        my $apr_port = APR::URI::port_of_scheme($scheme);
          #$r->puts("$scheme => expect: $port, got: $apr_port\n");
          ok $apr_port == $port;
      }
Index: xs/maps/apr_functions.map
===================================================================
RCS file: /home/cvs/modperl-2.0/xs/maps/apr_functions.map,v
retrieving revision 1.45
diff -u -r1.45 apr_functions.map
--- xs/maps/apr_functions.map	23 Jun 2002 22:00:03 -0000	1.45
+++ xs/maps/apr_functions.map	16 Aug 2002 03:16:12 -0000
@@ -476,8 +476,8 @@
   apr_hook_deregister_all
   apr_hook_sort_register
  -apr_register_optional_fn
- apr_show_hook
- apr_sort_hooks
+ apr_hook_debug_show
+ apr_hook_sort_all
   apr_optional_hook_add
   apr_optional_hook_get

@@ -564,7 +564,7 @@
                    uptr, flags=APR_URI_UNP_OMITPASSWORD | unparse
   #special case to set both uri->port and uri->port_str
   mpxs_APR__URI_port | | uri, portsv=Nullsv
- apr_uri_default_port_for_scheme
+ apr_uri_port_of_scheme

  !MODULE=Apache::XML
   apr_text_append
Index: xs/tables/current/Apache/FunctionTable.pm
===================================================================
RCS file: /home/cvs/modperl-2.0/xs/tables/current/Apache/FunctionTable.pm,v
retrieving revision 1.38
diff -u -r1.38 FunctionTable.pm
--- xs/tables/current/Apache/FunctionTable.pm	25 May 2002 18:36:36 -0000	1.38
+++ xs/tables/current/Apache/FunctionTable.pm	16 Aug 2002 03:16:13 -0000
@@ -12540,7 +12540,7 @@
    },
    {
      'return_type' => 'apr_port_t',
-    'name' => 'apr_uri_default_port_for_scheme',
+    'name' => 'apr_uri_port_of_scheme',
      'args' => [
        {
          'type' => 'const char *',


__________________________________________________________________
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