Re: [dev] sbase/tee: -i option ignores SIGINT

From: Dimitris Papastamos <sin_AT_2f30.org>
Date: Thu, 22 Jan 2015 21:37:24 +0000

On Thu, Jan 22, 2015 at 04:14:22PM -0500, Greg Reagle wrote:
> Patch attached

Applied with some minor stylistic changes:

       if (iflag && signal(SIGINT, SIG_IGN) == SIG_ERR)
               eprintf("signal:");

as opposed to

       if (iflag && (signal(SIGINT, SIG_IGN)==SIG_ERR))
               eprintf("signal:");

Check out the style[0] guide too.

[0] http://suckless.org/style

Thanks!
Received on Thu Jan 22 2015 - 22:37:24 CET

This archive was generated by hypermail 2.3.0 : Thu Jan 22 2015 - 22:48:08 CET