X-Git-Url: https://git.distorted.org.uk/~mdw/mLib/blobdiff_plain/0875b58fcccadd756e11487185c2ac1d3ed8ab4d..de907046331172f43ae3964a6c5e5572400d3ad8:/exc.c diff --git a/exc.c b/exc.c index 1c6468d..7ef3812 100644 --- a/exc.c +++ b/exc.c @@ -1,36 +1,47 @@ /* -*-c-*- * - * $Id: exc.c,v 1.1 1998/06/17 23:44:42 mdw Exp $ + * $Id: exc.c,v 1.4 1999/05/17 20:35:30 mdw Exp $ * * Structured exception handling in C * * (c) 1998 Straylight/Edgeware */ -/*----- Licensing notice --------------------------------------------------* +/*----- Licensing notice --------------------------------------------------* * * This file is part of the mLib utilities library. * * mLib is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * + * it under the terms of the GNU Library General Public License as + * published by the Free Software Foundation; either version 2 of the + * License, or (at your option) any later version. + * * mLib is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with mLib; if not, write to the Free Software Foundation, - * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * GNU Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with mLib; if not, write to the Free + * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, + * MA 02111-1307, USA. */ /*----- Revision history --------------------------------------------------* * * $Log: exc.c,v $ - * Revision 1.1 1998/06/17 23:44:42 mdw - * Initial revision + * 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. + * + * Revision 1.2 1999/05/05 18:50:31 mdw + * Change licensing conditions to LGPL. + * + * Revision 1.1.1.1 1998/06/17 23:44:42 mdw + * Initial version of mLib * */ @@ -58,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(); }