File 0564-test_server-Make-it-32-bit-build-show-in-platform-st.patch of Package erlang
From 3240b2dc4fc2476c988d1ddbcb3315f4bc2c1459 Mon Sep 17 00:00:00 2001
From: Sverker Eriksson <sverker@erlang.org>
Date: Mon, 14 Nov 2022 14:33:58 +0100
Subject: [PATCH 1/2] test_server: Make it 32-bit build show in platform string
---
lib/common_test/test_server/ts_install.erl | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/common_test/test_server/ts_install.erl b/lib/common_test/test_server/ts_install.erl
index 3e7a95a141..72585efdf7 100644
--- a/lib/common_test/test_server/ts_install.erl
+++ b/lib/common_test/test_server/ts_install.erl
@@ -339,8 +339,8 @@ to_upper(String) ->
word_size() ->
case {erlang:system_info({wordsize,external}),
erlang:system_info({wordsize,internal})} of
- {4,4} -> "";
- {8,8} -> "/64";
+ {4,4} -> "/32-bit";
+ {8,8} -> "/64-bit";
{8,4} -> "/Halfword"
end.
--
2.35.3