|
From: | Paul Eggert |
Subject: | [bug-diffutils] bug#20062: bug#20062: bug#20062: [PATCH] diff: add support for --color |
Date: | Thu, 12 Mar 2015 18:24:46 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 |
One other thing. This: + sigaction (signal, NULL, &act); + act.sa_handler = SIG_DFL; + sigaction (signal, &act, NULL);can be done more simply as 'signal (sig, SIG_DFL)' (assuming you change the local variable's name from 'signal' to 'sig').
[Prev in Thread] | Current Thread | [Next in Thread] |