File 1156-Replace-on-the-form-with-of-the-form.patch of Package erlang
From b33abad13df5f821bc5918964ec8a40f39a13ce0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bj=C3=B6rn=20Gustavsson?= <bjorn@erlang.org>
Date: Thu, 13 Feb 2025 09:04:49 +0100
Subject: [PATCH] Replace "on the form" with "of the form"
"On the form" is used when something is written on a paper or
electronic form, for example on a tax form.
To express that something has the shape or structure of something
else, the correct expression is "of the form" or "in the form".
Thanks to Richard O'Keefe for pointing this out. See
https://erlangforums.com/t/otp-28-0-rc1-released/4482/3.
---
erts/doc/guides/alt_dist.md | 2 +-
erts/doc/references/epmd_cmd.md | 2 +-
erts/emulator/beam/erl_driver.h | 2 +-
erts/emulator/beam/erl_process.c | 2 +-
erts/preloaded/src/erlang.erl | 4 ++--
lib/common_test/doc/guides/run_test_chapter.md | 2 +-
lib/common_test/doc/guides/write_test_chapter.md | 4 ++--
lib/common_test/test_server/ts_run.erl | 2 +-
lib/compiler/src/cerl.erl | 2 +-
lib/compiler/src/cerl_trees.erl | 2 +-
lib/compiler/src/compile.erl | 2 +-
.../options1_SUITE_data/src/compiler/sys_expand_pmod.erl | 2 +-
lib/edoc/doc/guides/chapter.md | 2 +-
lib/eunit/src/eunit_test.erl | 2 +-
lib/kernel/doc/guides/logger_chapter.md | 2 +-
lib/kernel/src/inet.erl | 2 +-
lib/kernel/src/logger_formatter.erl | 2 +-
lib/kernel/src/rpc.erl | 6 +++---
lib/kernel/src/socket.erl | 2 +-
lib/mnesia/src/mnesia_index.erl | 2 +-
lib/snmp/src/agent/snmpa_agent.erl | 2 +-
.../agent/snmpa_notification_delivery_info_receiver.erl | 2 +-
lib/snmp/test/snmp_test_mgr_misc.erl | 2 +-
lib/stdlib/src/erl_eval.erl | 2 +-
lib/stdlib/src/gen_event.erl | 2 +-
lib/stdlib/src/gen_fsm.erl | 2 +-
lib/stdlib/src/gen_server.erl | 4 ++--
lib/stdlib/src/gen_statem.erl | 2 +-
lib/stdlib/src/qlc_pt.erl | 2 +-
lib/stdlib/src/rand.erl | 8 ++++----
lib/stdlib/src/sys.erl | 2 +-
lib/stdlib/test/ets_tough_SUITE.erl | 2 +-
lib/syntax_tools/src/erl_syntax.erl | 4 ++--
lib/syntax_tools/src/prettypr.erl | 2 +-
lib/tools/doc/references/erlang.el.md | 2 +-
lib/tools/src/xref.erl | 2 +-
system/doc/reference_manual/ref_man_processes.md | 2 +-
system/doc/system_principles/versions.md | 2 +-
38 files changed, 47 insertions(+), 47 deletions(-)
diff --git a/lib/compiler/src/compile.erl b/lib/compiler/src/compile.erl
index 701b6cb13c..a7c58afc35 100644
--- a/lib/compiler/src/compile.erl
+++ b/lib/compiler/src/compile.erl
@@ -657,7 +657,7 @@ value are listed.
be deprecated.
- **`warn_deprecated_catch`** - Enables warnings for use of old style catch
- expressions on the form `catch Expr` instead of the modern `try ... catch
+ expressions of the form `catch Expr` instead of the modern `try ... catch
... end`. You may enable this compiler option on the project level and
add `-compile(nowarn_deprecated_catch).` to individual files which still
contain old catches in order to prevent new uses from getting added.
--
2.43.0