You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by bn...@apache.org on 2004/11/29 16:38:06 UTC

svn commit: r106919 - /apr/apr/branches/0.9.x/locks/netware/thread_mutex.c /apr/apr/branches/0.9.x/threadproc/netware/proc.c

Author: bnicholes
Date: Mon Nov 29 07:38:06 2004
New Revision: 106919

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

Modified: apr/apr/branches/0.9.x/locks/netware/thread_mutex.c
Url: http://svn.apache.org/viewcvs/apr/apr/branches/0.9.x/locks/netware/thread_mutex.c?view=diff&rev=106919&p1=apr/apr/branches/0.9.x/locks/netware/thread_mutex.c&r1=106918&p2=apr/apr/branches/0.9.x/locks/netware/thread_mutex.c&r2=106919
==============================================================================
--- apr/apr/branches/0.9.x/locks/netware/thread_mutex.c	(original)
+++ apr/apr/branches/0.9.x/locks/netware/thread_mutex.c	Mon Nov 29 07:38:06 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/branches/0.9.x/threadproc/netware/proc.c
Url: http://svn.apache.org/viewcvs/apr/apr/branches/0.9.x/threadproc/netware/proc.c?view=diff&rev=106919&p1=apr/apr/branches/0.9.x/threadproc/netware/proc.c&r1=106918&p2=apr/apr/branches/0.9.x/threadproc/netware/proc.c&r2=106919
==============================================================================
--- apr/apr/branches/0.9.x/threadproc/netware/proc.c	(original)
+++ apr/apr/branches/0.9.x/threadproc/netware/proc.c	Mon Nov 29 07:38:06 2004
@@ -385,7 +385,7 @@
         }
         else if (WIFSIGNALED(exit_int)) {
             *exitwhy = APR_PROC_SIGNAL;
-            *exitcode = WTERMSIG(exit_int);
+            *exitcode = WIFTERMSIG(exit_int);
         }
         else {
             /* unexpected condition */