Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:23
erlang
0135-diffable-Adapt-rejoin_atoms-1-to-change-in...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0135-diffable-Adapt-rejoin_atoms-1-to-change-in-disassemb.patch of Package erlang
From 39e2dc5709f3df0e7b4533fa45820d7140b82d4c Mon Sep 17 00:00:00 2001 From: Frej Drejhammar <frej.drejhammar@gmail.com> Date: Mon, 12 Oct 2020 13:43:36 +0200 Subject: [PATCH 2/2] diffable: Adapt rejoin_atoms/1 to change in disassembler As of 389c0f3d87a6826a608eb532d4926d8cfd5d3d0d all operands are surrounded with '`':s, account for this change in rejoin_atoms/1. --- scripts/diffable | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/diffable b/scripts/diffable index c4f80da87a..ee738199cb 100755 --- a/scripts/diffable +++ b/scripts/diffable @@ -525,10 +525,10 @@ split_dis_func({Name,Arity,Lines0}, RE, Colon, Space) -> end|| L <- Lines1], {Name,Arity,Lines2}. -rejoin_atoms([<<"'",Tail/binary>> = Bin0,Next|Ops]) -> - Sz = byte_size(Tail) - 1, +rejoin_atoms([<<"`'",Tail/binary>> = Bin0,Next|Ops]) -> + Sz = byte_size(Tail) - 2, case Tail of - <<_:Sz/bytes,"'">> -> + <<_:Sz/bytes,"'`">> -> [Bin0|rejoin_atoms([Next|Ops])]; <<>> -> Bin = <<Bin0/binary,$\s,Next/binary>>, -- 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