Revision: 9625 http://pure-data.svn.sourceforge.net/pure-data/?rev=9625&view=rev Author: eighthave Date: 2008-03-21 22:37:32 -0700 (Fri, 21 Mar 2008)
Log Message: ----------- patch to fix tiny issue with schedlib file names: there are two dots separating the file name and file extension
Added Paths: ----------- trunk/packages/patches/fix_schedlib_loading-0.41.0.patch
Added: trunk/packages/patches/fix_schedlib_loading-0.41.0.patch =================================================================== --- trunk/packages/patches/fix_schedlib_loading-0.41.0.patch (rev 0) +++ trunk/packages/patches/fix_schedlib_loading-0.41.0.patch 2008-03-22 05:37:32 UTC (rev 9625) @@ -0,0 +1,29 @@ +--- s_loader.orig 2008-03-12 11:19:15.000000000 -0400 ++++ s_loader.c 2008-03-12 11:18:09.000000000 -0400 +@@ -247,7 +247,7 @@ + typedef int (*t_externalschedlibmain)(const char *); + t_externalschedlibmain externalmainfunc; + char filename[MAXPDSTRING]; +- snprintf(filename, sizeof(filename), "%s.%s", externalschedlibname, ++ snprintf(filename, sizeof(filename), "%s%s", externalschedlibname, + sys_dllextent); + sys_bashfilename(filename, filename); + #ifdef MSW +@@ -255,7 +255,7 @@ + HINSTANCE ntdll = LoadLibrary(filename); + if (!ntdll) + { +- post("%s: couldn't load external scheduler lib ", filename); ++ fprintf(stderr, "%s: couldn't load external scheduler lib ", filename); + return (0); + } + externalmainfunc = +@@ -266,7 +266,7 @@ + void *dlobj = dlopen(filename, RTLD_NOW | RTLD_GLOBAL); + if (!dlobj) + { +- post("%s: %s", filename, dlerror()); ++ fprintf(stderr, "%s: %s\n", filename, dlerror()); + return (0); + } + externalmainfunc = (t_externalschedlibmain)dlsym(dlobj,
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.