File 0771-epmd-Fix-multiple-typos-in-comments.patch of Package erlang

From bb89ae6fb8d51784a556addeeb5b5e02bc783ba9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20Van=C4=9Bk?= <pv@excello.cz>
Date: Tue, 1 Oct 2019 13:08:35 +0200
Subject: [PATCH] epmd: Fix multiple typos in comments

---
 erts/epmd/src/epmd.c     | 2 +-
 erts/epmd/src/epmd_int.h | 2 +-
 erts/epmd/src/epmd_srv.c | 6 +++---
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/erts/epmd/src/epmd.c b/erts/epmd/src/epmd.c
index 8313678b5d..352f2fe263 100644
--- a/erts/epmd/src/epmd.c
+++ b/erts/epmd/src/epmd.c
@@ -474,7 +474,7 @@ static void usage(EpmdVars *g)
  *  Error reporting - dbg_printf() & dbg_tty_printf & dbg_perror()
  *
  *  The first form will print out on tty or syslog depending on
- *  if it runs as deamon or not. The second form will never print
+ *  if it runs as daemon or not. The second form will never print
  *  out on syslog.
  *
  *  The arguments are
diff --git a/erts/epmd/src/epmd_int.h b/erts/epmd/src/epmd_int.h
index a5156a142e..5c3f6d7bb8 100644
--- a/erts/epmd/src/epmd_int.h
+++ b/erts/epmd/src/epmd_int.h
@@ -293,7 +293,7 @@ static const struct in6_addr in6addr_loopback =
 
 /* ************************************************************************ */
 
-/* Stuctures used by server */
+/* Structures used by server */
 
 typedef struct {
   int fd;			/* File descriptor */
diff --git a/erts/epmd/src/epmd_srv.c b/erts/epmd/src/epmd_srv.c
index 633ec71e5f..718e389598 100644
--- a/erts/epmd/src/epmd_srv.c
+++ b/erts/epmd/src/epmd_srv.c
@@ -38,7 +38,7 @@
  *  register their names with this server.
  *
  *  To be accessible to all Erlang nodes this server listens to a well
- *  known port EPMD_PORT_NO (curently port 4369) where requests
+ *  known port EPMD_PORT_NO (currently port 4369) where requests
  *  for connections can be sent.
  *
  *  To keep track of when registered Erlang nodes are terminated this
@@ -59,7 +59,7 @@
 
 /* We use separate data structures for node names and connections
    so that a request will not use a slot with a name that we
-   want to resuse later incrementing the "creation" */
+   want to reuse later incrementing the "creation" */
 
 
 /* forward declarations */
@@ -525,7 +525,7 @@ void run(EpmdVars *g)
 
 /*
  *  This routine read as much of the packet as possible and
- *  if completed calls "do_request()" to fullfill the request.
+ *  if completed calls "do_request()" to fulfill the request.
  *
  */
 
-- 
2.16.4

openSUSE Build Service is sponsored by