Return-Path: Delivered-To: apmail-commons-commits-archive@minotaur.apache.org Received: (qmail 78628 invoked from network); 20 Aug 2009 18:56:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 20 Aug 2009 18:56:11 -0000 Received: (qmail 20709 invoked by uid 500); 20 Aug 2009 18:56:30 -0000 Delivered-To: apmail-commons-commits-archive@commons.apache.org Received: (qmail 20609 invoked by uid 500); 20 Aug 2009 18:56:30 -0000 Mailing-List: contact commits-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@commons.apache.org Delivered-To: mailing list commits@commons.apache.org Received: (qmail 20600 invoked by uid 99); 20 Aug 2009 18:56:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Aug 2009 18:56:30 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Aug 2009 18:56:27 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 251C623888C5; Thu, 20 Aug 2009 18:56:06 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r806304 - in /commons/sandbox/runtime/trunk/src/main/native/os/unix: pmutex.c psema.c Date: Thu, 20 Aug 2009 18:56:06 -0000 To: commits@commons.apache.org From: mturk@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090820185606.251C623888C5@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: mturk Date: Thu Aug 20 18:56:05 2009 New Revision: 806304 URL: http://svn.apache.org/viewvc?rev=806304&view=rev Log: We don't use pointers Modified: commons/sandbox/runtime/trunk/src/main/native/os/unix/pmutex.c commons/sandbox/runtime/trunk/src/main/native/os/unix/psema.c Modified: commons/sandbox/runtime/trunk/src/main/native/os/unix/pmutex.c URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/os/unix/pmutex.c?rev=806304&r1=806303&r2=806304&view=diff ============================================================================== --- commons/sandbox/runtime/trunk/src/main/native/os/unix/pmutex.c (original) +++ commons/sandbox/runtime/trunk/src/main/native/os/unix/pmutex.c Thu Aug 20 18:56:05 2009 @@ -22,11 +22,14 @@ #include "acr_memory.h" #include "acr_string.h" #include "acr_descriptor.h" -#include "acr_pointer.h" #include "acr_procmutex.h" #include +#ifndef SEM_FAILED +#define SEM_FAILED (-1) +#endif + #ifndef NAME_MAX #define NAME_MAX (64) #endif Modified: commons/sandbox/runtime/trunk/src/main/native/os/unix/psema.c URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/os/unix/psema.c?rev=806304&r1=806303&r2=806304&view=diff ============================================================================== --- commons/sandbox/runtime/trunk/src/main/native/os/unix/psema.c (original) +++ commons/sandbox/runtime/trunk/src/main/native/os/unix/psema.c Thu Aug 20 18:56:05 2009 @@ -22,7 +22,6 @@ #include "acr_memory.h" #include "acr_string.h" #include "acr_descriptor.h" -#include "acr_pointer.h" #include "acr_semaphore.h" #include