* libltdl/ltdl.c (tryall_dlopen): strcmp filenames was reversed

This commit is contained in:
Alexandre Oliva 1999-02-12 12:59:32 +00:00 committed by Alexandre Oliva
parent c8b71d5f7f
commit b37f61a8d4
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
1999-02-12 Alexandre Oliva <oliva@dcc.unicamp.br>
* libltdl/ltdl.c (tryall_dlopen): strcmp filenames was reversed
1999-02-11 Thomas Tanner <tanner@gmx.de>
* autogen: libltdl needs autoheader

View File

@ -778,7 +778,7 @@ tryall_dlopen (handle, filename)
if (!cur->filename && !filename)
break;
if (cur->filename && filename &&
strcmp(cur->filename, filename))
strcmp(cur->filename, filename) == 0)
break;
cur = cur->next;
}