commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r817722 - in /commons/sandbox/runtime/trunk/src/main/native/os: unix/temps.c win32/temps.c
Date Tue, 22 Sep 2009 16:36:53 GMT
Author: mturk
Date: Tue Sep 22 16:36:52 2009
New Revision: 817722

URL: http://svn.apache.org/viewvc?rev=817722&view=rev
Log:
Use canonical var ordering. Thanks Jim

Modified:
    commons/sandbox/runtime/trunk/src/main/native/os/unix/temps.c
    commons/sandbox/runtime/trunk/src/main/native/os/win32/temps.c

Modified: commons/sandbox/runtime/trunk/src/main/native/os/unix/temps.c
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/os/unix/temps.c?rev=817722&r1=817721&r2=817722&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/os/unix/temps.c (original)
+++ commons/sandbox/runtime/trunk/src/main/native/os/unix/temps.c Tue Sep 22 16:36:52 2009
@@ -35,10 +35,9 @@
 };
 
 static const char *_try_envs[] = {
-    "TMP",
-    "TEMP",
     "TMPDIR",
-    "TEMPDIR",
+    "TEMP",
+    "TMP",
     NULL
 };
 

Modified: commons/sandbox/runtime/trunk/src/main/native/os/win32/temps.c
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/os/win32/temps.c?rev=817722&r1=817721&r2=817722&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/os/win32/temps.c (original)
+++ commons/sandbox/runtime/trunk/src/main/native/os/win32/temps.c Tue Sep 22 16:36:52 2009
@@ -28,10 +28,9 @@
 #define TMP_PATH_MAX    (ACR_MBUFF_SIZ - 12)
 
 static const wchar_t *_try_envs[] = {
-    L"TMP",
-    L"TEMP",
     L"TMPDIR",
-    L"TEMPDIR",
+    L"TEMP",
+    L"TMP",
     NULL
 };
 



Mime
View raw message