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 st...@apache.org on 2001/12/31 13:12:54 UTC

cvs commit: modperl-2.0/xs/APR/Lock APR__Lock.h

stas        01/12/31 04:12:54

  Modified:    xs/maps  apr_functions.map
               xs/APR/Lock APR__Lock.h
  Log:
  apr sources adjustment: new argument 'mech' added to apr_lock_create
  
  Revision  Changes    Path
  1.27      +1 -1      modperl-2.0/xs/maps/apr_functions.map
  
  Index: apr_functions.map
  ===================================================================
  RCS file: /home/cvs/modperl-2.0/xs/maps/apr_functions.map,v
  retrieving revision 1.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- apr_functions.map	15 Dec 2001 23:51:13 -0000	1.26
  +++ apr_functions.map	31 Dec 2001 12:12:54 -0000	1.27
  @@ -164,7 +164,7 @@
   MODULE=APR::Lock
   !apr_lock_child_init
    apr_lock_t *:apr_lock_create | mpxs_ | \
  -              SV *:CLASS, pool, type=0, scope=1, fname="lock.file" | new
  +              SV *:CLASS, pool, type=0, mech, scope=1, fname="lock.file" | new
   -apr_lock_destroy
    apr_lock_DESTROY | | lock
    apr_lock_data_get
  
  
  
  1.2       +2 -1      modperl-2.0/xs/APR/Lock/APR__Lock.h
  
  Index: APR__Lock.h
  ===================================================================
  RCS file: /home/cvs/modperl-2.0/xs/APR/Lock/APR__Lock.h,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- APR__Lock.h	5 Mar 2001 03:53:28 -0000	1.1
  +++ APR__Lock.h	31 Dec 2001 12:12:54 -0000	1.2
  @@ -3,10 +3,11 @@
   static MP_INLINE apr_lock_t *mpxs_apr_lock_create(pTHX_ SV *CLASS,
                                                     apr_pool_t *p,
                                                     apr_locktype_e type,
  +                                                  apr_lockmech_e mech,
                                                     apr_lockscope_e scope,
                                                     const char *fname)
   {
       apr_lock_t *retval=NULL;
  -    (void)apr_lock_create(&retval, type, scope, fname, p);
  +    (void)apr_lock_create(&retval, type, mech, scope, fname, p);
       return retval;
   }
  
  
  

Re: cvs commit: modperl-2.0/xs/APR/Lock APR__Lock.h

Posted by Doug MacEachern <do...@covalent.net>.
On Mon, 31 Dec 2001, Stas Bekman wrote:
 
> should this be:
> 
> SV *:CLASS, pool, type=0, mech=APR_LOCK_DEFAULT, scope=1, 
> fname="lock.file" | new
>                                 ^^^^^^^^^^^^^^^^

+1


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


Re: cvs commit: modperl-2.0/xs/APR/Lock APR__Lock.h

Posted by Stas Bekman <st...@stason.org>.
stas@apache.org wrote:

> stas        01/12/31 04:12:54
> 
>   Modified:    xs/maps  apr_functions.map
>                xs/APR/Lock APR__Lock.h
>   Log:
>   apr sources adjustment: new argument 'mech' added to apr_lock_create
>   
>   Revision  Changes    Path
>   1.27      +1 -1      modperl-2.0/xs/maps/apr_functions.map
>   
>   Index: apr_functions.map
>   ===================================================================
>   RCS file: /home/cvs/modperl-2.0/xs/maps/apr_functions.map,v
>   retrieving revision 1.26
>   retrieving revision 1.27
>   diff -u -r1.26 -r1.27
>   --- apr_functions.map	15 Dec 2001 23:51:13 -0000	1.26
>   +++ apr_functions.map	31 Dec 2001 12:12:54 -0000	1.27
>   @@ -164,7 +164,7 @@
>    MODULE=APR::Lock
>    !apr_lock_child_init
>     apr_lock_t *:apr_lock_create | mpxs_ | \
>   -              SV *:CLASS, pool, type=0, scope=1, fname="lock.file" | new
>   +              SV *:CLASS, pool, type=0, mech, scope=1, fname="lock.file" | new


should this be:

SV *:CLASS, pool, type=0, mech=APR_LOCK_DEFAULT, scope=1, 
fname="lock.file" | new
                                ^^^^^^^^^^^^^^^^
?

_____________________________________________________________________
Stas Bekman             JAm_pH      --   Just Another mod_perl Hacker
http://stason.org/      mod_perl Guide   http://perl.apache.org/guide
mailto:stas@stason.org  http://ticketmaster.com http://apacheweek.com
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/


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