Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/mcs/jay
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@gnome.org>2004-03-13 23:41:01 +0300
committerMiguel de Icaza <miguel@gnome.org>2004-03-13 23:41:01 +0300
commitbf3cf481fc72c006085cd07cecb6e75fcd92c55d (patch)
tree547c0df61abea124b033e7c4504efccfd041a2f9 /mcs/jay
parent812cb8846d7e1281fb85f246c3b6f428632fa284 (diff)
2004-03-13 Miguel de Icaza <miguel@ximian.com>
* main.c (create_file_names): Try a few temp directories, since Windows uses a different directory naming scheme apparently: #47696 svn path=/trunk/mcs/; revision=23994
Diffstat (limited to 'mcs/jay')
-rwxr-xr-xmcs/jay/ChangeLog5
-rw-r--r--mcs/jay/main.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/mcs/jay/ChangeLog b/mcs/jay/ChangeLog
index 9e24573e72f..a682607f06f 100755
--- a/mcs/jay/ChangeLog
+++ b/mcs/jay/ChangeLog
@@ -1,3 +1,8 @@
+2004-03-13 Miguel de Icaza <miguel@ximian.com>
+
+ * main.c (create_file_names): Try a few temp directories, since
+ Windows uses a different directory naming scheme apparently: #47696
+
2004-03-05 Zoltan Varga <vargaz@freemail.hu>
* main.c: Applied patch from Albert Strasheim (13640887@sun.ac.za).
diff --git a/mcs/jay/main.c b/mcs/jay/main.c
index 515a70a2de3..ffb930196ed 100644
--- a/mcs/jay/main.c
+++ b/mcs/jay/main.c
@@ -263,6 +263,8 @@ create_file_names()
tmpdir = ".";
#else
tmpdir = getenv("TMPDIR");
+ if (tmpdir == 0) tmpdir = getenv ("TMP");
+ if (tmpdir == 0) tmpdir = getenv ("TEMP");
if (tmpdir == 0) tmpdir = "/tmp";
#endif