SCCS-vsn: usr.bin/pascal/libpc/ERROR.c 1.10
SCCS-vsn: usr.bin/pascal/libpc/PERROR.c 1.2
/* Copyright (c) 1979 Regents of the University of California */
/* Copyright (c) 1979 Regents of the University of California */
-static char sccsid[] = "@(#)ERROR.c 1.9 %G%";
+static char sccsid[] = "@(#)ERROR.c 1.10 %G%";
/*
* Routine ERROR is called from the runtime library when a runtime
/*
* Routine ERROR is called from the runtime library when a runtime
PFLUSH();
fputc('\n',stderr);
fprintf(stderr, msg, d1, d2);
PFLUSH();
fputc('\n',stderr);
fprintf(stderr, msg, d1, d2);
+ kill(getpid(), SIGTRAP);
/* Copyright (c) 1979 Regents of the University of California */
/* Copyright (c) 1979 Regents of the University of California */
-static char sccsid[] = "@(#)PERROR.c 1.1 %G%";
+static char sccsid[] = "@(#)PERROR.c 1.2 %G%";
#include <stdio.h>
#include <signal.h>
#include <stdio.h>
#include <signal.h>
/*
* Routine PERROR is called from the runtime library when a runtime
/*
* Routine PERROR is called from the runtime library when a runtime
{
PFLUSH();
fputc('\n',stderr);
{
PFLUSH();
fputc('\n',stderr);
fputs(msg, stderr);
perror(fname);
fputs(msg, stderr);
perror(fname);
+ kill(getpid(), SIGTRAP);