must use abort() not return in ERR macro, or solaris compiler craps out

This commit is contained in:
Ed Hartnett 2010-12-20 13:49:23 +00:00
parent 209742ebec
commit 7abc6347bf

View File

@ -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