File 2034-stdlib-Adjustment-after-deprecation-of-disk_log-func.patch of Package erlang
From e7df3f7e5781f1c4c277eb20f482ac65698afc29 Mon Sep 17 00:00:00 2001
From: Hans Bolinder <hasse@erlang.org>
Date: Tue, 1 Sep 2020 10:20:13 +0200
Subject: [PATCH 4/5] stdlib: Adjustment after deprecation of disk_log function
disk_log:accessible_logs/0 is deprecated in Erlang/OTP 24.0.
---
lib/stdlib/test/ets_SUITE.erl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/stdlib/test/ets_SUITE.erl b/lib/stdlib/test/ets_SUITE.erl
index 9e5410c10f..62ff779a93 100644
--- a/lib/stdlib/test/ets_SUITE.erl
+++ b/lib/stdlib/test/ets_SUITE.erl
@@ -5526,7 +5526,7 @@ badfile(Config) when is_list(Config) ->
{error, badfile} = ets:file2tab(File),
{error, badfile} = ets:tabfile_info(File),
file:delete(File),
- {[],[]} = disk_log:accessible_logs(),
+ [] = disk_log:all(),
ok.
get_all_terms(Log, File) ->
--
2.26.2