From 50644ff4de8126eb132fa94ae4645fb19871f5b6 Mon Sep 17 00:00:00 2001 From: Marek Polacek Date: Fri, 29 Oct 2010 00:55:07 +0200 Subject: use _exit() instead of exit() in sighandlers Signed-off-by: Marek Polacek --- text-utils/rev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'text-utils/rev.c') diff --git a/text-utils/rev.c b/text-utils/rev.c index 907b032b1..7a42d7e49 100644 --- a/text-utils/rev.c +++ b/text-utils/rev.c @@ -66,7 +66,7 @@ wchar_t *buf; static void sig_handler(int signo) { free(buf); - exit(EXIT_SUCCESS); + _exit(EXIT_SUCCESS); } static void __attribute__((__noreturn__)) usage(FILE *out) -- cgit v1.2.3-55-g7522