From 49a3a2bc136d6ea9f3032d3396c72e980190b68a Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Tue, 7 Apr 2015 16:16:04 -0700 Subject: Random nits prepping for upstreaming. --- sysdeps/nacl/_exit.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sysdeps/nacl/_exit.c') diff --git a/sysdeps/nacl/_exit.c b/sysdeps/nacl/_exit.c index 0ec902f9ea..6006e26e55 100644 --- a/sysdeps/nacl/_exit.c +++ b/sysdeps/nacl/_exit.c @@ -24,6 +24,9 @@ void _exit (int status) { __nacl_irt_basic.exit (status); + + /* That never returns unless something is severely and unrecoverably wrong. + If it ever does, try to make sure we crash. */ while (1) __builtin_trap (); } -- cgit v1.2.3-70-g09d2