honggfuzz: better exit loop
@@ -54,9 +54,11 @@ honggfuzz_t hfuzz;
static void exitWithMsg(const char* msg, int exit_code) {
HF_ATTR_UNUSED ssize_t sz = write(STDERR_FILENO, msg, strlen(msg));
+ for (;;) {
exit(exit_code);
abort();
}
+}
static bool showDisplay = true;
void sigHandler(int sig) {
