diff options
| author | Christophe Fergeau <cfergeau@redhat.com> | 2013-04-09 17:50:50 +0200 |
|---|---|---|
| committer | Christophe Fergeau <cfergeau@redhat.com> | 2013-04-10 09:53:51 +0200 |
| commit | 5ebeee51146f9441474377e77bbc15ec69530d54 (patch) | |
| tree | 7558aa8295e6c8cafb631ab665f660222372d063 /python_modules | |
| parent | 5aa31e753f1a073c3039998a677a6e19a8b2cd45 (diff) | |
| download | spice-common-5ebeee51146f9441474377e77bbc15ec69530d54.tar.gz spice-common-5ebeee51146f9441474377e77bbc15ec69530d54.tar.xz spice-common-5ebeee51146f9441474377e77bbc15ec69530d54.zip | |
Add compile-time check for lz arrays
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 that before Laszlo's patch, the assert triggers, and
that it's gone after it.
Diffstat (limited to 'python_modules')
0 files changed, 0 insertions, 0 deletions
