You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by mt...@apache.org on 2009/09/22 18:36:53 UTC
svn commit: r817722 - in /commons/sandbox/runtime/trunk/src/main/native/os:
unix/temps.c win32/temps.c
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
};