commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
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 GMT
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;
 }



Mime
View raw message