1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00
freebsd-ports/security/sssd/files/patch-src__util__server.c
Thomas Zander 148114425f - Update to upstream version 1.11.7
- Add non-default SMB (samba) option

PR:		194155
Submitted by:	syepes@gmail.com
Reviewed by:	lukas.slebodnik@intrak.sk (maintainer), riggs
Approved by:	lukas.slebodnik@intrak.sk (maintainer)
2015-01-31 13:53:54 +00:00

25 lines
748 B
C

diff --git src/util/server.c src/util/server.c
index 343668c..f8a1627 100644
--- src/util/server.c
+++ src/util/server.c
@@ -322,12 +322,14 @@ static void setup_signals(void)
BlockSignals(false, SIGTERM);
CatchSignal(SIGHUP, sig_hup);
-
#ifndef HAVE_PRCTL
- /* If prctl is not defined on the system, try to handle
- * some common termination signals gracefully */
- CatchSignal(SIGSEGV, sig_segv_abrt);
- CatchSignal(SIGABRT, sig_segv_abrt);
+ /* If prctl is not defined on the system, try to handle
+ * some common termination signals gracefully */
+ (void) sig_segv_abrt; /* unused */
+ /*
+ CatchSignal(SIGSEGV, sig_segv_abrt);
+ CatchSignal(SIGABRT, sig_segv_abrt);
+ */
#endif
}