File 0867-Update-deprecations.patch of Package erlang
From 09d05c43a02253215c2fd5c400e9e7a28d2f159e Mon Sep 17 00:00:00 2001
From: Hans Nilsson <hans@erlang.org>
Date: Wed, 19 Jan 2022 08:16:25 +0100
Subject: [PATCH 2/2] Update deprecations
---
bootstrap/lib/stdlib/ebin/otp_internal.beam | Bin 5564 -> 5648 bytes
lib/stdlib/src/otp_internal.erl | 12 ++++++++----
2 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/lib/stdlib/src/otp_internal.erl b/lib/stdlib/src/otp_internal.erl
index fed37f3953..2332df5315 100644
--- a/lib/stdlib/src/otp_internal.erl
+++ b/lib/stdlib/src/otp_internal.erl
@@ -446,9 +446,9 @@ obsolete(erlang, hash, 2) ->
obsolete_1(httpd_conf, check_enum, 2) ->
{deprecated, "deprecated; use lists:member/2 instead"};
obsolete_1(httpd_conf, clean, 1) ->
- {deprecated, "deprecated; use sting:strip/1 instead or possible the re module"};
+ {deprecated, "deprecated; use string:strip/1 instead or possible the re module"};
obsolete_1(httpd_conf, custom_clean, 3) ->
- {deprecated, "deprecated; use sting:strip/3 instead or possible the re module"};
+ {deprecated, "deprecated; use string:strip/3 instead or possible the re module"};
obsolete_1(httpd_conf, is_directory, 1) ->
{deprecated, "deprecated; use filelib:is_dir/1 instead"};
obsolete_1(httpd_conf, is_file, 1) ->
--
2.31.1