Chez Scheme: make default exit handler normal
If a script uses `(exit 1)`, for example, the script should exit with status 1.
This commit is contained in:
parent
b9ef307b30
commit
688094e622
|
@ -1339,8 +1339,8 @@ static ptr s_set_collect_trip_bytes(n) ptr n; {
|
|||
return Svoid;
|
||||
}
|
||||
|
||||
static void c_exit(UNUSED I32 status) {
|
||||
S_abnormal_exit();
|
||||
static void c_exit(I32 status) {
|
||||
exit(status);
|
||||
}
|
||||
|
||||
#if defined(__STDC__) || defined(USE_ANSI_PROTOTYPES)
|
||||
|
|
Loading…
Reference in New Issue
Block a user