From f82ca06eda7ea47511d97b9b5018f78ae82715ef Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Sun, 22 May 2005 03:54:29 +0000 Subject: * 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. --- winsup/cygwin/environ.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'winsup/cygwin/environ.cc') 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, -- cgit v1.2.3