[sheepdog] [PATCH 1/2] collie: clean signal handler register
MORITA Kazutaka
morita.kazutaka at gmail.com
Sun Feb 24 10:36:35 CET 2013
At Sun, 24 Feb 2013 18:20:08 +0900,
Hitoshi Mitake wrote:
>
> This patch does 2 trivial cleanings:
> 1. main() of collie doesn't need sa_old when it calls sigaction() for
> registering handler of SIGABRT
> 2. print string representation of errno in crash_handler(). It should
> print the value because abort() can be called with any reasons
> other than out of memory.
>
> Cc: Harry Wei <harryxiyou at gmail.com>
> Signed-off-by: Hitoshi Mitake <mitake.hitoshi at lab.ntt.co.jp>
> ---
> collie/collie.c | 5 ++---
> 1 files changed, 2 insertions(+), 3 deletions(-)
Can you wait this one? I have the similar patch in my local queue
which cleans up signal handlers too and, in addition, shows a
backtrace when the program exits unexpectedly.
Thanks,
Kazutaka
More information about the sheepdog
mailing list