diff options
author | Christopher Faylor <me@cgf.cx> | 2005-05-22 03:54:29 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2005-05-22 03:54:29 +0000 |
commit | f82ca06eda7ea47511d97b9b5018f78ae82715ef (patch) | |
tree | 1a7724d7db5eb1954a2633a55c6b4dc75ac9e141 /winsup/cygwin/environ.cc | |
parent | f609f58d32ed91f857135cfc8b76ccba1b24e2e1 (diff) | |
download | cygnal-f82ca06eda7ea47511d97b9b5018f78ae82715ef.tar.gz cygnal-f82ca06eda7ea47511d97b9b5018f78ae82715ef.tar.bz2 cygnal-f82ca06eda7ea47511d97b9b5018f78ae82715ef.zip |
* spawn.cc (find_exec): Accept a PATH-like string in place of an environment
variable.
* dlfcn.cc (get_full_path_of_dll): Search /usr/bin (for windows compatibility)
and /usr/lib (for UNIX compatibility) when looking for shared libraries.
* environ.cc (conv_envvars): Put back LD_LIBRARY_PATH since it is used by
get_full_path_of_dll().
* errno.cc (errmap): Map MOD_NOT_FOUND to ENOENT.
* cygmagic: Remove debugging cruft.
Diffstat (limited to 'winsup/cygwin/environ.cc')
-rw-r--r-- | winsup/cygwin/environ.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/winsup/cygwin/environ.cc b/winsup/cygwin/environ.cc index 774ce0be5..a280f52c7 100644 --- a/winsup/cygwin/environ.cc +++ b/winsup/cygwin/environ.cc @@ -61,6 +61,10 @@ static win_env conv_envvars[] = cygwin_posix_to_win32_path_list_buf_size, true}, {NL ("HOME="), NULL, NULL, cygwin_conv_to_full_posix_path, cygwin_conv_to_full_win32_path, return_MAX_PATH, return_MAX_PATH, false}, + {NL ("LD_LIBRARY_PATH="), NULL, NULL, cygwin_win32_to_posix_path_list, + cygwin_posix_to_win32_path_list, + cygwin_win32_to_posix_path_list_buf_size, + cygwin_posix_to_win32_path_list_buf_size, true}, {NL ("TMPDIR="), NULL, NULL, cygwin_conv_to_full_posix_path, cygwin_conv_to_full_win32_path, return_MAX_PATH, return_MAX_PATH, false}, {NL ("TMP="), NULL, NULL, cygwin_conv_to_full_posix_path, |