]> sourceware.org Git - newlib-cygwin.git/commitdiff
* dlfcn.cc (get_full_path_of_dll): Revert patch from 2010-04-29.
authorCorinna Vinschen <corinna@vinschen.de>
Mon, 14 Jun 2010 11:10:30 +0000 (11:10 +0000)
committerCorinna Vinschen <corinna@vinschen.de>
Mon, 14 Jun 2010 11:10:30 +0000 (11:10 +0000)
winsup/cygwin/ChangeLog
winsup/cygwin/dlfcn.cc

index cf73286e2f728374275fc3d4c198d39cdfa77b1a..3c7e8d1dbec77f9bdf7f847d69b993811ed29258 100644 (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.
index f639563651081e8e2874c280b94bbe1684a6ad4b..fb3df2c5f27c4170958a95f473251d5d398109cc 100644 (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;
 }
 
This page took 0.035042 seconds and 5 git commands to generate.