Changeset 35712b7


Ignore:
Timestamp:
2016-05-26T02:48:08Z (8 years ago)
Author:
jgeboski <jgeboski@…>
Branches:
master
Children:
59a7dc5
Parents:
808825e
git-author:
jgeboski <jgeboski@…> (15-05-16 22:22:13)
git-committer:
jgeboski <jgeboski@…> (26-05-16 02:48:08)
Message:

Only load plugins with the right file extension

Plugins which use autotools will install a .la file along with the .so
file. Both of these files are loadable as plugins, so the plugin ends
up being loaded twice. To prevent this, only load the .so module.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/nogaim.c

    r808825e r35712b7  
    133133
    134134                while ((entry = g_dir_read_name(dir))) {
     135                        if (!g_str_has_suffix(entry, "." G_MODULE_SUFFIX)) {
     136                                continue;
     137                        }
     138
    135139                        path = g_build_filename(global.conf->plugindir, entry, NULL);
    136140                        if (!path) {
Note: See TracChangeset for help on using the changeset viewer.