Commit 086accc8 authored by simonmar's avatar simonmar
Browse files

[project @ 2005-02-16 11:33:44 by simonmar]

wibble to previous... (*fatalInternalErrorFn)() is not expected to return.
parent ad455445
......@@ -49,16 +49,7 @@ vbarf(char *s, va_list ap)
void
_assertFail(char *filename, unsigned int linenum)
{
internalErrorBelch("ASSERTION FAILED: file %s, line %u\n", filename, linenum);
abort();
}
internalErrorBelch(char *s, ...)
{
va_list ap;
va_start(ap,s);
(*fatalInternalErrorFn)(s,ap);
va_end(ap);
barf("ASSERTION FAILED: file %s, line %u\n", filename, linenum);
}
void
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment