File 0533-Update-system-doc-design_principles-statem.xml.patch of Package erlang
From f96bc2e6b70e5e0d41b44033bbf5cae57ba7f077 Mon Sep 17 00:00:00 2001
From: Bryan Paxton <39971740+starbelly@users.noreply.github.com>
Date: Mon, 12 Sep 2022 10:38:21 -0500
Subject: [PATCH 3/8] Update system/doc/design_principles/statem.xml
Co-authored-by: Paulo F. Oliveira <paulo.ferraz.oliveira@gmail.com>
---
system/doc/design_principles/statem.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/system/doc/design_principles/statem.xml b/system/doc/design_principles/statem.xml
index 6ba8c53e1b..30aa0444e8 100644
--- a/system/doc/design_principles/statem.xml
+++ b/system/doc/design_principles/statem.xml
@@ -1918,7 +1918,7 @@ do_unlock() ->
Using a receive with a catch all match may result in system messages
being discarded which in turn may lead to unexpected behaviour.
If a selective receive must be used then great care should be taken to
- ensure messages only messages pertitnent to the operation are caught.
+ ensure messages only messages pertinent to the operation are caught.
Likewise, long running operations may result in timeouts and the
deferment of system messages, which in turn can lead to undesirable behaviour;
thus a reasonable timeout for any blocking operation should be used.
--
2.35.3