From 1acde5fa1f37b8e4856f96aba092a38faaac737f Mon Sep 17 00:00:00 2001 From: Paul Cristian Sarbu Date: Thu, 18 Jul 2024 14:18:39 +0200 Subject: just: Fix operation cache threshold exponent maximum value The threshold exponent cannot pass the log2 of the maximum internal map size, of type size_t, thus it cannot be larger than 63. Update the documentation and enforce the upper limit of this argument during parsing of the command line. --- share/man/just.1.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'share') diff --git a/share/man/just.1.md b/share/man/just.1.md index ccd1964e..dd585920 100644 --- a/share/man/just.1.md +++ b/share/man/just.1.md @@ -797,7 +797,7 @@ Path to the TLS server key. Once the number of operations stored exceeds twice *`2^n`*, where *`n`* is given by the option **`--log-operations-threshold`**, at most *`2^n`* operations will be removed, in a FIFO scheme. If unset, defaults to -14. Must be in the range \[0,255\]. +14. Must be in the range \[0,63\]. **`gc`** specific options ------------------------- -- cgit v1.2.3