Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:23
erlang
2036-kernel-Fix-a-newly-introduced-bug-in-disk_...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 2036-kernel-Fix-a-newly-introduced-bug-in-disk_log.patch of Package erlang
From 75d4c210fa98d25ca1075c14d8937a640affb298 Mon Sep 17 00:00:00 2001 From: Hans Bolinder <hasse@erlang.org> Date: Mon, 7 Dec 2020 09:06:34 +0100 Subject: [PATCH] kernel: Fix a newly introduced bug in disk_log Fix of commit 0e718446. --- lib/kernel/src/disk_log_server.erl | 2 +- lib/kernel/test/disk_log_SUITE.erl | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/kernel/src/disk_log_server.erl b/lib/kernel/src/disk_log_server.erl index ea8cbc808e..4ea6dcce0b 100644 --- a/lib/kernel/src/disk_log_server.erl +++ b/lib/kernel/src/disk_log_server.erl @@ -237,7 +237,7 @@ erase_log(Name, Pid) -> erase(Pid). do_all() -> - LocalSpec = {'$1','_',local}, + LocalSpec = {'$1','_'}, Local0 = [hd(L) || L <- ets:match(?DISK_LOG_NAME_TABLE, LocalSpec)], lists:sort(Local0). diff --git a/lib/kernel/test/disk_log_SUITE.erl b/lib/kernel/test/disk_log_SUITE.erl index d7379cdca0..7cc6372de3 100644 --- a/lib/kernel/test/disk_log_SUITE.erl +++ b/lib/kernel/test/disk_log_SUITE.erl @@ -1899,6 +1899,7 @@ open_size(Conf) when is_list(Conf) -> {format, internal}]), {ok, n} = disk_log:open([{name, n}, {file, File}, {type, wrap}, {format, internal},{size, {100, No}}]), + [n] = disk_log:all(), B = mk_bytes(60), ok = disk_log:log_terms(n, [B, B, B, B]), ok = disk_log:sync(n), -- 2.26.2
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor