Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:18
ucol
erlang-ucol-2.0.0-fix-export.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File erlang-ucol-2.0.0-fix-export.patch of Package ucol
diff -Ndurp erlang-ucol-2.0.0/src/ucol.erl erlang-ucol-2.0.0-fix-export/src/ucol.erl --- erlang-ucol-2.0.0/src/ucol.erl 2016-03-06 11:43:56.000000000 +0200 +++ erlang-ucol-2.0.0-fix-export/src/ucol.erl 2016-08-12 16:55:04.715936637 +0300 @@ -7,6 +7,7 @@ -export([init/0]). -export([compare/2, compare/3]). +-export([ucol/3]). -on_load(init/0). @@ -39,14 +40,7 @@ compare(A, B, Options) when is_binary(A) true -> 1; % Case insensitive false -> 0 % Case sensitive end, - do_compate(A, B, HasNoCase). - -%% @private - -do_compate(BinaryA, BinaryB, 0) -> - ucol(BinaryA, BinaryB, 0); -do_compate(BinaryA, BinaryB, 1) -> - ucol(BinaryA, BinaryB, 1). + ?MODULE:ucol(A, B, HasNoCase). ucol(_BinaryA, _BinaryB, _HasCase) -> exit(ucol_not_loaded).
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