aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2024-12-14 14:32:11 -0800
committerIan Lance Taylor <iant@golang.org>2024-12-14 14:32:11 -0800
commit3e343ef7f0ac0eb9e526b4f6d3bf3f69be3f0684 (patch)
tree08a3f43c621375724172dbfc0c3aa21541cf6d1a
parentad519f46194a7ab1671470a236c67ae17cb98ead (diff)
downloadgcc-3e343ef7f0ac0eb9e526b4f6d3bf3f69be3f0684.zip
gcc-3e343ef7f0ac0eb9e526b4f6d3bf3f69be3f0684.tar.gz
gcc-3e343ef7f0ac0eb9e526b4f6d3bf3f69be3f0684.tar.bz2
libbacktrace: don't use ZSTD_CLEVEL_DEFAULT
PR 117812 reports that testing GCC with zstd 1.3.4 fails because ZSTD_CLEVEL_DEFAULT is not defined, so avoid using it. PR libbacktrace/117812 * zstdtest.c (test_large): Use 3 rather than ZSTD_CLEVEL_DEFAULT
-rw-r--r--libbacktrace/zstdtest.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libbacktrace/zstdtest.c b/libbacktrace/zstdtest.c
index b9552ab..eb572a2 100644
--- a/libbacktrace/zstdtest.c
+++ b/libbacktrace/zstdtest.c
@@ -379,8 +379,7 @@ test_large (struct backtrace_state *state ATTRIBUTE_UNUSED)
}
r = ZSTD_compress (compressed_buf, compressed_bufsize,
- orig_buf, orig_bufsize,
- ZSTD_CLEVEL_DEFAULT);
+ orig_buf, orig_bufsize, 3);
if (ZSTD_isError (r))
{
fprintf (stderr, "zstd compress failed: %s\n", ZSTD_getErrorName (r));