aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/environ.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2000-06-15 03:50:03 +0000
committerChristopher Faylor <me@cgf.cx>2000-06-15 03:50:03 +0000
commit48b1381da190c12810f4476744d33b22c77e0845 (patch)
tree781471c0bb39b1ea551d3deab7f175d3c0044acd /winsup/cygwin/environ.cc
parent01c327ba27d882572e3148072ab1f4a3a38f516c (diff)
downloadnewlib-48b1381da190c12810f4476744d33b22c77e0845.zip
newlib-48b1381da190c12810f4476744d33b22c77e0845.tar.gz
newlib-48b1381da190c12810f4476744d33b22c77e0845.tar.bz2
* environ.cc (conv_envvars): Detect and convert all environment variables used
by libiberty's choose-temp.c
Diffstat (limited to 'winsup/cygwin/environ.cc')
-rw-r--r--winsup/cygwin/environ.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/winsup/cygwin/environ.cc b/winsup/cygwin/environ.cc
index 415b24c..4947752 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}
};