1 --- s_loader.orig 2008-03-12 11:19:15.000000000 -0400
2 +++ s_loader.c 2008-03-12 11:18:09.000000000 -0400
4 typedef int (*t_externalschedlibmain)(const char *);
5 t_externalschedlibmain externalmainfunc;
6 char filename[MAXPDSTRING];
7 - snprintf(filename, sizeof(filename), "%s.%s", externalschedlibname,
8 + snprintf(filename, sizeof(filename), "%s%s", externalschedlibname,
10 sys_bashfilename(filename, filename);
13 HINSTANCE ntdll = LoadLibrary(filename);
16 - post("%s: couldn't load external scheduler lib ", filename);
17 + fprintf(stderr, "%s: couldn't load external scheduler lib ", filename);
22 void *dlobj = dlopen(filename, RTLD_NOW | RTLD_GLOBAL);
25 - post("%s: %s", filename, dlerror());
26 + fprintf(stderr, "%s: %s\n", filename, dlerror());
29 externalmainfunc = (t_externalschedlibmain)dlsym(dlobj,