]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
win32_deps_build.sh: bump snappy version to 1.1.9
authorKefu Chai <kchai@redhat.com>
Wed, 28 Jul 2021 09:01:06 +0000 (17:01 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 29 Jul 2021 04:13:26 +0000 (12:13 +0800)
commitb04248172d753c1bea9e30af537d5077a1cac251
tree15fbccf65d1a66690b4f52f665d27fb012bf2dc9
parent4c13a798dcf2e783afd7558bf3541dc025de854a
win32_deps_build.sh: bump snappy version to 1.1.9

in snappy, the commit of 26102a0c66175bc39edbf484c994a21902e986dc
fixes the SNAPPY_VERSION generation. and this commit was included by
v1.1.8 and v1.1.9.

also, in v1.1.9, a change was introduced, where the function signature
was changed, and more importantly, this change is not backward
compatible:

<   bool GetUncompressedLength(Source* source, uint32_t* result);
---
>   bool GetUncompressedLength(Source* source, uint32* result);

see also, https://tracker.ceph.com/issues/50934

so we check SNAPPY_VERSION to tell if we should use `uint32_t` or
`uint32`.

in this change, snappy version used to build win32 client is bumped
to the latest stable version, v1.1.9, to include the fix of
SNAPPY_VERSION. this paves the road to fix of https://tracker.ceph.com/issues/50934

Signed-off-by: Kefu Chai <kchai@redhat.com>
win32_deps_build.sh