adapted to the system(3L) interface

This commit is contained in:
erikb
1986-03-25 10:39:23 +00:00
parent 0e39681621
commit 1afbf0e20f
12 changed files with 137 additions and 140 deletions

View File

@@ -1,11 +1,11 @@
/* $Header$ */
/* E R R O R A N D D I A G N O S T I C R O U T I N E S */
#include <system.h>
#include "nopp.h"
#include "use_tmp.h"
#include "errout.h"
#include "debug.h"
#include "system.h"
#include "string.h"
#include "tokenname.h"
@@ -96,9 +96,9 @@ crash(fmt, args)
_error(CRASH, NILEXPR, fmt, &args);
C_close();
#ifdef DEBUG
sys_stop(S_ABORT, 0);
sys_stop(S_ABORT);
#else DEBUG
sys_stop(S_EXIT, 1);
sys_stop(S_EXIT);
#endif DEBUG
}
@@ -115,7 +115,7 @@ fatal(fmt, args)
#endif USE_TMP
_error(FATAL, NILEXPR, fmt, &args);
sys_stop(S_EXIT, 1);
sys_stop(S_EXIT);
}
_error(class, expr, fmt, argv)