[hackers] [scc] [libc] fix exit || Quentin Rameau
commit c0fcd879a7b62e533c2585a55768862ad845e960
Author: Quentin Rameau <quinq_AT_fifth.space>
AuthorDate: Sat Mar 4 12:57:45 2017 +0100
Commit: Quentin Rameau <quinq_AT_fifth.space>
CommitDate: Sat Mar 4 12:58:37 2017 +0100
[libc] fix exit
diff --git a/libc/src/exit.c b/libc/src/exit.c
index 75aa7c0..09248ae 100644
--- a/libc/src/exit.c
+++ b/libc/src/exit.c
_AT_@ -12,5 +12,5 @@ exit(int status)
for (bp = _atexitf; bp < &_atexitf[_ATEXIT_MAX] && *bp; ++bp)
(*bp)();
- _Exit();
+ _Exit(status);
}
Received on Sat Mar 04 2017 - 12:58:59 CET
This archive was generated by hypermail 2.3.0
: Sat Mar 04 2017 - 13:00:22 CET