prefer dlopenext to dlopen

git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@777 7ae35d74-ebe9-4afe-98af-79ac388436b8
Hamlib-1.1.3
Stéphane Fillod, F8CFE 2001-12-19 03:54:41 +00:00
rodzic e94afdcf79
commit aec74211d9
1 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -2,7 +2,7 @@
* Hamlib Interface - provides registering for dynamically loadable backends.
* Copyright (c) 2000,2001 by Stephane Fillod and Frank Singleton
*
* $Id: register.c,v 1.12 2001-12-16 20:02:12 fillods Exp $
* $Id: register.c,v 1.13 2001-12-19 03:54:41 fillods Exp $
*
* This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as
@ -295,9 +295,9 @@ int rig_load_backend(const char *be_name)
/*
* add hamlib directory here
*/
snprintf (libname, sizeof (libname), PREFIX"%s"POSTFIX, be_name);
snprintf (libname, sizeof (libname), PREFIX"%s", be_name);
be_handle = lt_dlopen (libname);
be_handle = lt_dlopenext (libname);
/*
* external module not found? try dlopenself for backends