* 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.
This commit is contained in:
Robert Boehne 2002-09-24 14:06:50 +00:00
parent 9329b60417
commit c2b67f1043
2 changed files with 11 additions and 2 deletions

View File

@ -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',

View 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)