Re: [Multisync-devel] Incorrect usage of dlerror() in src/syncengine.c

2004-09-11 Thread Sam Lawrance
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"); >

[Multisync-devel] Incorrect usage of dlerror() in src/syncengine.c

2004-09-10 Thread Sam Lawrance
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

[Multisync-devel] Evolution plugin failing on FreeBSD 5.1, suggestion

2003-08-11 Thread Sam Lawrance
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