Return-Path: Delivered-To: apmail-commons-commits-archive@minotaur.apache.org Received: (qmail 3531 invoked from network); 11 Sep 2009 16:08:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 Sep 2009 16:08:51 -0000 Received: (qmail 13407 invoked by uid 500); 11 Sep 2009 16:08:50 -0000 Delivered-To: apmail-commons-commits-archive@commons.apache.org Received: (qmail 13301 invoked by uid 500); 11 Sep 2009 16:08:50 -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 13292 invoked by uid 99); 11 Sep 2009 16:08:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Sep 2009 16:08:50 +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; Fri, 11 Sep 2009 16:08:48 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id D548D23888FF; Fri, 11 Sep 2009 16:08:27 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r813900 - in /commons/sandbox/runtime/trunk/src/main/native: include/arch/windows/acr_arch_private.h os/win32/env.c Date: Fri, 11 Sep 2009 16:08:27 -0000 To: commits@commons.apache.org From: mturk@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090911160827.D548D23888FF@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: mturk Date: Fri Sep 11 16:08:27 2009 New Revision: 813900 URL: http://svn.apache.org/viewvc?rev=813900&view=rev Log: Declare private wide char version of EnvHas Modified: commons/sandbox/runtime/trunk/src/main/native/include/arch/windows/acr_arch_private.h commons/sandbox/runtime/trunk/src/main/native/os/win32/env.c Modified: commons/sandbox/runtime/trunk/src/main/native/include/arch/windows/acr_arch_private.h URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/include/arch/windows/acr_arch_private.h?rev=813900&r1=813899&r2=813900&view=diff ============================================================================== --- commons/sandbox/runtime/trunk/src/main/native/include/arch/windows/acr_arch_private.h (original) +++ commons/sandbox/runtime/trunk/src/main/native/include/arch/windows/acr_arch_private.h Fri Sep 11 16:08:27 2009 @@ -205,6 +205,7 @@ * Wide char envvar functions from env.c */ wchar_t *acr_EnvGetW(const wchar_t *); +int acr_EnvHasW(const wchar_t *); int acr_EnvSetW(const wchar_t *, const wchar_t *); int acr_EnvDeleteW(const wchar_t *); Modified: commons/sandbox/runtime/trunk/src/main/native/os/win32/env.c URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/os/win32/env.c?rev=813900&r1=813899&r2=813900&view=diff ============================================================================== --- commons/sandbox/runtime/trunk/src/main/native/os/win32/env.c (original) +++ commons/sandbox/runtime/trunk/src/main/native/os/win32/env.c Fri Sep 11 16:08:27 2009 @@ -217,7 +217,7 @@ return 0; } -wchar_t *acr_EnvHas(const wchar_t *var) +int acr_EnvHasW(const wchar_t *var) { return _wgetenv(var) == NULL ? 0 : 1; }