Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang
erlang
2187-string-unicode_util-Stricten-tests-for-int...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 2187-string-unicode_util-Stricten-tests-for-integers.patch of Package erlang
From f6a337dfdbc27e17b0beb246be915817870bbf8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Gustavsson?= <bjorn@erlang.org> Date: Wed, 22 Jun 2022 06:38:52 +0200 Subject: [PATCH 7/7] string, unicode_util: Stricten tests for integers --- lib/stdlib/src/string.erl | 81 +++++++++++++--------- lib/stdlib/uc_spec/gen_unicode_mod.escript | 62 +++++++++-------- 2 files changed, 84 insertions(+), 59 deletions(-) diff --git a/lib/stdlib/uc_spec/gen_unicode_mod.escript b/lib/stdlib/uc_spec/gen_unicode_mod.escript index b459141d68..6f55f6da45 100644 --- a/lib/stdlib/uc_spec/gen_unicode_mod.escript +++ b/lib/stdlib/uc_spec/gen_unicode_mod.escript @@ -634,7 +636,7 @@ gen_gc(Fd, GBP) -> " [$\\n|R1] -> [[$\\r,$\\n]|R1];\n" " T -> [CP|T]\n" " end;\n" - "gc([CP1|T1]=T) when CP1 < 256 andalso ?IS_CP(CP1) ->\n" + "gc([CP1|T1]=T) when ?IS_CP(CP1), CP1 < 256 ->\n" " case T1 of\n" " [CP2|_] when CP2 < 256 -> T; %% Ascii Fast path\n" " _ -> %% Keep the tail binary.\n" -- 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