-/* $Header: util.c,v 3.0.1.1 90/10/16 11:34:06 lwall Locked $
+/* $RCSfile: util.c,v $$Revision: 4.1 $$Date: 92/08/07 18:29:29 $
*
- * Copyright (c) 1989, Larry Wall
+ * Copyright (c) 1991, Larry Wall
*
- * You may distribute under the terms of the GNU General Public License
- * as specified in the README file that comes with the perl 3.0 kit.
+ * You may distribute under the terms of either the GNU General Public
+ * License or the Artistic License, as specified in the README file.
*
* $Log: util.c,v $
- * Revision 3.0.1.1 90/10/16 11:34:06 lwall
- * patch29: removed #ifdef undef
- *
- * Revision 3.0 89/10/18 15:35:35 lwall
- * 3.0 baseline
- *
*/
#include <stdio.h>
/* paranoid version of malloc */
-static int an = 0;
char *
safemalloc(size)
}
/*VARARGS1*/
+croak(pat,a1,a2,a3,a4)
+char *pat;
+{
+ fprintf(stderr,pat,a1,a2,a3,a4);
+ exit(1);
+}
+
+/*VARARGS1*/
fatal(pat,a1,a2,a3,a4)
char *pat;
{