Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:20
ux
ux-3.4.1-maybe.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ux-3.4.1-maybe.patch of Package ux
diff -Ndurp ux-3.4.1/doc/ux_string.md ux-3.4.1-maybe/doc/ux_string.md --- ux-3.4.1/doc/ux_string.md 2012-11-12 20:24:44.000000000 +0200 +++ ux-3.4.1-maybe/doc/ux_string.md 2023-06-07 02:00:25.535056209 +0300 @@ -198,7 +198,7 @@ Example: -<pre>is_nfc(Str::list()) -> yes | no | maybe</pre> +<pre>is_nfc(Str::list()) -> yes | no | 'maybe'</pre> <br></br> @@ -209,7 +209,7 @@ Example: -<pre>is_nfd(Str::list()) -> yes | no | maybe</pre> +<pre>is_nfd(Str::list()) -> yes | no | 'maybe'</pre> <br></br> @@ -220,7 +220,7 @@ Example: -<pre>is_nfkc(Str::list()) -> yes | no | maybe</pre> +<pre>is_nfkc(Str::list()) -> yes | no | 'maybe'</pre> <br></br> @@ -231,7 +231,7 @@ Example: -<pre>is_nfkd(Str::list()) -> yes | no | maybe</pre> +<pre>is_nfkd(Str::list()) -> yes | no | 'maybe'</pre> <br></br> diff -Ndurp ux-3.4.1/src/uca/ux_uca_extract.erl ux-3.4.1-maybe/src/uca/ux_uca_extract.erl --- ux-3.4.1/src/uca/ux_uca_extract.erl 2012-11-12 20:24:44.000000000 +0200 +++ ux-3.4.1-maybe/src/uca/ux_uca_extract.erl 2023-06-07 02:00:12.111347723 +0300 @@ -371,10 +371,10 @@ do_extract1([H|T]=S, MFn, Key, OldCCC, S ?DBG("selected ccc is ~w.~n", [CCC]), do_extract1(T, MFn, NewKey, CCC, Skipped, NewKey); - {maybe, NewCCC} when Res =:= more -> + {'maybe', NewCCC} when Res =:= more -> CCC = select_ccc(OldCCC, NewCCC), do_extract1(T, MFn, NewKey, CCC, Skipped, more); - {maybe, NewCCC} -> + {'maybe', NewCCC} -> CCC = select_ccc(OldCCC, NewCCC), case do_extract1(T, MFn, NewKey, CCC, Skipped, more) of more_error -> diff -Ndurp ux-3.4.1/src/unidata/ux_unidata_parser_allkeys.erl ux-3.4.1-maybe/src/unidata/ux_unidata_parser_allkeys.erl --- ux-3.4.1/src/unidata/ux_unidata_parser_allkeys.erl 2012-11-12 20:24:44.000000000 +0200 +++ ux-3.4.1-maybe/src/unidata/ux_unidata_parser_allkeys.erl 2023-06-07 02:00:05.775485313 +0300 @@ -54,7 +54,7 @@ get_function(ducet, Table) -> true -> true; false -> case ets:member(MTable, Value) of - true -> maybe; + true -> 'maybe'; false -> false end end diff -Ndurp ux-3.4.1/src/ux_string.erl ux-3.4.1-maybe/src/ux_string.erl --- ux-3.4.1/src/ux_string.erl 2012-11-12 20:24:44.000000000 +0200 +++ ux-3.4.1-maybe/src/ux_string.erl 2023-06-07 01:59:59.151629159 +0300 @@ -576,14 +576,14 @@ to_upper(Str) -> %% http://unicode.org/reports/tr15/ %% --spec is_nf(fun(), list(), integer(), atom(), fun()) -> yes | no | maybe. +-spec is_nf(fun(), list(), integer(), atom(), fun()) -> yes | no | 'maybe'. is_nf(CCC, [Head|Tail], LastCC, Result, CheckFun) -> case CCC(Head) of CC when (LastCC > CC) and (CC =/= 0) -> no; CC -> case CheckFun(Head) of n -> no; - m -> is_nf(CCC, Tail, CC, maybe, CheckFun); + m -> is_nf(CCC, Tail, CC, 'maybe', CheckFun); y -> is_nf(CCC, Tail, CC, Result, CheckFun) end end; @@ -593,7 +593,7 @@ is_nf(_CCC, [], _, Result, _) -> Result. %% Detecting Normalization Forms %% http://unicode.org/reports/tr15/#Detecting_Normalization_Forms --spec is_nfc(list()) -> yes | no | maybe. +-spec is_nfc(list()) -> yes | no | 'maybe'. is_nfc(Str) when is_list(Str) -> CCC = ccc('skip_check'), @@ -601,7 +601,7 @@ is_nfc(Str) when is_list(Str) -> is_nf(CCC, Str, 0, yes, QC). --spec is_nfd(list()) -> yes | no | maybe. +-spec is_nfd(list()) -> yes | no | 'maybe'. is_nfd(Str) when is_list(Str) -> CCC = ccc('skip_check'), @@ -609,7 +609,7 @@ is_nfd(Str) when is_list(Str) -> is_nf(CCC, Str, 0, yes, QC). --spec is_nfkc(list()) -> yes | no | maybe. +-spec is_nfkc(list()) -> yes | no | 'maybe'. is_nfkc(Str) when is_list(Str) -> CCC = ccc('skip_check'), @@ -617,7 +617,7 @@ is_nfkc(Str) when is_list(Str) -> is_nf(CCC, Str, 0, yes, QC). --spec is_nfkd(list()) -> yes | no | maybe. +-spec is_nfkd(list()) -> yes | no | 'maybe'. is_nfkd(Str) when is_list(Str) -> CCC = ccc('skip_check'),
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