Re: [Spice-devel] [PATCH] Add compile-time check for lz arrays

2013-04-10 Thread Christophe Fergeau
On Tue, Apr 09, 2013 at 06:53:45PM +0200, Marc-André Lureau wrote: > you probably want to update Makefile.am for make distcheck to pass (even as > a submodule). Ah right, forgot that, I've added this, and pushed this patch along with Laszlo's. Thanks, Christophe pgpWMdoYnV88U.pgp Description:

Re: [Spice-devel] [PATCH] Add compile-time check for lz arrays

2013-04-09 Thread Marc-André Lureau
you probably want to update Makefile.am for make distcheck to pass (even as a submodule). otherwise, looks good On Tue, Apr 9, 2013 at 6:00 PM, Christophe Fergeau wrote: > In addition to Laszlo's commit fixing rhbz#928973, we can add > some compile-time assertion to lz_common.h to help catch si

[Spice-devel] [PATCH] Add compile-time check for lz arrays

2013-04-09 Thread Christophe Fergeau
In addition to Laszlo's commit fixing rhbz#928973, we can add some compile-time assertion to lz_common.h to help catch similar bugs in the future. This uses gnulib's verify.h to make sure at compile-time that the various constant arrays used in lz_common.h are of the expected size. I've checked tha