redis/getMcontextEip-return-value.patch
Martin Pluskal f02ecb8edf Accepting request 802246 from home:Andreas_Schwab:Factory
- redis-disable_integration_logging.patch: remove
- redis-enable-bactrace-on-x86-ia64-and_arm32_only.patch: remove
- getMcontextEip-return-value.patch: Add missing return value

OBS-URL: https://build.opensuse.org/request/show/802246
OBS-URL: https://build.opensuse.org/package/show/server:database/redis?expand=0&rev=145
2020-05-11 05:21:40 +00:00

14 lines
445 B
Diff

Index: redis-6.0.1/src/debug.c
===================================================================
--- redis-6.0.1.orig/src/debug.c
+++ redis-6.0.1/src/debug.c
@@ -919,6 +919,8 @@ static void *getMcontextEip(ucontext_t *
return (void*) uc->uc_mcontext.arm_pc;
#elif defined(__aarch64__) /* Linux AArch64 */
return (void*) uc->uc_mcontext.pc;
+ #else
+ return NULL;
#endif
#elif defined(__FreeBSD__)
/* FreeBSD */