Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:18
poolboy
poolboy-1.5.2-stacktrace.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File poolboy-1.5.2-stacktrace.patch of Package poolboy
diff -Ndurp poolboy-1.5.2/src/poolboy.erl poolboy-1.5.2-stacktrace/src/poolboy.erl --- poolboy-1.5.2/src/poolboy.erl 2018-08-04 04:41:11.000000000 +0300 +++ poolboy-1.5.2-stacktrace/src/poolboy.erl 2019-03-25 09:21:51.836101035 +0200 @@ -19,10 +19,15 @@ -endif. -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