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

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2000-06-15 07:50:03 +0400
committerChristopher Faylor <me@cgf.cx>2000-06-15 07:50:03 +0400
commit48b1381da190c12810f4476744d33b22c77e0845 (patch)
tree781471c0bb39b1ea551d3deab7f175d3c0044acd /winsup/cygwin
parent01c327ba27d882572e3148072ab1f4a3a38f516c (diff)
* environ.cc (conv_envvars): Detect and convert all environment variables used
by libiberty's choose-temp.c
Diffstat (limited to 'winsup/cygwin')
-rw-r--r--winsup/cygwin/ChangeLog5
-rw-r--r--winsup/cygwin/environ.cc4
2 files changed, 9 insertions, 0 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 23db82bd6..9d47d39bb 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,8 @@
+Wed Jun 14 23:47:19 2000 Christopher Faylor <cgf@cygnus.com>
+
+ * environ.cc (conv_envvars): Detect and convert all environment
+ variables used by libiberty's choose-temp.c
+
Tue Jun 13 12:41:41 2000 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
* path.cc (mount_info::add_item): The previous patch can't handle
diff --git a/winsup/cygwin/environ.cc b/winsup/cygwin/environ.cc
index 415b24c4e..494775219 100644
--- a/winsup/cygwin/environ.cc
+++ b/winsup/cygwin/environ.cc
@@ -43,6 +43,10 @@ static win_env conv_envvars[] =
cygwin_conv_to_full_win32_path, return_MAX_PATH, return_MAX_PATH},
{"TMPDIR=", 7, NULL, NULL, cygwin_conv_to_full_posix_path, cygwin_conv_to_full_win32_path,
return_MAX_PATH, return_MAX_PATH},
+ {"TMP=", 4, NULL, NULL, cygwin_conv_to_full_posix_path, cygwin_conv_to_full_win32_path,
+ return_MAX_PATH, return_MAX_PATH},
+ {"TEMP=", 5, NULL, NULL, cygwin_conv_to_full_posix_path, cygwin_conv_to_full_win32_path,
+ return_MAX_PATH, return_MAX_PATH},
{NULL, 0, NULL, NULL, NULL, NULL, 0, 0}
};