From 7abc6347bfe8733079639ea77bd3d10578359359 Mon Sep 17 00:00:00 2001 From: Ed Hartnett Date: Mon, 20 Dec 2010 13:49:23 +0000 Subject: [PATCH] must use abort() not return in ERR macro, or solaris compiler craps out --- include/nc_tests.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/nc_tests.h b/include/nc_tests.h index 931900cc0..731123616 100644 --- a/include/nc_tests.h +++ b/include/nc_tests.h @@ -36,7 +36,7 @@ fflush(stdout); /* Make sure our stdout is synced with stderr. */ \ err++; \ fprintf(stderr, "Sorry! Unexpected result, %s, line: %d\n", \ __FILE__, __LINE__); \ -return 2; \ +abort(); \ } while (0) /* This macro prints an error message with line number and name of