From 42e89cc4c7ea46682153862af9445828a8edd8c8 Mon Sep 17 00:00:00 2001 From: Bryce Denney Date: Tue, 15 Oct 2002 20:56:27 +0000 Subject: [PATCH] - fix major bug in LTDL that makes it only look in the first component of a pathname list. --- bochs-testing/plugin-test/libltdl/ltdl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bochs-testing/plugin-test/libltdl/ltdl.c b/bochs-testing/plugin-test/libltdl/ltdl.c index 47e6ea8d3..6d788fdd0 100644 --- a/bochs-testing/plugin-test/libltdl/ltdl.c +++ b/bochs-testing/plugin-test/libltdl/ltdl.c @@ -2257,7 +2257,7 @@ find_handle_callback (filename, data, ignored) lt_ptr ignored; { lt_dlhandle *handle = (lt_dlhandle *) data; - int found = access (filename, R_OK); + int found = (0 == access (filename, R_OK)); /* Bail out if file cannot be read... */ if (!found)