View | Details | Raw Unified | Return to bug 227461 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-1 / +2 lines)
Lines 23-30 MAN= hastd.8 hast.conf.5 Link Here
23
NO_WFORMAT=
23
NO_WFORMAT=
24
NO_WCAST_ALIGN=
24
NO_WCAST_ALIGN=
25
NO_WMISSING_VARIABLE_DECLARATIONS=
25
NO_WMISSING_VARIABLE_DECLARATIONS=
26
WARNS=1
26
CFLAGS+=-I${.CURDIR}
27
CFLAGS+=-I${.CURDIR}
27
CFLAGS+=-DHAVE_CAPSICUM
28
CFLAGS+=-DHAVE_CAPSICUM -DNDEBUG
28
CFLAGS+=-DPROTO_TCP_DEFAULT_PORT=8457
29
CFLAGS+=-DPROTO_TCP_DEFAULT_PORT=8457
29
CFLAGS+=-DINET
30
CFLAGS+=-DINET
30
.if ${MK_INET6_SUPPORT} != "no"
31
.if ${MK_INET6_SUPPORT} != "no"
(-)pjdlog.c (-1 / +1 lines)
Lines 612-616 pjdlog_abort(const char *func, const char *file, i Link Here
612
			    failedexpr, func, file, line);
612
			    failedexpr, func, file, line);
613
		}
613
		}
614
	}
614
	}
615
	abort();
615
	//abort();
616
}
616
}
(-)pjdlog.h (-1 / +1 lines)
Lines 92-98 void pjdlog_exitx(int exitcode, const char *fmt, . Link Here
92
void pjdlogv_exitx(int exitcode, const char *fmt, va_list ap) __printflike(2, 0) __dead2;
92
void pjdlogv_exitx(int exitcode, const char *fmt, va_list ap) __printflike(2, 0) __dead2;
93
93
94
void pjdlog_abort(const char *func, const char *file, int line,
94
void pjdlog_abort(const char *func, const char *file, int line,
95
    const char *failedexpr, const char *fmt, ...) __printflike(5, 6) __dead2;
95
    const char *failedexpr, const char *fmt, ...) __printflike(5, 6);
96
96
97
#define	PJDLOG_VERIFY(expr)	do {					\
97
#define	PJDLOG_VERIFY(expr)	do {					\
98
	if (!(expr)) {							\
98
	if (!(expr)) {							\
(-)proto_socketpair.c (+1 lines)
Lines 183-188 sp_descriptor(const void *ctx) Link Here
183
	}
183
	}
184
184
185
	PJDLOG_ABORT("Invalid socket side (%d).", spctx->sp_side);
185
	PJDLOG_ABORT("Invalid socket side (%d).", spctx->sp_side);
186
	return (-1);
186
}
187
}
187
188
188
static void
189
static void

Return to bug 227461