Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:26
erlang
0276-Fix-is_process_alive-error-message-for-non...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0276-Fix-is_process_alive-error-message-for-non-local-pid.patch of Package erlang
From 5510d1bbdc297ea39b200b38e0b033d508f1df5f Mon Sep 17 00:00:00 2001 From: Maria Scott <maria-12648430@hnc-agency.org> Date: Tue, 11 Jun 2024 14:13:46 +0200 Subject: [PATCH] Fix is_process_alive error message for non-local pids --- lib/kernel/src/erl_erts_errors.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/kernel/src/erl_erts_errors.erl b/lib/kernel/src/erl_erts_errors.erl index a706528551..469907dac3 100644 --- a/lib/kernel/src/erl_erts_errors.erl +++ b/lib/kernel/src/erl_erts_errors.erl @@ -470,8 +470,8 @@ format_erlang_error(is_function, [_,Arity], _) -> end]; format_erlang_error(is_map_key, [_,_], _) -> [[],not_map]; -format_erlang_error(is_process_alive, [_], _) -> - [not_pid]; +format_erlang_error(is_process_alive, [Arg], _) -> + [must_be_local_pid(Arg)]; format_erlang_error(is_record, [_,_], _) -> [not_atom]; format_erlang_error(is_record, [_,Tag,Size], _) -> -- 2.35.3
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