]> git.ipfire.org Git - thirdparty/ccache.git/commit
fix: Correct entry_size field for result entries
authorJoel Rosdahl <joel@rosdahl.net>
Wed, 17 Nov 2021 15:47:41 +0000 (16:47 +0100)
committerJoel Rosdahl <joel@rosdahl.net>
Wed, 17 Nov 2021 19:05:32 +0000 (20:05 +0100)
commit1a165e7d94443e0a2e4c2f83c1411ddee980bc64
treecf257fee13dcd8393b650cc504c45b440c915710
parent17fae7639ae64c47c14d1b52eea59e7808806df1
fix: Correct entry_size field for result entries

The entry_size field in result entries created by ccache 4.5 are off by
one. Fix this by properly accounting for the new format_ver field in
result payload data.

Note: This bug only affects the recompression feature (-X/--recompress)
and not other ccache usage.

Closes #965.
src/Result.cpp