projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55a046b
)
top: Use _exit() instead of exit() in sighandler
author
Marek Polacek
<mmpolacek@gmail.com>
Wed, 27 Oct 2010 00:25:16 +0000
(
02:25
+0200)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Wed, 27 Oct 2010 00:25:16 +0000
(
02:25
+0200)
Signed-off-by: Marek Polacek <mmpolacek@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
procps/top.c
patch
|
blob
|
history
diff --git
a/procps/top.c
b/procps/top.c
index 4f37878de356c7d6bac866d4d09dea55197a9390..f9106fac7af6c067222a701c29916773752bbffd 100644
(file)
--- a/
procps/top.c
+++ b/
procps/top.c
@@
-649,8
+649,9
@@
static void reset_term(void)
static void sig_catcher(int sig UNUSED_PARAM)
{
reset_term();
- exit(EXIT_FAILURE);
+
_
exit(EXIT_FAILURE);
}
+
#endif /* FEATURE_USE_TERMIOS */
/*