From: Mark D. <the...@us...> - 2005-11-14 03:38:48
|
Update of /cvsroot/gaim/gaim/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10854 Modified Files: plugin.c Log Message: Stu pointed out that I probably want to leave this how it was. This should allow you to use the same 3rd party plugins across platforms using the same prefs.xml? Index: plugin.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/plugin.c,v retrieving revision 1.70 retrieving revision 1.71 diff -u -d -p -r1.70 -r1.71 --- plugin.c 13 Nov 2005 01:32:31 -0000 1.70 +++ plugin.c 14 Nov 2005 03:38:40 -0000 1.71 @@ -97,7 +97,9 @@ is_native(const char *filename) if (last_period == NULL) return FALSE; - return !(strcmp(last_period + 1, G_MODULE_SUFFIX)); + return !(strcmp(last_period, ".dll") & + strcmp(last_period, ".sl") & + strcmp(last_period, ".so")); } static char * |