summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2009-03-19 18:16:07 +0000
committerCorinna Vinschen <corinna@vinschen.de>2009-03-19 18:16:07 +0000
commitd09a742ef465d529cf0f1f8afe0cb69333d03c3c (patch)
tree2b6e36dfffa2edf717f7e1d37a98914d5dc51014 /winsup/cygwin
parenta9a520b62b1b2f30cd068dd3e5c1eaedb1a3fd99 (diff)
downloadcygnal-d09a742ef465d529cf0f1f8afe0cb69333d03c3c.tar.gz
cygnal-d09a742ef465d529cf0f1f8afe0cb69333d03c3c.tar.bz2
cygnal-d09a742ef465d529cf0f1f8afe0cb69333d03c3c.zip
* dlfcn.cc (get_full_path_of_dll): Revert patch from 2008-07-16.
Diffstat (limited to 'winsup/cygwin')
-rw-r--r--winsup/cygwin/ChangeLog4
-rw-r--r--winsup/cygwin/dlfcn.cc4
2 files changed, 6 insertions, 2 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 3d4639dc8..6a52086b5 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,7 @@
+2009-03-19 Corinna Vinschen <corinna@vinschen.de>
+
+ * dlfcn.cc (get_full_path_of_dll): Revert patch from 2008-07-16.
+
2009-03-19 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
* cygwin.din: Export log2, log2f as functions.
diff --git a/winsup/cygwin/dlfcn.cc b/winsup/cygwin/dlfcn.cc
index 6319a3c11..c7ab6832c 100644
--- a/winsup/cygwin/dlfcn.cc
+++ b/winsup/cygwin/dlfcn.cc
@@ -1,6 +1,6 @@
/* dlfcn.cc
- Copyright 1998, 2000, 2001, 2002, 2003, 2004, 2008 Red Hat, Inc.
+ Copyright 1998, 2000, 2001, 2002, 2003, 2004, 2008, 2009 Red Hat, Inc.
This file is part of Cygwin.
@@ -63,7 +63,7 @@ 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/lib", name, real_filename)) == NULL)
- real_filename.check (name, PC_SYM_FOLLOW | PC_NULLEMPTY); /* Convert */
+ real_filename.check (name, PC_SYM_FOLLOW | PC_NOFULL | PC_NULLEMPTY); /* Convert */
if (!real_filename.error)
ret = strcpy (name, real_filename.get_win32 ());