[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: [PATCH] top: Use _exit() instead of exit() in sighandler
From:       Denys Vlasenko <vda.linux () googlemail ! com>
Date:       2010-10-27 0:26:06
Message-ID: 201010270226.06997.vda.linux () googlemail ! com
[Download RAW message or body]

On Tuesday 26 October 2010 23:59, Marek Polacek wrote:
> Use _exit() instead of exit() in sighandler.  No logic changes.
> 
> Signed-off-by: Marek Polacek <mmpolacek@gmail.com>
> ---
>  procps/top.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/procps/top.c b/procps/top.c
> index 4f37878..b5a4c2c 100644
> --- a/procps/top.c
> +++ b/procps/top.c
> @@ -649,7 +649,7 @@ 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 */
> 

The patch is whitespace-damaged (tabs expanded to spaces).
-- 
vda
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic