37 lines
1.1 KiB
Diff
37 lines
1.1 KiB
Diff
From cf1de82bedd01c01e70921699c84a473b08d0dab Mon Sep 17 00:00:00 2001
|
|
From: Daiki Ueno <ueno@gnu.org>
|
|
Date: Mon, 1 Jun 2020 17:23:59 +0200
|
|
Subject: [PATCH] serv: omit upper bound of --maxearlydata option definition
|
|
|
|
It turned out that AutoGen treats numbers that exceed INT_MAX in a
|
|
platform dependent way. In this case, 4294967295 (UINT_MAX) is
|
|
treated as is on 64-bit platforms, while it is interpreted as "-1" on
|
|
32-bit platforms. This causes a problem when the program
|
|
documentation is compiled under multilib environment.
|
|
|
|
Reported by Ivan Molodetskikh in:
|
|
https://bugzilla.redhat.com/show_bug.cgi?id=1841844
|
|
and the cause was identified by Anderson Toshiyuki Sasaki.
|
|
|
|
Signed-off-by: Daiki Ueno <ueno@gnu.org>
|
|
---
|
|
src/serv-args.def | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/src/serv-args.def b/src/serv-args.def
|
|
index 996fbe36b..a584085e2 100644
|
|
--- a/src/serv-args.def
|
|
+++ b/src/serv-args.def
|
|
@@ -51,7 +51,7 @@ flag = {
|
|
flag = {
|
|
name = maxearlydata;
|
|
arg-type = number;
|
|
- arg-range = "1->4294967295";
|
|
+ arg-range = "1->";
|
|
descrip = "The maximum early data size to accept";
|
|
doc = "";
|
|
};
|
|
--
|
|
2.26.2
|
|
|