]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libltdl/ltdl.c: Commented out access() call that checks for a
authorRobert Boehne <rboehne@gnu.org>
Tue, 24 Sep 2002 14:06:50 +0000 (14:06 +0000)
committerRobert Boehne <rboehne@gnu.org>
Tue, 24 Sep 2002 14:06:50 +0000 (14:06 +0000)
library file's existence and permissions, as it appears to fail
in every case.

ChangeLog
libltdl/ltdl.c

index 68f5e1340f63f01139c2647a410489ac6c74ac5f..6d2941e4e00e81e8574be10045a41bd6a0049b58 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2002-09-17  Robert Boehne  <rboehne@gnu.org>
+
+       * libltdl/ltdl.c: Commented out access() call that checks for a
+       library file's existence and permissions, as it appears to fail
+       in every case.
+
 2002-09-09  Albert Chin-A-Young  <china@thewrittenword.com>
 
        * libtool.m4: Custom $symcode for Tru64 UNIX to catch 'Q',
index 3ff02a5e9f6f8525ddb15b7552086b8d20e2c123..2984c6ed8b0d19d577b9dafc423b1cb6c26f43f8 100644 (file)
@@ -2033,14 +2033,17 @@ tryall_dlopen (handle, filename)
   cur = *handle;
   if (filename)
     {
+      /* Comment out the check of file permissions using access.
+        This call seems to always return -1 with error EACCES.
+      */
       /* We need to catch missing file errors early so that
-        file_not_found() can detect what happened. */
+        file_not_found() can detect what happened.
       if (access (filename, R_OK) != 0)
        {
          LT_DLMUTEX_SETERROR (LT_DLSTRERROR (FILE_NOT_FOUND));
          ++errors;
          goto done;
-       }
+       } */
 
       cur->info.filename = lt_estrdup (filename);
       if (!cur->info.filename)