* dlfcn.cc (get_full_path_of_dll): Revert patch from 2010-04-29.

This commit is contained in:
Corinna Vinschen 2010-06-14 11:10:30 +00:00
parent 75172e03ac
commit aec297d5d9
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2010-06-14 Corinna Vinschen <corinna@vinschen.de>
* dlfcn.cc (get_full_path_of_dll): Revert patch from 2010-04-29.
2010-06-12 Christopher Faylor <me+cygwin@cgf.cx>
* times.cc (gtod): Move to sharable region.

View File

@ -58,10 +58,10 @@ get_full_path_of_dll (const char* str, path_conv &real_filename)
?: check_path_access ("/usr/lib", name, real_filename)) == NULL)
real_filename.check (name, PC_SYM_FOLLOW | PC_NOFULL | PC_NULLEMPTY);
if (!real_filename.error && real_filename.exists ())
if (!real_filename.error)
return true;
set_errno (real_filename.error ?: ENOENT);
set_errno (real_filename.error);
return false;
}