Projects
Kolab:16
erlang-rebar
0006-Remove-any-traces-of-long-time-obsolete-es...
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0006-Remove-any-traces-of-long-time-obsolete-escript-fold.patch of Package erlang-rebar (Revision 11)
Currently displaying revision
11
,
Show latest
From e231bd4c6a38c23059b43121564379675504fc4e Mon Sep 17 00:00:00 2001 From: "Jeroen van Meeuwen (Kolab Systems)" <vanmeeuwen@kolabsys.com> Date: Mon, 18 May 2015 11:49:37 +0200 Subject: [PATCH 6/7] Remove any traces of long-time obsolete escript:foldl/3 --- src/rebar_utils.erl | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/rebar_utils.erl b/src/rebar_utils.erl index 64595a2..08f5b5f 100644 --- a/src/rebar_utils.erl +++ b/src/rebar_utils.erl @@ -222,12 +222,7 @@ abort(String, Args) -> %% undocumented exported fun and has been removed in R14. escript_foldl(Fun, Acc, File) -> {module, zip} = code:ensure_loaded(zip), - case erlang:function_exported(zip, foldl, 3) of - true -> - emulate_escript_foldl(Fun, Acc, File); - false -> - escript:foldl(Fun, Acc, File) - end. + emulate_escript_foldl(Fun, Acc, File). find_executable(Name) -> case os:find_executable(Name) of -- 2.5.0
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.