diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2008-03-22 05:37:32 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2008-03-22 05:37:32 +0000 |
commit | e6281d0a35459a150da628df252929d0b1d61bbf (patch) | |
tree | ca141dba6194e7fb51c97b1d0922b19aabea062a /packages | |
parent | cf35e4d368ff0a415367d14ede8cb9fbebb7f6e1 (diff) |
patch to fix tiny issue with schedlib file names: there are two dots separating the file name and file extension
svn path=/trunk/; revision=9625
Diffstat (limited to 'packages')
-rw-r--r-- | packages/patches/fix_schedlib_loading-0.41.0.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/packages/patches/fix_schedlib_loading-0.41.0.patch b/packages/patches/fix_schedlib_loading-0.41.0.patch new file mode 100644 index 00000000..29195e4d --- /dev/null +++ b/packages/patches/fix_schedlib_loading-0.41.0.patch @@ -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, |