diff options
author | Christopher Faylor <me@cgf.cx> | 2005-06-04 02:11:50 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2005-06-04 02:11:50 +0000 |
commit | 6e780c8bf5805e72414adad805f40ef4df1ebf57 (patch) | |
tree | b432d94f272dd9da96fd63d5602437f44aaff824 /winsup/cygwin/dlfcn.cc | |
parent | 15c04fd16e2f6a8725311eeff9f5093524c6cf4f (diff) | |
download | cygnal-6e780c8bf5805e72414adad805f40ef4df1ebf57.tar.gz cygnal-6e780c8bf5805e72414adad805f40ef4df1ebf57.tar.bz2 cygnal-6e780c8bf5805e72414adad805f40ef4df1ebf57.zip |
* dcrt0.cc (cygwin_dll_init): Now initializes main_environ and cygtls. Comment
to explain the caveats of this method.
* how-cygtls-works.txt: New file.
Diffstat (limited to 'winsup/cygwin/dlfcn.cc')
-rw-r--r-- | winsup/cygwin/dlfcn.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/dlfcn.cc b/winsup/cygwin/dlfcn.cc index 23e4aed05..27daed893 100644 --- a/winsup/cygwin/dlfcn.cc +++ b/winsup/cygwin/dlfcn.cc @@ -68,8 +68,8 @@ get_full_path_of_dll (const char* str, char *name) if (isabspath (name) || (ret = check_path_access ("LD_LIBRARY_PATH=", name, real_filename) - ?: check_path_access ("/usr/bin:/usr/lib", name, real_filename)) == NULL) - real_filename.check (name); /* Convert */ + ?: check_path_access ("/usr/lib", name, real_filename)) == NULL) + real_filename.check (name, PC_SYM_FOLLOW | PC_NOFULL | PC_NULLEMPTY); /* Convert */ if (!real_filename.error) ret = strcpy (name, real_filename); |