On Sat, 2004-09-11 at 17:41, Armin Bauer wrote:
> But using dlerror to detect an error is also correct. From the dlsym
> manpage:
>
> char *error;
>
> dlerror();/* Clear any existing error */
> *(void **) (&cosine) = dlsym(handle, "cos");
>
Howdy folks,
The following code snippet is part of plugin loading (from the 0.82
tarball, src/syncengine.c around line 1720).
plugin = g_malloc0(sizeof(sync_plugin));
g_assert(plugin);
plugin->plugin = mod;
plugin->shortname = CALL_PLUGIN(plugin, "s
cate 65kb of stack space,
multisync dies. As an experiment I dropped the size back to 10kb and
everything is working reasonably, so I would assume the size is the
problem. It may be better to allocate this amount of memory via malloc.
Thanks for all your work