[Csync2] Patchwork to running on musl libc and some cleanups

Lars Ellenberg lars.ellenberg at linbit.com
Mon Oct 12 10:42:52 CEST 2015


On Fri, Oct 09, 2015 at 01:22:03PM +0300, Valery Kartel wrote:
> I have a strange runtime error on my Alpinelinux box.
> While debugging I found that snprintf("%Ld"...) format for (long
> long) is invalid.
> The correct one is "%lld"
> 
> The first patch fixes this.
> 
> The second patch is a cleanup to not compile a 'strlcmp' function if
> we have system one.
> 
> The third patch is to disable ssl by default, because many distros
> do not generate ssl certificate and key.
> 
> Don't know where to send patches. So I place it here.

Best place to send patches for csync2.
Thanks, looks innocent enough ;-)

> -               xxprintf(":type=reg:size=%Ld", (long long)st->st_size);
> +               xxprintf(":type=reg:size=%lld", (long long)st->st_size);

Cheers,

-- 
: Lars Ellenberg
: http://www.LINBIT.com | Your Way to High Availability
: DRBD, Linux-HA  and  Pacemaker support and consulting

DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.


More information about the Csync2 mailing list