File 0805-erts-Fix-process_flag-error_handle-docs.patch of Package erlang
From cc676e93645a8d5a17ce260e3779d7017f20b249 Mon Sep 17 00:00:00 2001
From: Lukas Larsson <lukas@erlang.org>
Date: Wed, 2 Aug 2023 21:41:12 +0200
Subject: [PATCH] erts: Fix process_flag error_handle docs
---
erts/doc/src/erlang.xml | 2 +-
.../unknown_erlang_process_flag_2_func.txt | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/erts/doc/src/erlang.xml b/erts/doc/src/erlang.xml
index 35b9827380..345e8f000a 100644
--- a/erts/doc/src/erlang.xml
+++ b/erts/doc/src/erlang.xml
@@ -6419,7 +6419,7 @@ receive_replies(ReqId, N, Acc) ->
<desc>
<p>Used by a process to redefine the error handler
for undefined function calls and undefined registered
- processes. Inexperienced users are not to use this flag,
+ processes. Use this flag with substantial caution,
as code auto-loading depends on the correct
operation of the error handling module.</p>
<p>Returns the old value of the flag.</p>
diff --git a/lib/stdlib/test/shell_docs_SUITE_data/unknown_erlang_process_flag_2_func.txt b/lib/stdlib/test/shell_docs_SUITE_data/unknown_erlang_process_flag_2_func.txt
index 4c3096a3e8..5019146c44 100644
--- a/lib/stdlib/test/shell_docs_SUITE_data/unknown_erlang_process_flag_2_func.txt
+++ b/lib/stdlib/test/shell_docs_SUITE_data/unknown_erlang_process_flag_2_func.txt
@@ -63,8 +63,8 @@
[;1m when Module :: atom(), OldModule :: atom().[0m
Used by a process to redefine the error handler for undefined
- function calls and undefined registered processes. Use this flag
- with substantial caution, as code auto-loading depends on
+ function calls and undefined registered processes. Inexperienced
+ users are not to use this flag, as code auto-loading depends on
the correct operation of the error handling module.
Returns the old value of the flag.
--
2.35.3