You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by sf...@apache.org on 2014/05/14 22:06:22 UTC

svn commit: r1594696 - in /apr/apr/branches/1.6.x: ./ locks/unix/global_mutex.c

Author: sf
Date: Wed May 14 20:06:22 2014
New Revision: 1594696

URL: http://svn.apache.org/r1594696
Log:
Backport r741871 from trunk:

    Use macro for determinig function name

This fixes an undefined reference to apr_proc_mutex_set_perms()
and  makes 1.6.x actually build.

Modified:
    apr/apr/branches/1.6.x/   (props changed)
    apr/apr/branches/1.6.x/locks/unix/global_mutex.c

Propchange: apr/apr/branches/1.6.x/
------------------------------------------------------------------------------
  Merged /apr/apr/trunk:r741871

Modified: apr/apr/branches/1.6.x/locks/unix/global_mutex.c
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.6.x/locks/unix/global_mutex.c?rev=1594696&r1=1594695&r2=1594696&view=diff
==============================================================================
--- apr/apr/branches/1.6.x/locks/unix/global_mutex.c (original)
+++ apr/apr/branches/1.6.x/locks/unix/global_mutex.c Wed May 14 20:06:22 2014
@@ -190,7 +190,7 @@ APR_PERMS_SET_IMPLEMENT(global_mutex)
     apr_status_t rv;
     apr_global_mutex_t *mutex = (apr_global_mutex_t *)theglobal_mutex;
 
-    rv = apr_proc_mutex_set_perms(mutex->proc_mutex, perms, uid, gid);
+    rv = APR_PERMS_SET_FN(proc_mutex)(mutex->proc_mutex, perms, uid, gid);
     return rv;
 }