Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 47352 invoked from network); 12 Jul 2009 19:29:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 12 Jul 2009 19:29:00 -0000 Received: (qmail 99114 invoked by uid 500); 12 Jul 2009 19:29:10 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 99077 invoked by uid 500); 12 Jul 2009 19:29:10 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 99068 invoked by uid 99); 12 Jul 2009 19:29:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Jul 2009 19:29:10 +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; Sun, 12 Jul 2009 19:29:07 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 43D2523888D6; Sun, 12 Jul 2009 19:28:46 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r793399 - /harmony/enhanced/classlib/trunk/modules/awt/src/main/native/lcmm/shared/NativeCMM.c Date: Sun, 12 Jul 2009 19:28:46 -0000 To: commits@harmony.apache.org From: ndbeyer@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090712192846.43D2523888D6@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: ndbeyer Date: Sun Jul 12 19:28:45 2009 New Revision: 793399 URL: http://svn.apache.org/viewvc?rev=793399&view=rev Log: add check for MACOSX Modified: harmony/enhanced/classlib/trunk/modules/awt/src/main/native/lcmm/shared/NativeCMM.c Modified: harmony/enhanced/classlib/trunk/modules/awt/src/main/native/lcmm/shared/NativeCMM.c URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/awt/src/main/native/lcmm/shared/NativeCMM.c?rev=793399&r1=793398&r2=793399&view=diff ============================================================================== --- harmony/enhanced/classlib/trunk/modules/awt/src/main/native/lcmm/shared/NativeCMM.c (original) +++ harmony/enhanced/classlib/trunk/modules/awt/src/main/native/lcmm/shared/NativeCMM.c Sun Jul 12 19:28:45 2009 @@ -29,7 +29,7 @@ int gl_cmsErrorHandler(int errorCode, const char *msg) { if(errorCode == LCMS_ERRC_ABORTED) { // Throw exception later, after returning control from cmm -#if defined(ZOS) || defined(LINUX) || defined(FREEBSD) +#if defined(ZOS) || defined(LINUX) || defined(FREEBSD) || defined(MACOSX) errMsg = strdup(msg); #else errMsg = _strdup(msg);