[libbluray-devel] Fixed dl_dlopen()

hpi1 git at videolan.org
Mon Sep 3 20:43:52 CEST 2012


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Mon Sep  3 21:43:00 2012 +0300| [536635bd0486ee9c45b92f7540e4bea593fe53c2] | committer: hpi1

Fixed dl_dlopen()

> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=536635bd0486ee9c45b92f7540e4bea593fe53c2
---

 src/file/dl_posix.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/file/dl_posix.c b/src/file/dl_posix.c
index a85a6d5..e3ca145 100644
--- a/src/file/dl_posix.c
+++ b/src/file/dl_posix.c
@@ -108,7 +108,7 @@ void   *dl_dlopen  ( const char* path, const char *version )
     static const char *search_paths[] = {"", NULL};
 #endif
 
-    for (i = 1 ; search_paths[i] ; ++i) {
+    for (i = 0 ; search_paths[i] ; ++i) {
         if (version) {
             name = str_printf("%s%s%s.%s", search_paths[i], path, ext, version);
         } else {



More information about the libbluray-devel mailing list