mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-20 16:01:10 +08:00
* 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>
|
||||
|
||||
* 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)
|
||||
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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user