Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:19
erlang
1140-erts-Silence-CodeChecker-in-epmd_srv.c.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 1140-erts-Silence-CodeChecker-in-epmd_srv.c.patch of Package erlang
From 83a3949d38f2c9c4ac17cb0a2c44638f9cfce6d1 Mon Sep 17 00:00:00 2001 From: Sverker Eriksson <sverker@erlang.org> Date: Thu, 25 Feb 2021 13:54:54 +0100 Subject: [PATCH 2/2] erts: Silence CodeChecker in epmd_srv.c Don't try to close node_fd = -1 --- erts/epmd/src/epmd_srv.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/erts/epmd/src/epmd_srv.c b/erts/epmd/src/epmd_srv.c index bbe3bb1a60..0cb6f48b7f 100644 --- a/erts/epmd/src/epmd_srv.c +++ b/erts/epmd/src/epmd_srv.c @@ -990,9 +990,11 @@ static void do_request(g, fd, s, buf, bsize) } dbg_tty_printf(g,1,"** sent STOP_RESP NOEXIST"); } - - conn_close_fd(g,node_fd); - dbg_tty_printf(g,1,"epmd connection stopped"); + else + { + conn_close_fd(g,node_fd); + dbg_tty_printf(g,1,"epmd connection stopped"); + } if (reply(g, fd,"STOPPED",7) != 7) { -- 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