LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File 0468-Remove-2-from-dirty-BIF-tests.patch of Package erlang (Project home:Ledest:erlang:20)

From e1b245e4554911f78086bafa96a0b3e13a48d3cb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?John=20H=C3=B6gberg?= <john@erlang.org>
Date: Fri, 9 Nov 2018 12:43:05 +0100
Subject: [PATCH] Remove --/2 from dirty BIF tests

Now that it traps, --/2 would hang forever when building under
--enable-dirty-schedulers-test.
---
 erts/emulator/beam/erl_dirty_bif.tab | 2 --
 1 file changed, 2 deletions(-)

diff --git a/erts/emulator/beam/erl_dirty_bif.tab b/erts/emulator/beam/erl_dirty_bif.tab
index 086275fbe5..20299ff604 100644
--- a/erts/emulator/beam/erl_dirty_bif.tab
+++ b/erts/emulator/beam/erl_dirty_bif.tab
@@ -59,8 +59,6 @@ dirty-cpu erts_debug:lcnt_clear/0
 
 dirty-cpu-test erlang:'++'/2
 dirty-cpu-test erlang:append/2
-dirty-cpu-test erlang:'--'/2
-dirty-cpu-test erlang:subtract/2
 dirty-cpu-test erlang:iolist_size/1
 dirty-cpu-test erlang:make_tuple/2
 dirty-cpu-test erlang:make_tuple/3
-- 
2.16.4