Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang
lhttpc
lhttpc-1.6.1-stacktrace.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File lhttpc-1.6.1-stacktrace.patch of Package lhttpc
diff -Ndurp lhttpc-1.6.1/rebar.config lhttpc-1.6.1-stacktrace/rebar.config --- lhttpc-1.6.1/rebar.config 2018-10-19 01:07:43.000000000 +0300 +++ lhttpc-1.6.1-stacktrace/rebar.config 2018-10-30 17:25:26.907081753 +0200 @@ -1,4 +1,5 @@ {erl_opts, [debug_info]}. +{edoc_opts, [{preprocess, true}]}. {cover_enabled, true}. {eunit_opts, [verbose, {report,{eunit_surefire,[{dir,"."}]}}]}. {cover_enabled, true}. diff -Ndurp lhttpc-1.6.1/src/lhttpc_client.erl lhttpc-1.6.1-stacktrace/src/lhttpc_client.erl --- lhttpc-1.6.1/src/lhttpc_client.erl 2018-10-19 01:07:43.000000000 +0300 +++ lhttpc-1.6.1-stacktrace/src/lhttpc_client.erl 2018-10-30 17:24:40.787540265 +0200 @@ -43,10 +43,15 @@ string:to_lower(lhttpc_lib:header_value("connection", HDRS, DEFAULT))). -ifdef(OTP_RELEASE). %% this implies 21 or higher +-if (?OTP_RELEASE >= 21). -define(EXCEPTION(Class, Reason, Stacktrace), Class:Reason:Stacktrace). -define(GET_STACK(Stacktrace), Stacktrace). --else. +-endif. +-endif. +-ifndef(EXCEPTION). -define(EXCEPTION(Class, Reason, _), Class:Reason). +-endif. +-ifndef(GET_STACK). -define(GET_STACK(_), erlang:get_stacktrace()). -endif.
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