* dlfcn.cc (get_full_path_of_dll): Revert patch from 2010-04-29.
This commit is contained in:
parent
75172e03ac
commit
aec297d5d9
@ -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>
|
2010-06-12 Christopher Faylor <me+cygwin@cgf.cx>
|
||||||
|
|
||||||
* times.cc (gtod): Move to sharable region.
|
* times.cc (gtod): Move to sharable region.
|
||||||
|
@ -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)
|
?: check_path_access ("/usr/lib", name, real_filename)) == NULL)
|
||||||
real_filename.check (name, PC_SYM_FOLLOW | PC_NOFULL | PC_NULLEMPTY);
|
real_filename.check (name, PC_SYM_FOLLOW | PC_NOFULL | PC_NULLEMPTY);
|
||||||
|
|
||||||
if (!real_filename.error && real_filename.exists ())
|
if (!real_filename.error)
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
set_errno (real_filename.error ?: ENOENT);
|
set_errno (real_filename.error);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user