mirror of
git://git.savannah.gnu.org/libtool.git
synced 2024-12-03 06:30:13 +08:00
* 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:
parent
9329b60417
commit
c2b67f1043
@ -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',
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user