diff -Nur libtool-1.4.2.orig/libltdl/ltdl.c libtool-1.4.2/libltdl/ltdl.c --- libtool-1.4.2.orig/libltdl/ltdl.c Thu Dec 19 15:19:48 2002 +++ libtool-1.4.2/libltdl/ltdl.c Thu Dec 19 18:02:56 2002 @@ -2250,7 +2250,7 @@ lt_ptr ignored; { lt_dlhandle *handle = (lt_dlhandle *) data; - int found = access (filename, R_OK); + int found = (access (filename, R_OK) == 0); /* Bail out if file cannot be read... */ if (!found)