From: mdw Date: Mon, 17 May 1999 20:35:30 +0000 (+0000) Subject: Output uncaught exception types in hex, because they're easier to X-Git-Tag: 2.0.4~319 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/mLib/commitdiff_plain/de907046331172f43ae3964a6c5e5572400d3ad8?ds=inline Output uncaught exception types in hex, because they're easier to translate that way. --- diff --git a/exc.c b/exc.c index 7bdc15f..7ef3812 100644 --- a/exc.c +++ b/exc.c @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: exc.c,v 1.3 1999/05/06 19:51:35 mdw Exp $ + * $Id: exc.c,v 1.4 1999/05/17 20:35:30 mdw Exp $ * * Structured exception handling in C * @@ -30,6 +30,10 @@ /*----- Revision history --------------------------------------------------* * * $Log: exc.c,v $ + * Revision 1.4 1999/05/17 20:35:30 mdw + * Output uncaught exception types in hex, because they're easier to + * translate that way. + * * Revision 1.3 1999/05/06 19:51:35 mdw * Reformatted the LGPL notice a little bit. * @@ -65,7 +69,7 @@ __exc_hnd *__exc_list = 0; static void exc__duff(exc_extype type, exc_exval val) { - fprintf(stderr, "fatal error: uncaught exception (type = %lu)\n", type); + fprintf(stderr, "fatal error: uncaught exception (type = %lx)\n", type); abort(); }