apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bnicho...@apache.org
Subject svn commit: r106767 - /apr/apr/trunk/locks/netware/thread_mutex.c /apr/apr/trunk/threadproc/netware/proc.c
Date Sat, 27 Nov 2004 22:51:47 GMT
Author: bnicholes
Date: Sat Nov 27 14:51:47 2004
New Revision: 106767

URL: http://svn.apache.org/viewcvs?view=rev&rev=106767
Log:
Fixing various compiler errors when compiling against the latest version of LibC SDK
Modified:
   apr/apr/trunk/locks/netware/thread_mutex.c
   apr/apr/trunk/threadproc/netware/proc.c

Modified: apr/apr/trunk/locks/netware/thread_mutex.c
Url: http://svn.apache.org/viewcvs/apr/apr/trunk/locks/netware/thread_mutex.c?view=diff&rev=106767&p1=apr/apr/trunk/locks/netware/thread_mutex.c&r1=106766&p2=apr/apr/trunk/locks/netware/thread_mutex.c&r2=106767
==============================================================================
--- apr/apr/trunk/locks/netware/thread_mutex.c	(original)
+++ apr/apr/trunk/locks/netware/thread_mutex.c	Sat Nov 27 14:51:47 2004
@@ -46,7 +46,7 @@
     }     
     new_mutex->pool = pool;
 
-    new_mutex->mutex = NXMutexAlloc(NX_MUTEX_RECURSIVE, NULL, NULL);
+    new_mutex->mutex = NXMutexAlloc(NX_MUTEX_RECURSIVE, 0, NULL);
     
     if(new_mutex->mutex == NULL)
         return APR_ENOMEM;

Modified: apr/apr/trunk/threadproc/netware/proc.c
Url: http://svn.apache.org/viewcvs/apr/apr/trunk/threadproc/netware/proc.c?view=diff&rev=106767&p1=apr/apr/trunk/threadproc/netware/proc.c&r1=106766&p2=apr/apr/trunk/threadproc/netware/proc.c&r2=106767
==============================================================================
--- apr/apr/trunk/threadproc/netware/proc.c	(original)
+++ apr/apr/trunk/threadproc/netware/proc.c	Sat Nov 27 14:51:47 2004
@@ -390,7 +390,7 @@
         }
         else if (WIFSIGNALED(exit_int)) {
             *exitwhy = APR_PROC_SIGNAL;
-            *exitcode = WTERMSIG(exit_int);
+            *exitcode = WIFTERMSIG(exit_int);
         }
         else {
             /* unexpected condition */

Mime
View raw message