[PATCH] Use msgpack_pack_v4raw(_body) with new msgpack-c versions
authorJames McCoy <jamessan@jamessan.com>
Wed, 15 Jun 2016 13:26:20 +0000 (09:26 -0400)
committerPeter Michael Green <plugwash@raspbian.org>
Tue, 19 Nov 2019 08:28:46 +0000 (08:28 +0000)
commita5159dc3b1486452c7f90e228eb712238f8fe0e9
tree4796816fe4387d8089524c26f6bc142eeb115316
parenta8832d33e71a0bf3cbc1423226d6d33559adb9e7
[PATCH] Use msgpack_pack_v4raw(_body) with new msgpack-c versions

In msgpack-c's 1.0.0 release, the code was changed to be compatible with
the v5 msgpack spec, specifically separating out the STR and BIN types
as replacements for the old RAW type.

While the STR type is likely the right replacement type to use, it does
introduce a str 8 variant that wasn't present for the old RAW type.  For
better compatibility, the msgpack_pack_v4raw functions were added to
directly map to the old functionality.

Signed-off-by: James McCoy <jamessan@jamessan.com>
Gbp-Pq: Name msgpack-compat.patch
formats/msgpack.c