FreeBSD Bugzilla – Attachment 192583 Details for
Bug 227461
[hast] regression, unable to start hast, pid XXX (hastd), uid 0: exited on signal 6 (core dumped)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
HAST nodebug patch
hast.diff (text/plain), 1.59 KB, created by
emz
on 2018-04-17 07:16:42 UTC
(
hide
)
Description:
HAST nodebug patch
Filename:
MIME Type:
Creator:
emz
Created:
2018-04-17 07:16:42 UTC
Size:
1.59 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 332505) >+++ Makefile (working copy) >@@ -23,8 +23,9 @@ MAN= hastd.8 hast.conf.5 > NO_WFORMAT= > NO_WCAST_ALIGN= > NO_WMISSING_VARIABLE_DECLARATIONS= >+WARNS=1 > CFLAGS+=-I${.CURDIR} >-CFLAGS+=-DHAVE_CAPSICUM >+CFLAGS+=-DHAVE_CAPSICUM -DNDEBUG > CFLAGS+=-DPROTO_TCP_DEFAULT_PORT=8457 > CFLAGS+=-DINET > .if ${MK_INET6_SUPPORT} != "no" >Index: pjdlog.c >=================================================================== >--- pjdlog.c (revision 332505) >+++ pjdlog.c (working copy) >@@ -612,5 +612,5 @@ pjdlog_abort(const char *func, const char *file, i > failedexpr, func, file, line); > } > } >- abort(); >+ //abort(); > } >Index: pjdlog.h >=================================================================== >--- pjdlog.h (revision 332505) >+++ pjdlog.h (working copy) >@@ -92,7 +92,7 @@ void pjdlog_exitx(int exitcode, const char *fmt, . > void pjdlogv_exitx(int exitcode, const char *fmt, va_list ap) __printflike(2, 0) __dead2; > > void pjdlog_abort(const char *func, const char *file, int line, >- const char *failedexpr, const char *fmt, ...) __printflike(5, 6) __dead2; >+ const char *failedexpr, const char *fmt, ...) __printflike(5, 6); > > #define PJDLOG_VERIFY(expr) do { \ > if (!(expr)) { \ >Index: proto_socketpair.c >=================================================================== >--- proto_socketpair.c (revision 332505) >+++ proto_socketpair.c (working copy) >@@ -183,6 +183,7 @@ sp_descriptor(const void *ctx) > } > > PJDLOG_ABORT("Invalid socket side (%d).", spctx->sp_side); >+ return (-1); > } > > static void
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 227461
: 192583 |
220060