hi

I'm going through the apr source in 2.0.46 looking for deprecated functions. stas has provided a list, and apr gives the pending_renames file, but I'm still going through file by file looking for stuff.

anyway, here is the first sync patch, covering changes in memory/unix/apr_pools.c (which was at the bottom of my grep list :)

--Geoff
Index: xs/maps/apr_functions.map
===================================================================
RCS file: /home/cvspublic/modperl-2.0/xs/maps/apr_functions.map,v
retrieving revision 1.53
diff -u -r1.53 apr_functions.map
--- xs/maps/apr_functions.map   19 Aug 2003 19:30:33 -0000      1.53
+++ xs/maps/apr_functions.map   28 Aug 2003 13:18:20 -0000
@@ -176,10 +176,10 @@
 -apr_pcalloc
 -apr_pmemdup
 !apr_pool_child_cleanup_set
-!apr_pool_get_abort
- apr_pool_get_parent
+!apr_pool_abort_get
+ apr_pool_parent_get
  apr_pool_is_ancestor
--apr_pool_set_abort
+-apr_pool_abort_set
 >apr_pool_initialize
 >apr_pool_terminate
  apr_pool_tag
@@ -189,11 +189,10 @@
  apr_allocator_create
  apr_allocator_destroy
  apr_allocator_free
- apr_allocator_get_mutex
- apr_allocator_get_mutex
- apr_allocator_get_owner
- apr_allocator_set_mutex
- apr_allocator_set_owner
+ apr_allocator_mutex_get
+ apr_allocator_owner_get
+ apr_allocator_mutex_set
+ apr_allocator_owner_set
 
 -MODULE=APR::Atomic
  apr_atomic_add
Index: xs/tables/current/Apache/FunctionTable.pm
===================================================================
RCS file: /home/cvspublic/modperl-2.0/xs/tables/current/Apache/FunctionTable.pm,v
retrieving revision 1.44
diff -u -r1.44 FunctionTable.pm
--- xs/tables/current/Apache/FunctionTable.pm   19 Aug 2003 19:30:33 -0000      1.44
+++ xs/tables/current/Apache/FunctionTable.pm   28 Aug 2003 13:18:20 -0000
@@ -5525,26 +5525,6 @@
     ]
   },
   {
-    'return_type' => 'apr_thread_mutex_t *',
-    'name' => 'apr_allocator_get_mutex',
-    'args' => [
-      {
-        'type' => 'apr_allocator_t *',
-        'name' => 'allocator'
-      }
-    ]
-  },
-  {
-    'return_type' => 'apr_pool_t *',
-    'name' => 'apr_allocator_get_owner',
-    'args' => [
-      {
-        'type' => 'apr_allocator_t *',
-        'name' => 'allocator'
-      }
-    ]
-  },
-  {
     'return_type' => 'void',
     'name' => 'apr_allocator_max_free_set',
     'args' => [
@@ -5607,48 +5587,6 @@
     ]
   },
   {
-    'return_type' => 'void',
-    'name' => 'apr_allocator_set_max_free',
-    'args' => [
-      {
-        'type' => 'apr_allocator_t *',
-        'name' => 'allocator'
-      },
-      {
-        'type' => 'apr_size_t',
-        'name' => 'size'
-      }
-    ]
-  },
-  {
-    'return_type' => 'void',
-    'name' => 'apr_allocator_set_mutex',
-    'args' => [
-      {
-        'type' => 'apr_allocator_t *',
-        'name' => 'allocator'
-      },
-      {
-        'type' => 'apr_thread_mutex_t *',
-        'name' => 'mutex'
-      }
-    ]
-  },
-  {
-    'return_type' => 'void',
-    'name' => 'apr_allocator_set_owner',
-    'args' => [
-      {
-        'type' => 'apr_allocator_t *',
-        'name' => 'allocator'
-      },
-      {
-        'type' => 'apr_pool_t *',
-        'name' => 'pool'
-      }
-    ]
-  },
-  {
     'return_type' => 'apr_status_t',
     'name' => 'apr_app_initialize',
     'args' => [
@@ -10193,26 +10131,6 @@
     ]
   },
   {
-    'return_type' => 'apr_abortfunc_t',
-    'name' => 'apr_pool_get_abort',
-    'args' => [
-      {
-        'type' => 'apr_pool_t *',
-        'name' => 'pool'
-      }
-    ]
-  },
-  {
-    'return_type' => 'apr_pool_t *',
-    'name' => 'apr_pool_get_parent',
-    'args' => [
-      {
-        'type' => 'apr_pool_t *',
-        'name' => 'pool'
-      }
-    ]
-  },
-  {
     'return_type' => 'apr_status_t',
     'name' => 'apr_pool_initialize',
     'args' => []
@@ -10253,20 +10171,6 @@
     'return_type' => 'apr_pool_t *',
     'name' => 'apr_pool_parent_get',
     'args' => [
-      {
-        'type' => 'apr_pool_t *',
-        'name' => 'pool'
-      }
-    ]
-  },
-  {
-    'return_type' => 'void',
-    'name' => 'apr_pool_set_abort',
-    'args' => [
-      {
-        'type' => 'apr_abortfunc_t',
-        'name' => 'abortfunc'
-      },
       {
         'type' => 'apr_pool_t *',
         'name' => 'pool'

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to