From: Robert Boehne Date: Tue, 24 Sep 2002 14:06:50 +0000 (+0000) Subject: * libltdl/ltdl.c: Commented out access() call that checks for a X-Git-Tag: release-1-5~89 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c2b67f1043eef81626e658d9b352b103f897c9a9;p=thirdparty%2Flibtool.git * 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. --- diff --git a/ChangeLog b/ChangeLog index 68f5e1340..6d2941e4e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2002-09-17 Robert Boehne + + * 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 * libtool.m4: Custom $symcode for Tru64 UNIX to catch 'Q', diff --git a/libltdl/ltdl.c b/libltdl/ltdl.c index 3ff02a5e9..2984c6ed8 100644 --- a/libltdl/ltdl.c +++ b/libltdl/ltdl.c @@ -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)