From: Pawel S. <paw...@th...> - 2006-04-29 17:39:44
|
Hi, I have got the synce plugin working with current libopensync. I had to =20 make some changes to avoid occassional crashes when the configuration =20 of the plugin was different than assumed in the code. Once I started =20 that, I make the file synchronisation work as well. Abridged list of =20 changes follows: * configure.in: current AM_PATH_RRA forgets to add -lmimedir to the library list. Work around it for now. * src/synce_plugin.c: use small_caps names from synce_file.c * src/synce_file.c: port to the current infrastructure. - prefix with config_file the remote file name correctly in all =20 places. - remove hacks that passed file name in fileFormat::data and crashed when memory block size did not match. - fix some memory leaks. - do not crash in synce_file_commit() when config_file is not set. * src/synce_file.h: change prototypes to small caps. The patch is attached - I hope it will find its way soon to the =20 repository! Best, Pawel |