Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:18
proper
proper-1.4-stacktrace.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File proper-1.4-stacktrace.patch of Package proper
diff -Ndurp proper-1.4/include/proper_internal.hrl proper-1.4-stacktrace/include/proper_internal.hrl --- proper-1.4/include/proper_internal.hrl 2021-05-18 22:18:09.000000000 +0300 +++ proper-1.4-stacktrace/include/proper_internal.hrl 2022-08-21 01:20:53.225685767 +0300 @@ -46,14 +46,16 @@ %% Stacktrace access %%------------------------------------------------------------------------------ --ifndef(OTP_RELEASE). %% introduced in 21 -%% cases for Erlang/OTP releases prior to 21 +-ifdef(OTP_RELEASE). +-if (?OTP_RELEASE >= 21). +-define(STACKTRACE(ErrorType, Error, ErrorStackTrace), + ErrorType:Error:ErrorStackTrace ->). +-endif. +-endif. +-ifndef(STACKTRACE). -define(STACKTRACE(ErrorType, Error, ErrorStackTrace), ErrorType:Error -> ErrorStackTrace = erlang:get_stacktrace(),). --else. %% -if (?OTP_RELEASE >= 21). --define(STACKTRACE(ErrorType, Error, ErrorStackTrace), - ErrorType:Error:ErrorStackTrace ->). -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